{"answers":{"affected":"It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2023-36844 in the wild since at least 13 Nov 2023.","fix":"No fix has been published for CVE-2023-36844 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 17 Nov 2023.","what":"CVE-2023-36844 is a medium-severity vulnerability in Juniper Junos, published on 17 Aug 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-36844 and fix it if it is affected.\n\nWhat it is: CVE-2023-36844 is a medium-severity vulnerability in Juniper Junos, published on 17 Aug 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2023-36844 in the wild since at least 13 Nov 2023.\n\nAffected product: Juniper Junos. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-36844/ (Markdown: https://insights.sbomify.com/CVE-2023-36844/index.md)","id":"CVE-2023-36844","markdown":"https://insights.sbomify.com/CVE-2023-36844/index.md","name":"CVE-2023-36844","record":{"aliases":["GHSA-f2v8-3pfh-v3xm"],"analysis":{"component_type":"network_device","fix_type":"upgrade","impacts":["data_modify","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Juniper EX Series","requires_auth":"none","summary":"Unauthenticated attackers can modify PHP environment variables in Junos OS J-Web, compromising integrity and enabling further attacks.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"juniper","cpe":[{"product":"junos","vendor":"juniper"}],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-473","name":"PHP External Variable Modification"}],"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  *  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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2023-08-25","github_poc":3,"max_poc_stars":114,"metasploit":0,"nuclei":1,"refs":[{"date":"2023-08-25T07:28:06Z","kind":"github_poc","ref":"https://github.com/watchtowrlabs/juniper-rce_cve-2023-36844","stars":114,"title":null},{"date":"2023-09-24T13:30:09Z","kind":"github_poc","ref":"https://github.com/r3dcl1ff/CVE-2023-36844_Juniper_RCE","stars":5,"title":"A Proof of Concept for chaining the CVEs [CVE-2023-36844, CVE-2023-36845, CVE-2023-36846, CVE-2023-36847] to achieve Remote Code Execution (phpinfo) in Juniper JunOS within SRX and EX Series products.Modified from original exploit developed by @watchTowr ."},{"date":"2023-09-20T02:32:56Z","kind":"github_poc","ref":"https://github.com/Ap0dexMe0/CVE-2023-36844","stars":0,"title":"Perform With Massive Juniper Remote Code Execution"},{"date":null,"kind":"nuclei","ref":"http/cves/2023/CVE-2023-36844.yaml","stars":null,"title":"Juniper Devices - Remote Code Execution"}],"tier":"exploited"},"has_fix":null,"headline":"Juniper Junos OS EX Series PHP External Variable Modification","id":"CVE-2023-36844","indexable":true,"kev":{"dateAdded":"2023-11-13","dueDate":"2023-11-17","knownRansomwareCampaignUse":"Unknown","product":"Junos OS","requiredAction":"Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.","vendorProject":"Juniper","vulnerabilityName":"Juniper Junos OS EX Series PHP External Variable Modification Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":"juniper:junos","products":["juniper:junos"],"type":"other","year":"2023"},"n_packages":0,"n_references":2,"next":{"headline":"Juniper Junos OS EX Series and SRX Series PHP External Variable Modification","id":"CVE-2023-36845"},"packages":[],"prev":{"headline":"Junos OS: SRX Series: The PFE will crash on receiving malformed SSL traffic when Sky ATP is enabled","id":"CVE-2023-36843"},"products":["Junos OS"],"published":"2023-08-17","related":[{"cvss_score":9.8,"headline":"Juniper Junos OS EX Series and SRX Series PHP External Variable Modification","id":"CVE-2023-36845","kev_date_added":"2023-11-13","published":"2023-08-17"},{"cvss_score":8.8,"headline":"Juniper Junos OS Path Traversal","id":"CVE-2020-1631","kev_date_added":"2022-03-25","published":"2020-05-04"},{"cvss_score":6.7,"headline":"Juniper Junos OS Improper Isolation or Compartmentalization","id":"CVE-2025-21590","kev_date_added":"2025-03-13","published":"2025-03-12"},{"cvss_score":5.3,"headline":"Juniper Junos OS SRX Series Missing Authentication for Critical Function","id":"CVE-2023-36851","kev_date_added":"2023-11-13","published":"2023-09-26"},{"cvss_score":5.3,"headline":"Juniper Junos OS SRX Series Missing Authentication for Critical Function","id":"CVE-2023-36846","kev_date_added":"2023-11-13","published":"2023-08-17"},{"cvss_score":5.3,"headline":"Juniper Junos OS EX Series Missing Authentication for Critical Function","id":"CVE-2023-36847","kev_date_added":"2023-11-13","published":"2023-08-17"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["Juniper Networks"]},"summary":"Unauthenticated attackers can modify PHP environment variables in Junos OS J-Web, compromising integrity and enabling further attacks.","url":"https://insights.sbomify.com/CVE-2023-36844/"}