{
  "id": "CVE-2023-36844",
  "url": "https://poc.griffinguard.io/cve/CVE-2023-36844",
  "published_at": "2023-08-17T19:17:47.904Z",
  "title": "Junos OS: EX Series: A PHP vulnerability in J-Web allows an unauthenticated attacker to control important environment variables",
  "vendor": "Juniper Networks",
  "product": "Junos OS",
  "cvss": {
    "score": 5.3,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
  },
  "kev": {
    "in_kev": true,
    "added_at": "2023-11-13",
    "known_ransomware_campaign_use": "Unknown",
    "days_after_publication": 88
  },
  "first_poc": {
    "created_at": "2023-08-25T07:28:06Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 7.5,
    "repo": "watchtowrlabs/juniper-rce_cve-2023-36844",
    "source": "github"
  },
  "poc_repo_count": 5,
  "exploit_count": 1,
  "suspicious_repo_count": 0,
  "edge_device": {
    "category": "Router / network device",
    "confidence": "high",
    "reason": "known edge product: Juniper Networks Junos OS Junos OS: EX Series:"
  },
  "description": "A PHP External Variable Modification vulnerability in J-Web of Juniper Networks Junos OS on EX Series allows an unauthenticated, network-based attacker to control certain, important environment variables.\n\nUsing a crafted request an attacker is able to modify \n\ncertain PHP environment variables leading to partial loss of integrity, which may allow chaining to other vulnerabilities.\nThis issue affects Juniper Networks Junos OS on EX Series:\n\n\n\n  *  All versions prior to 20.4R3-S9;\n  *  21.1 versions 21.1R1 and later;\n  *  21.2 versions prior to 21.2R3-S7;\n  *  21.3 versions \n\nprior to \n\n 21.3R3-S5;\n  *  21.4 versions \n\nprior to \n\n21.4R3-S5;\n  *  22.1 versions \n\nprior to \n\n22.1R3-S4;\n  *  22.2 versions \n\nprior to \n\n22.2R3-S2;\n  *  22.3 versions \n\nprior to 22.3R3-S1;\n  *  22.4 versions \n\nprior to \n\n22.4R2-S2, 22.4R3;\n  *  23.2 versions prior to \n\n23.2R1-S1, 23.2R2.",
  "cwe": "CWE-473",
  "cvss_by_source": {
    "cna": 5.3
  },
  "repos": [
    {
      "repo": "watchtowrlabs/juniper-rce_cve-2023-36844",
      "url": "https://github.com/watchtowrlabs/juniper-rce_cve-2023-36844",
      "created_at": "2023-08-25T07:28:06Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 114,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2022-02-18T14:37:47Z"
    },
    {
      "repo": "Ap0dexMe0/CVE-2023-36844",
      "url": "https://github.com/Ap0dexMe0/CVE-2023-36844",
      "created_at": "2023-09-20T02:32:56Z",
      "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": "2017-01-09T09:36:58Z"
    },
    {
      "repo": "Pari-Malam/CVE-2023-36844",
      "url": "https://github.com/Pari-Malam/CVE-2023-36844",
      "created_at": "2023-09-20T02:32:56Z",
      "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": "2017-01-09T09:36:58Z"
    },
    {
      "repo": "ThatNotEasy/CVE-2023-36844",
      "url": "https://github.com/ThatNotEasy/CVE-2023-36844",
      "created_at": "2023-09-20T02:32:56Z",
      "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": "2017-01-09T09:36:58Z"
    },
    {
      "repo": "r3dcl1ff/CVE-2023-36844_Juniper_RCE",
      "url": "https://github.com/r3dcl1ff/CVE-2023-36844_Juniper_RCE",
      "created_at": "2023-09-24T13:30:09Z",
      "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": "2021-04-04T07:44:28Z"
    }
  ],
  "remediation": null,
  "exploit_refs": [
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-36844.yaml",
      "source": "nuclei",
      "title": "nuclei template: Juniper Devices - Remote Code Execution",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/webauth_operation.php",
      "query_markers": [
        "PHPRC=/var/tmp/"
      ],
      "protocol": "http",
      "repos": [
        "r3dcl1ff/CVE-2023-36844_Juniper_RCE",
        "watchtowrlabs/juniper-rce_cve-2023-36844"
      ],
      "repo_count": 2,
      "confidence": 0.7,
      "evidence": [
        "r3dcl1ff/CVE-2023-36844_Juniper_RCE/exploit.py:52",
        "watchtowrlabs/juniper-rce_cve-2023-36844/watchtowr-vs-junos_juniper_2023-08-25.py:79"
      ]
    },
    {
      "method": "POST",
      "path_template": "/webauth_operation.php",
      "body_markers": [
        "rs=do_upload",
        "rsargs[0]=[{\"fileData\":\"data:text/html;base64,",
        "rsargs[0]=[{\"fileData\":\"data:plain/text;base64,"
      ],
      "content_type": "application/x-www-form-urlencoded",
      "protocol": "http",
      "repos": [
        "r3dcl1ff/CVE-2023-36844_Juniper_RCE",
        "watchtowrlabs/juniper-rce_cve-2023-36844"
      ],
      "repo_count": 2,
      "confidence": 0.7,
      "evidence": [
        "r3dcl1ff/CVE-2023-36844_Juniper_RCE/exploit.py:32",
        "r3dcl1ff/CVE-2023-36844_Juniper_RCE/exploit.py:45",
        "watchtowrlabs/juniper-rce_cve-2023-36844/watchtowr-vs-junos_juniper_2023-08-25.py:54",
        "watchtowrlabs/juniper-rce_cve-2023-36844/watchtowr-vs-junos_juniper_2023-08-25.py:71"
      ]
    }
  ],
  "rules": []
}
