{"api_version":"1","generated_at":"2026-04-22T22:51:00+00:00","cve":"CVE-2021-41282","urls":{"html":"https://cve.report/CVE-2021-41282","api":"https://cve.report/api/cve/CVE-2021-41282.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-41282","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-41282"},"summary":{"title":"CVE-2021-41282","description":"diag_routes.php in pfSense 2.5.2 allows sed data injection. Authenticated users are intended to be able to view data about the routes set in the firewall. The data is retrieved by executing the netstat utility, and then its output is parsed via the sed utility. Although the common protection mechanisms against command injection (i.e., the usage of the escapeshellarg function for the arguments) are used, it is still possible to inject sed-specific code and write an arbitrary file in an arbitrary location.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2022-03-01 23:15:00","updated_at":"2022-07-12 17:42:00"},"problem_types":["CWE-74"],"metrics":[],"references":[{"url":"https://docs.netgate.com/pfsense/en/latest/releases/22-01_2-6-0.html","name":"https://docs.netgate.com/pfsense/en/latest/releases/22-01_2-6-0.html","refsource":"MISC","tags":[],"title":"Releases — 22.01/2.6.0 New Features and Changes | pfSense Documentation","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.shielder.it/advisories/","name":"https://www.shielder.it/advisories/","refsource":"MISC","tags":[],"title":"Shielder - Advisories","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.shielder.it/advisories/pfsense-remote-command-execution/","name":"https://www.shielder.it/advisories/pfsense-remote-command-execution/","refsource":"MISC","tags":[],"title":"Shielder - Remote Code Execution in pfSense <= 2.5.2","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://packetstormsecurity.com/files/166208/pfSense-2.5.2-Shell-Upload.html","name":"http://packetstormsecurity.com/files/166208/pfSense-2.5.2-Shell-Upload.html","refsource":"MISC","tags":[],"title":"pfSense 2.5.2 Shell Upload ≈ Packet Storm","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-41282","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41282","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"41282","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"pfsense","cpe5":"pfsense","cpe6":"2.5.2","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-41282","qid":"34079","title":"pfSense Multiple Vulnerabilities (PFSENSE-SA-22_04)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2021-41282","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"diag_routes.php in pfSense 2.5.2 allows sed data injection. Authenticated users are intended to be able to view data about the routes set in the firewall. The data is retrieved by executing the netstat utility, and then its output is parsed via the sed utility. Although the common protection mechanisms against command injection (i.e., the usage of the escapeshellarg function for the arguments) are used, it is still possible to inject sed-specific code and write an arbitrary file in an arbitrary location."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://www.shielder.it/advisories/","refsource":"MISC","name":"https://www.shielder.it/advisories/"},{"refsource":"MISC","name":"https://www.shielder.it/advisories/pfsense-remote-command-execution/","url":"https://www.shielder.it/advisories/pfsense-remote-command-execution/"},{"refsource":"MISC","name":"https://docs.netgate.com/pfsense/en/latest/releases/22-01_2-6-0.html","url":"https://docs.netgate.com/pfsense/en/latest/releases/22-01_2-6-0.html"},{"refsource":"MISC","name":"http://packetstormsecurity.com/files/166208/pfSense-2.5.2-Shell-Upload.html","url":"http://packetstormsecurity.com/files/166208/pfSense-2.5.2-Shell-Upload.html"}]}},"nvd":{"publishedDate":"2022-03-01 23:15:00","lastModifiedDate":"2022-07-12 17:42:00","problem_types":["CWE-74"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:C/I:C/A:C","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE","baseScore":9},"severity":"HIGH","exploitabilityScore":8,"impactScore":10,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:pfsense:pfsense:2.5.2:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"41282","Ordinal":"216858","Title":"CVE-2021-41282","CVE":"CVE-2021-41282","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"41282","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}