{"answers":{"affected":"It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2020-10221 in the wild since at least 3 Nov 2021.","fix":"No fix has been published for CVE-2020-10221 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 3 May 2022.","what":"CVE-2020-10221 is a high-severity command injection vulnerability in n/a, published on 8 Mar 2020. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-10221 and fix it if it is affected.\n\nWhat it is: CVE-2020-10221 is a high-severity command injection vulnerability in n/a, published on 8 Mar 2020. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2020-10221 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-2020-10221/ (Markdown: https://insights.sbomify.com/CVE-2020-10221/index.md)","id":"CVE-2020-10221","markdown":"https://insights.sbomify.com/CVE-2020-10221/index.md","name":"CVE-2020-10221","record":{"aliases":["GHSA-hxjm-95v4-6qjj"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"rConfig network config","requires_auth":"low_privilege","summary":"Remote attackers can execute arbitrary OS commands via shell metacharacters in the fileName parameter of rConfig's ajaxAddTemplate.php.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"rconfig","vendor":"rconfig"}],"cvss":{"score":8.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"lib/ajaxHandlers/ajaxAddTemplate.php in rConfig through 3.94 allows remote attackers to execute arbitrary OS commands via shell metacharacters in the fileName POST parameter.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2020-03-12","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":"2020-03-12","kind":"exploitdb","ref":"48207","stars":null,"title":"rConfig 3.93 - 'ajaxAddTemplate.php' Authenticated Remote Code Execution"},{"date":null,"kind":"nuclei","ref":"http/cves/2020/CVE-2020-10221.yaml","stars":null,"title":"rConfig \u003c= 3.9.4 - Authenticated OS Command Injection"}],"tier":"exploited"},"has_fix":null,"headline":"rConfig OS Command Injection","id":"CVE-2020-10221","indexable":true,"kev":{"dateAdded":"2021-11-03","dueDate":"2022-05-03","knownRansomwareCampaignUse":"Unknown","product":"rConfig","requiredAction":"Apply updates per vendor instructions.","vendorProject":"rConfig","vulnerabilityName":"rConfig OS Command Injection Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2020"},"n_packages":0,"n_references":4,"next":{"headline":"Memory corruption in n/a","id":"CVE-2020-10222"},"packages":[],"prev":{"headline":"SQL injection in n/a","id":"CVE-2020-10220"},"products":["n/a"],"published":"2020-03-08","related":[{"cvss_score":9.9,"headline":"Command injection in n/a","id":"CVE-2020-15715","kev_date_added":null,"published":"2020-07-28"},{"cvss_score":9.8,"headline":"Command injection in n/a","id":"CVE-2020-23151","kev_date_added":null,"published":"2021-08-09"},{"cvss_score":9.8,"headline":"Auth bypass in n/a","id":"CVE-2020-13638","kev_date_added":null,"published":"2020-11-13"},{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2020-10546","kev_date_added":null,"published":"2020-06-04"},{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2020-10547","kev_date_added":null,"published":"2020-06-04"},{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2020-10548","kev_date_added":null,"published":"2020-06-04"}],"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":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":"no","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary OS commands via shell metacharacters in the fileName parameter of rConfig's ajaxAddTemplate.php.","url":"https://insights.sbomify.com/CVE-2020-10221/"}