{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-33393 exists.","fix":"No fix has been published for CVE-2021-33393 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-33393 is a high-severity vulnerability in n/a, published on 9 Jun 2021. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-33393 and fix it if it is affected.\n\nWhat it is: CVE-2021-33393 is a high-severity vulnerability in n/a, published on 9 Jun 2021. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-33393 exists.\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-2021-33393/ (Markdown: https://insights.sbomify.com/CVE-2021-33393/index.md)","id":"CVE-2021-33393","markdown":"https://insights.sbomify.com/CVE-2021-33393/index.md","name":"CVE-2021-33393","record":{"aliases":["GHSA-6r47-xw28-7649"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"IPFire firewall OS","requires_auth":"low_privilege","summary":"An attacker with unprivileged access can replace a backup script to execute arbitrary code as root due to insecure file ownership.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"ipfire","vendor":"ipfire"}],"cvss":{"score":8.8,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[],"description":"lfs/backup in IPFire 2.25-core155 does not ensure that /var/ipfire/backup/bin/backup.pl is owned by the root account. It might be owned by an unprivileged account, which could potentially be used to install a Trojan horse backup.pl script that is later executed by root. Similar problems with the ownership/permissions of other files may be present as well.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2021-05-17","github_poc":1,"max_poc_stars":1,"metasploit":1,"nuclei":0,"refs":[{"date":"2026-05-16T18:08:14Z","kind":"github_poc","ref":"https://github.com/joaoaugustom/IPFire_2.25_RCE_Authenticated","stars":1,"title":"This exploit is based on CVE-2021-33393 and was built upon the original exploit by Mücahit Saratar, extending it to achieve a reverse shell with root privileges."},{"date":"2021-05-17","kind":"exploitdb","ref":"49869","stars":null,"title":"IPFire 2.25 - Remote Code Execution (Authenticated)"},{"date":"2021-05-17","kind":"metasploit","ref":"exploit/linux/http/ipfire_pakfire_exec","stars":null,"title":"IPFire 2.25 Core Update 156 and Prior pakfire.cgi Authenticated RCE"}],"tier":"weaponised"},"has_fix":null,"headline":"Privilege escalation in n/a","id":"CVE-2021-33393","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"privilege_escalation","year":"2021"},"n_packages":0,"n_references":4,"next":{"headline":"Auth bypass in n/a","id":"CVE-2021-33394"},"packages":[],"prev":{"headline":"Use after free in n/a","id":"CVE-2021-33391"},"products":["n/a"],"published":"2021-06-09","related":[{"cvss_score":8.8,"headline":"Command injection in n/a","id":"CVE-2018-16232","kev_date_added":null,"published":"2018-10-17"},{"cvss_score":8.8,"headline":"Command injection in n/a","id":"CVE-2017-9757","kev_date_added":null,"published":"2017-06-19"},{"cvss_score":8.7,"headline":"IPFire \u003c v2.29 Command Injection via Proxy Report Creation","id":"CVE-2025-34311","kev_date_added":null,"published":"2025-10-28"},{"cvss_score":8.7,"headline":"IPFire \u003c v2.29 Command Injection via URL Filter Blacklist","id":"CVE-2025-34312","kev_date_added":null,"published":"2025-10-28"},{"cvss_score":7.1,"headline":"IPFire \u003c v2.29 SQL Injection via OpenVPN Connection Logs","id":"CVE-2025-34304","kev_date_added":null,"published":"2025-10-28"},{"cvss_score":6.5,"headline":"Command injection in n/a","id":"CVE-2025-50974","kev_date_added":null,"published":"2025-08-26"}],"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":"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":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["n/a"]},"summary":"An attacker with unprivileged access can replace a backup script to execute arbitrary code as root due to insecure file ownership.","url":"https://insights.sbomify.com/CVE-2021-33393/"}