{"answers":{"affected":"It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2018-20062 in the wild since at least 3 Nov 2021.","fix":"No fix has been published for CVE-2018-20062 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 3 May 2022.","what":"CVE-2018-20062 is a critical code injection vulnerability in n/a, published on 11 Dec 2018. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-20062 and fix it if it is affected.\n\nWhat it is: CVE-2018-20062 is a critical code injection vulnerability in n/a, published on 11 Dec 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2018-20062 in the wild since at least 3 Nov 2021.\n\nAffected product: n/a. 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-2018-20062/ (Markdown: https://insights.sbomify.com/CVE-2018-20062/index.md)","id":"CVE-2018-20062","markdown":"https://insights.sbomify.com/CVE-2018-20062/index.md","name":"CVE-2018-20062","record":{"aliases":["GHSA-gf7c-4w4p-7cm5"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"NoneCms CMS","requires_auth":"none","summary":"Remote attackers can execute arbitrary PHP code in NoneCms via the filter parameter in the ThinkPHP framework.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"nonecms","vendor":"5none"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[],"description":"An issue was discovered in NoneCms V1.3. thinkphp/library/think/App.php allows remote attackers to execute arbitrary PHP code via crafted use of the filter parameter, as demonstrated by the s=index/\\think\\Request/input\u0026filter=phpinfo\u0026data=1 query string.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2018-12-10","github_poc":5,"max_poc_stars":6,"metasploit":1,"nuclei":1,"refs":[{"date":"2019-03-17T04:31:13Z","kind":"github_poc","ref":"https://github.com/NS-Sp4ce/thinkphp5.XRce","stars":6,"title":"thinkphp5.*Rce CVE-2018-20062"},{"date":"2022-11-07T07:05:40Z","kind":"github_poc","ref":"https://github.com/yilin1203/CVE-2018-20062","stars":2,"title":null},{"date":"2025-09-16T03:13:57Z","kind":"github_poc","ref":"https://github.com/shenhui35/RedArrow","stars":2,"title":"RedArrow3.2 是一款用于渗透测试ThinkPHP 5.0.23 远程命令执行漏洞(CVE-2018-20062)的图形化工具。"},{"date":"2018-12-10","kind":"metasploit","ref":"exploit/unix/webapp/thinkphp_rce","stars":null,"title":"ThinkPHP Multiple PHP Injection RCEs"},{"date":"2020-04-16","kind":"exploitdb","ref":"48333","stars":null,"title":"ThinkPHP - Multiple PHP Injection RCEs (Metasploit)"},{"date":"2022-10-18T16:59:46Z","kind":"github_poc","ref":"https://github.com/0xRar/ThinkPHP5_RCE","stars":0,"title":"ThinkPHP 5.0.23 RCE Vulnerability PoC - CVE-2018-20062"},{"date":"2026-09-10T04:32:53Z","kind":"github_poc","ref":"https://github.com/Jasper2018/CVE-2018-20062","stars":0,"title":null},{"date":null,"kind":"nuclei","ref":"http/cves/2018/CVE-2018-20062.yaml","stars":null,"title":"ThinkPHP 5.0.23 - Remote Code Execution"}],"tier":"exploited"},"has_fix":false,"headline":"ThinkPHP \"noneCms\" Remote Code Execution","id":"CVE-2018-20062","indexable":true,"kev":{"dateAdded":"2021-11-03","dueDate":"2022-05-03","knownRansomwareCampaignUse":"Unknown","product":"noneCms","requiredAction":"Apply updates per vendor instructions.","vendorProject":"ThinkPHP","vulnerabilityName":"ThinkPHP \"noneCms\" Remote Code Execution Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2018"},"n_packages":0,"n_references":2,"next":{"headline":"File upload in n/a","id":"CVE-2018-20063"},"packages":[],"prev":{"headline":"SQL injection in n/a","id":"CVE-2018-20061"},"products":["n/a"],"published":"2018-12-11","related":[{"cvss_score":8.8,"headline":"Cross-site request forgery in n/a","id":"CVE-2018-7219","kev_date_added":null,"published":"2018-02-19"},{"cvss_score":7.5,"headline":"Information disclosure in n/a","id":"CVE-2020-18646","kev_date_added":null,"published":"2021-06-22"},{"cvss_score":7.5,"headline":"Information disclosure in n/a","id":"CVE-2020-18647","kev_date_added":null,"published":"2021-06-22"},{"cvss_score":7.5,"headline":"Server-side request forgery in n/a","id":"CVE-2018-6029","kev_date_added":null,"published":"2018-01-23"},{"cvss_score":6.5,"headline":"Cross-site request forgery in n/a","id":"CVE-2019-16721","kev_date_added":null,"published":"2019-09-23"},{"cvss_score":6.5,"headline":"Path traversal in n/a","id":"CVE-2018-6022","kev_date_added":null,"published":"2018-01-23"}],"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":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"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":["n/a"]},"summary":"Remote attackers can execute arbitrary PHP code in NoneCms via the filter parameter in the ThinkPHP framework.","url":"https://insights.sbomify.com/CVE-2018-20062/"}