{
  "id": "CVE-2020-7961",
  "url": "https://poc.griffinguard.io/cve/CVE-2020-7961",
  "published_at": "2020-03-20T18:16:42Z",
  "title": "Liferay Portal Deserialization of Untrusted Data Vulnerability",
  "vendor": "Liferay",
  "product": "Liferay Portal",
  "cvss": {
    "score": 9.8,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": true,
    "added_at": "2021-11-03",
    "known_ransomware_campaign_use": "Unknown",
    "days_after_publication": 593
  },
  "first_poc": {
    "created_at": "2020-03-26T01:34:38Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 5.3,
    "repo": "mzer0one/CVE-2020-7961-POC",
    "source": "github"
  },
  "poc_repo_count": 7,
  "exploit_count": 3,
  "suspicious_repo_count": 1,
  "edge_device": null,
  "description": "Deserialization of Untrusted Data in Liferay Portal prior to 7.2.1 CE GA2 allows remote attackers to execute arbitrary code via JSON web services (JSONWS).",
  "cwe": "CWE-502",
  "cvss_by_source": {
    "cisa-adp": 9.8
  },
  "repos": [
    {
      "repo": "Udyz/CVE-2020-7961-Mass",
      "url": "https://github.com/Udyz/CVE-2020-7961-Mass",
      "created_at": null,
      "first_seen_at": "2026-11-14T23:12:49.679Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped"
    },
    {
      "repo": "shacojx/GLiferay-CVE-2020-7961-golang",
      "url": "https://github.com/shacojx/GLiferay-CVE-2020-7961-golang",
      "created_at": null,
      "first_seen_at": "2026-11-14T23:12:49.679Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped"
    },
    {
      "repo": "shacojx/LifeRCEJsonWSTool-POC-CVE-2020-7961-Gui",
      "url": "https://github.com/shacojx/LifeRCEJsonWSTool-POC-CVE-2020-7961-Gui",
      "created_at": null,
      "first_seen_at": "2026-11-14T23:12:49.679Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped"
    },
    {
      "repo": "shacojx/POC-CVE-2020-7961-Token-iterate",
      "url": "https://github.com/shacojx/POC-CVE-2020-7961-Token-iterate",
      "created_at": null,
      "first_seen_at": "2026-11-14T23:12:49.679Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped"
    },
    {
      "repo": "papa-anniekey/CustomSignatures",
      "url": "https://github.com/papa-anniekey/CustomSignatures",
      "created_at": "2018-01-18T05:34:13Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 30,
      "suspicious": false,
      "suspicion_reasons": [
        "owner account created less than 7 days before the repo"
      ],
      "status": "analyzed",
      "owner_created_at": "2018-01-18T03:49:45Z"
    },
    {
      "repo": "mzer0one/CVE-2020-7961-POC",
      "url": "https://github.com/mzer0one/CVE-2020-7961-POC",
      "created_at": "2020-03-26T01:34:38Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 117,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2018-03-26T17:13:08Z"
    },
    {
      "repo": "mathiznogoud/Liferay-Deserialize-POC",
      "url": "https://github.com/mathiznogoud/Liferay-Deserialize-POC",
      "created_at": "2020-03-27T13:44:56Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-09-11T06:56:11Z"
    },
    {
      "repo": "thelostworldFree/CVE-2020-7961-payloads",
      "url": "https://github.com/thelostworldFree/CVE-2020-7961-payloads",
      "created_at": "2020-05-23T17:01:57Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 5,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2017-01-07T06:57:55Z"
    },
    {
      "repo": "ShutdownRepo/CVE-2020-7961",
      "url": "https://github.com/ShutdownRepo/CVE-2020-7961",
      "created_at": "2021-01-14T19:18:13Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 18,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2018-07-06T22:48:58Z"
    },
    {
      "repo": "CrackerCat/CVE-2020-7961-Mass",
      "url": "https://github.com/CrackerCat/CVE-2020-7961-Mass",
      "created_at": "2021-04-09T01:50:14Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 2,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-03-22T00:36:44Z"
    },
    {
      "repo": "mathiznogoud/Liferay-RCE",
      "url": "https://github.com/mathiznogoud/Liferay-RCE",
      "created_at": "2021-04-09T04:42:56Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 5,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-09-11T06:56:11Z"
    },
    {
      "repo": "Alaa-abdulridha/POC-CVE-2020-7961-Token-iterate",
      "url": "https://github.com/Alaa-abdulridha/POC-CVE-2020-7961-Token-iterate",
      "created_at": "2021-05-26T18:27:49Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-07-26T23:21:58Z"
    },
    {
      "repo": "Alaa-abdulridha/GLiferay-CVE-2020-7961-golang",
      "url": "https://github.com/Alaa-abdulridha/GLiferay-CVE-2020-7961-golang",
      "created_at": "2021-05-27T17:39:51Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "detection",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-07-26T23:21:58Z"
    },
    {
      "repo": "pashayogi/CVE-2020-7961-Mass",
      "url": "https://github.com/pashayogi/CVE-2020-7961-Mass",
      "created_at": "2022-05-22T08:40:53Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-05-19T05:53:32Z"
    },
    {
      "repo": "manrop2702/CVE-2020-7961",
      "url": "https://github.com/manrop2702/CVE-2020-7961",
      "created_at": "2024-03-14T07:29:50Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-04-08T15:59:27Z"
    },
    {
      "repo": "neverhavenamee/CVE-2020-7961",
      "url": "https://github.com/neverhavenamee/CVE-2020-7961",
      "created_at": "2025-09-04T16:36:37Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2021-08-17T15:26:45Z"
    },
    {
      "repo": "dinosn/liferay-ga4-rce-research",
      "url": "https://github.com/dinosn/liferay-ga4-rce-research",
      "created_at": "2026-07-28T10:19:06Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 7,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 65,
      "suspicious": true,
      "suspicion_reasons": [
        "README asks to download a release/binary/archive",
        "README gives an archive password"
      ],
      "status": "analyzed",
      "owner_created_at": "2013-03-13T08:31:01Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "",
        "product": "com.liferay.portal:com.liferay.portal.kernel",
        "ranges": [
          "\u003c 4.35.3"
        ],
        "fixed_in": [
          "4.35.3"
        ],
        "ecosystem": "Maven",
        "advisory": "GHSA-w7pm-cc4v-f3g8"
      }
    ],
    "upgrade": [
      "Upgrade com.liferay.portal:com.liferay.portal.kernel to 4.35.3 or later."
    ]
  },
  "exploit_refs": [
    {
      "url": "https://www.exploit-db.com/exploits/48332",
      "source": "exploitdb",
      "title": "Liferay Portal - Java Unmarshalling via JSONWS RCE (Metasploit)",
      "published_at": "2020-04-16T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/liferay_java_unmarshalling.rb",
      "source": "metasploit",
      "title": "Metasploit exploit: Liferay Portal Java Unmarshalling via JSONWS RCE (exploit/multi/http/liferay_java_unmarshalling)",
      "published_at": "2020-04-14T19:01:17Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2020/CVE-2020-7961.yaml",
      "source": "nuclei",
      "title": "nuclei template: Liferay Portal Unauthenticated \u003c 7.2.1 CE GA2 - Remote Code Execution",
      "published_at": "2023-04-27T04:28:59Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "POST",
      "path_template": "/api/jsonws/invoke",
      "headers": [
        {
          "name": "Accept",
          "value": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"
        },
        {
          "name": "Accept",
          "value": "application/json, text/javascript, */*"
        },
        {
          "name": "Accept-Language",
          "value": "en-Us,en;q=0.5"
        },
        {
          "name": "Accept-Language",
          "value": "zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2"
        },
        {
          "name": "Cache-Control",
          "value": "no-cache"
        },
        {
          "name": "Cmd2",
          "value": "lollulzkid"
        },
        {
          "name": "Cmd2",
          "value": "{var}"
        },
        {
          "name": "Cmd2",
          "value": "whoami"
        },
        {
          "name": "Cmd2",
          "value": "pwd \u0026 echo \"Hacked... Fuck fuck\""
        },
        {
          "name": "Dnt",
          "value": "1"
        },
        {
          "name": "Pragma",
          "value": "no-cache"
        },
        {
          "name": "Upgrade-Insecure-Requests",
          "value": "1"
        },
        {
          "name": "X-Requested-With",
          "value": "XMLHttpRequest"
        }
      ],
      "body_markers": [
        "formDate=1585475176055",
        "p_auth=",
        "addressId=12",
        "addressId=1",
        "cmd={\"/expandocolumn/update-column\":",
        "columnId=123",
        "name=asdasd",
        "type=1",
        "defaultData:com.mchange.v2.c3p0.WrapperConnectionPoolDataSource=",
        "p_auth=AdsXeCqz",
        "tableId%3d1=",
        "formDate=1526638413000",
        "name=A",
        "p_auth=jI2WsgGr",
        "formDate=1584716289678",
        "defaultData:{var}=",
        "cmd={\"/expandocolumn/add-column\":",
        "tableId=1",
        "name=2",
        "type=3",
        "p_auth=2piAnQdm",
        "formDate=1756967152372"
      ],
      "content_type": "application/x-www-form-urlencoded",
      "ports": [
        8080,
        8082
      ],
      "user_agents": [
        "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:74.0) Gecko/20100101 Firefox/74.0",
        "Mozilla/5.0 (Window NT 10.0; Win64; x64"
      ],
      "protocol": "https",
      "repos": [
        "Alaa-abdulridha/POC-CVE-2020-7961-Token-iterate",
        "CrackerCat/CVE-2020-7961-Mass",
        "neverhavenamee/CVE-2020-7961"
      ],
      "repo_count": 3,
      "confidence": 0.85,
      "evidence": [
        "Alaa-abdulridha/POC-CVE-2020-7961-Token-iterate/poc.py:39",
        "CrackerCat/CVE-2020-7961-Mass/rce.py:23",
        "CrackerCat/CVE-2020-7961-Mass/rce.py:32",
        "CrackerCat/CVE-2020-7961-Mass/rce.py:43",
        "CrackerCat/CVE-2020-7961-Mass/shell.py:23",
        "CrackerCat/CVE-2020-7961-Mass/shell.py:27",
        "neverhavenamee/CVE-2020-7961/CVE-2020-7691.md:27",
        "neverhavenamee/CVE-2020-7961/CVE-2020-7691.md:196",
        "neverhavenamee/CVE-2020-7961/CVE-2020-7691.md:350"
      ]
    },
    {
      "method": "GET",
      "path_template": "/api/jsonws/invoke",
      "headers": [
        {
          "name": "Accept",
          "value": "*/*"
        }
      ],
      "user_agents": [
        "curl/7.64.1"
      ],
      "protocol": "https",
      "repos": [
        "CrackerCat/CVE-2020-7961-Mass"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "CrackerCat/CVE-2020-7961-Mass/rce.py:19",
        "CrackerCat/CVE-2020-7961-Mass/shell.py:18"
      ]
    }
  ],
  "rules": []
}
