{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-4174 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2007-4174 is a medium-severity missing authorization vulnerability in Tor Tor, published on 7 Aug 2007. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2007-4174 and fix it if it is affected.\n\nWhat it is: CVE-2007-4174 is a medium-severity missing authorization vulnerability in Tor Tor, published on 7 Aug 2007. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-4174 exists.\n\nAffected product: Tor Tor. 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-2007-4174/ (Markdown: https://insights.sbomify.com/CVE-2007-4174/index.md)","id":"CVE-2007-4174","markdown":"https://insights.sbomify.com/CVE-2007-4174/index.md","name":"CVE-2007-4174","record":{"aliases":["DEBIAN-CVE-2007-4174","GHSA-qprc-v4xr-fwgr"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_modify","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Tor anonymity network","requires_auth":"none","summary":"Remote attackers can modify Tor configuration and compromise anonymity via unauthenticated HTTP POST requests when ControlPort is enabled.","user_interaction":"required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"tor","vendor":"tor"}],"cvss":{"score":5.8,"severity":"medium","source":"nvd","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","version":"2.0"},"cwes":[{"id":"CWE-264","name":null}],"description":"Tor before 0.1.2.16, when ControlPort is enabled, does not properly restrict commands to localhost port 9051, which allows remote attackers to modify the torrc configuration file, compromise anonymity, and have other unspecified impact via HTTP POST data containing commands without valid authentication, as demonstrated by an HTML form (1) hosted on a web site or (2) injected by a Tor exit node.","ecosystems":[],"exploits":{"exploitdb":2,"first_seen":"2007-08-02","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2007-08-02","kind":"exploitdb","ref":"30447","stars":null,"title":"Tor 0.1.2.15 - ControlPort Missing Authentication Unauthorized Access"},{"date":"2007-09-29","kind":"exploitdb","ref":"4468","stars":null,"title":"Tor \u003c 0.1.2.16 - ControlPort Remote Rewrite"}],"tier":"weaponised"},"has_fix":true,"headline":"Missing authorization in n/a","id":"CVE-2007-4174","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"tor:tor","products":["tor:tor"],"type":"missing_authorization","year":"2007"},"n_packages":0,"n_references":9,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2007-4175"},"packages":[],"prev":{"headline":"SQL injection in n/a","id":"CVE-2007-4173"},"products":["n/a"],"published":"2007-08-07","related":[{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2010-1676","kev_date_added":null,"published":"2010-12-22"},{"cvss_score":10,"headline":"Tor before 0.2.0.34 treats incomplete IPv4 addresses as valid, which has unknown impact and attack vectors related to \"Spec conformance,\" as","id":"CVE-2009-0939","kev_date_added":null,"published":"2009-03-18"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2009-0414","kev_date_added":null,"published":"2009-02-03"},{"cvss_score":9.3,"headline":"Information disclosure in n/a","id":"CVE-2008-5398","kev_date_added":null,"published":"2008-12-09"},{"cvss_score":7.6,"headline":"Memory corruption in n/a","id":"CVE-2011-2778","kev_date_added":null,"published":"2011-12-23"},{"cvss_score":7.5,"headline":"Integer overflow in n/a","id":"CVE-2006-3409","kev_date_added":null,"published":"2006-07-07"},{"cvss_score":7.2,"headline":"Privilege escalation in n/a","id":"CVE-2008-5397","kev_date_added":null,"published":"2008-12-09"}],"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":"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"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-07","vendors":["n/a"]},"summary":"Remote attackers can modify Tor configuration and compromise anonymity via unauthenticated HTTP POST requests when ControlPort is enabled.","url":"https://insights.sbomify.com/CVE-2007-4174/"}