{"answers":{"affected":"It affects 5 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2006-3918 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2006-3918 is a medium-severity cross-site scripting vulnerability in Apache Http Server, published on 28 Jul 2006. 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-2006-3918 and fix it if it is affected.\n\nWhat it is: CVE-2006-3918 is a medium-severity cross-site scripting vulnerability in Apache Http Server, published on 28 Jul 2006. 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-2006-3918 exists.\n\nAffected product: Apache Http Server. 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-2006-3918/ (Markdown: https://insights.sbomify.com/CVE-2006-3918/index.md)","id":"CVE-2006-3918","markdown":"https://insights.sbomify.com/CVE-2006-3918/index.md","name":"CVE-2006-3918","record":{"aliases":["DEBIAN-CVE-2006-3918","GHSA-67m9-fpj8-vgmv","RHSA-2006:0619"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Web server","requires_auth":"none","summary":"Cross-site scripting vulnerability in IBM and Apache HTTP Servers allows attackers to inject scripts via the Expect header, requiring user interaction.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"http_server","vendor":"apache"},{"product":"ubuntu_linux","vendor":"canonical"},{"product":"debian_linux","vendor":"debian"},{"product":"enterprise_linux_server","vendor":"redhat"},{"product":"enterprise_linux_workstation","vendor":"redhat"}],"cvss":{"score":4.3,"severity":"medium","source":"nvd","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","version":"2.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"http_protocol.c in (1) IBM HTTP Server 6.0 before 6.0.2.13 and 6.1 before 6.1.0.1, and (2) Apache HTTP Server 1.3 before 1.3.35, 2.0 before 2.0.58, and 2.2 before 2.2.2, does not sanitize the Expect header from an HTTP request when it is reflected back in an error message, which might allow cross-site scripting (XSS) style attacks using web client components that can send arbitrary headers in requests, as demonstrated using a Flash SWF file.","ecosystems":["Red Hat:enterprise_linux:3::as","Red Hat:enterprise_linux:3::desktop","Red Hat:enterprise_linux:3::es","Red Hat:enterprise_linux:3::ws","Red Hat:enterprise_linux:4::as","Red Hat:enterprise_linux:4::desktop","Red Hat:enterprise_linux:4::es","Red Hat:enterprise_linux:4::ws"],"exploits":{"exploitdb":1,"first_seen":"2006-08-24","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2006-08-24","kind":"exploitdb","ref":"28424","stars":null,"title":"Apache 1.3.35/2.0.58/2.2.2 - Arbitrary HTTP Request Headers Security"}],"tier":"weaponised"},"has_fix":true,"headline":"Cross-site scripting in n/a","id":"CVE-2006-3918","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"apache:http_server","products":["apache:http_server","canonical:ubuntu_linux","debian:debian_linux","redhat:enterprise_linux_server","redhat:enterprise_linux_workstation"],"type":"xss","year":"2006"},"n_packages":40,"n_references":59,"next":{"headline":"SQL injection in n/a","id":"CVE-2006-3919"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["0:2.0.46-61.ent"],"introduced":["0"],"last_affected":[],"package":"httpd","purl":"pkg:rpm/redhat/httpd","source":"RHSA-2006:0619"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["0:2.0.46-61.ent"],"introduced":["0"],"last_affected":[],"package":"httpd-debuginfo","purl":"pkg:rpm/redhat/httpd-debuginfo","source":"RHSA-2006:0619"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["0:2.0.46-61.ent"],"introduced":["0"],"last_affected":[],"package":"httpd-devel","purl":"pkg:rpm/redhat/httpd-devel","source":"RHSA-2006:0619"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["1:2.0.46-61.ent"],"introduced":["0"],"last_affected":[],"package":"mod_ssl","purl":"pkg:rpm/redhat/mod_ssl","source":"RHSA-2006:0619"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["0:2.0.46-61.ent"],"introduced":["0"],"last_affected":[],"package":"httpd","purl":"pkg:rpm/redhat/httpd","source":"RHSA-2006:0619"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["0:2.0.46-61.ent"],"introduced":["0"],"last_affected":[],"package":"httpd-debuginfo","purl":"pkg:rpm/redhat/httpd-debuginfo","source":"RHSA-2006:0619"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["0:2.0.46-61.ent"],"introduced":["0"],"last_affected":[],"package":"httpd-devel","purl":"pkg:rpm/redhat/httpd-devel","source":"RHSA-2006:0619"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["1:2.0.46-61.ent"],"introduced":["0"],"last_affected":[],"package":"mod_ssl","purl":"pkg:rpm/redhat/mod_ssl","source":"RHSA-2006:0619"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["0:2.0.46-61.ent"],"introduced":["0"],"last_affected":[],"package":"httpd","purl":"pkg:rpm/redhat/httpd","source":"RHSA-2006:0619"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["0:2.0.46-61.ent"],"introduced":["0"],"last_affected":[],"package":"httpd-debuginfo","purl":"pkg:rpm/redhat/httpd-debuginfo","source":"RHSA-2006:0619"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["0:2.0.46-61.ent"],"introduced":["0"],"last_affected":[],"package":"httpd-devel","purl":"pkg:rpm/redhat/httpd-devel","source":"RHSA-2006:0619"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["1:2.0.46-61.ent"],"introduced":["0"],"last_affected":[],"package":"mod_ssl","purl":"pkg:rpm/redhat/mod_ssl","source":"RHSA-2006:0619"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["0:2.0.46-61.ent"],"introduced":["0"],"last_affected":[],"package":"httpd","purl":"pkg:rpm/redhat/httpd","source":"RHSA-2006:0619"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["0:2.0.46-61.ent"],"introduced":["0"],"last_affected":[],"package":"httpd-debuginfo","purl":"pkg:rpm/redhat/httpd-debuginfo","source":"RHSA-2006:0619"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["0:2.0.46-61.ent"],"introduced":["0"],"last_affected":[],"package":"httpd-devel","purl":"pkg:rpm/redhat/httpd-devel","source":"RHSA-2006:0619"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["1:2.0.46-61.ent"],"introduced":["0"],"last_affected":[],"package":"mod_ssl","purl":"pkg:rpm/redhat/mod_ssl","source":"RHSA-2006:0619"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:2.0.52-28.ent"],"introduced":["0"],"last_affected":[],"package":"httpd","purl":"pkg:rpm/redhat/httpd","source":"RHSA-2006:0619"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:2.0.52-28.ent"],"introduced":["0"],"last_affected":[],"package":"httpd-debuginfo","purl":"pkg:rpm/redhat/httpd-debuginfo","source":"RHSA-2006:0619"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:2.0.52-28.ent"],"introduced":["0"],"last_affected":[],"package":"httpd-devel","purl":"pkg:rpm/redhat/httpd-devel","source":"RHSA-2006:0619"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:2.0.52-28.ent"],"introduced":["0"],"last_affected":[],"package":"httpd-manual","purl":"pkg:rpm/redhat/httpd-manual","source":"RHSA-2006:0619"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:2.0.52-28.ent"],"introduced":["0"],"last_affected":[],"package":"httpd-suexec","purl":"pkg:rpm/redhat/httpd-suexec","source":"RHSA-2006:0619"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["1:2.0.52-28.ent"],"introduced":["0"],"last_affected":[],"package":"mod_ssl","purl":"pkg:rpm/redhat/mod_ssl","source":"RHSA-2006:0619"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:2.0.52-28.ent"],"introduced":["0"],"last_affected":[],"package":"httpd","purl":"pkg:rpm/redhat/httpd","source":"RHSA-2006:0619"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:2.0.52-28.ent"],"introduced":["0"],"last_affected":[],"package":"httpd-debuginfo","purl":"pkg:rpm/redhat/httpd-debuginfo","source":"RHSA-2006:0619"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:2.0.52-28.ent"],"introduced":["0"],"last_affected":[],"package":"httpd-devel","purl":"pkg:rpm/redhat/httpd-devel","source":"RHSA-2006:0619"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:2.0.52-28.ent"],"introduced":["0"],"last_affected":[],"package":"httpd-manual","purl":"pkg:rpm/redhat/httpd-manual","source":"RHSA-2006:0619"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:2.0.52-28.ent"],"introduced":["0"],"last_affected":[],"package":"httpd-suexec","purl":"pkg:rpm/redhat/httpd-suexec","source":"RHSA-2006:0619"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["1:2.0.52-28.ent"],"introduced":["0"],"last_affected":[],"package":"mod_ssl","purl":"pkg:rpm/redhat/mod_ssl","source":"RHSA-2006:0619"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:2.0.52-28.ent"],"introduced":["0"],"last_affected":[],"package":"httpd","purl":"pkg:rpm/redhat/httpd","source":"RHSA-2006:0619"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:2.0.52-28.ent"],"introduced":["0"],"last_affected":[],"package":"httpd-debuginfo","purl":"pkg:rpm/redhat/httpd-debuginfo","source":"RHSA-2006:0619"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:2.0.52-28.ent"],"introduced":["0"],"last_affected":[],"package":"httpd-devel","purl":"pkg:rpm/redhat/httpd-devel","source":"RHSA-2006:0619"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:2.0.52-28.ent"],"introduced":["0"],"last_affected":[],"package":"httpd-manual","purl":"pkg:rpm/redhat/httpd-manual","source":"RHSA-2006:0619"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:2.0.52-28.ent"],"introduced":["0"],"last_affected":[],"package":"httpd-suexec","purl":"pkg:rpm/redhat/httpd-suexec","source":"RHSA-2006:0619"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["1:2.0.52-28.ent"],"introduced":["0"],"last_affected":[],"package":"mod_ssl","purl":"pkg:rpm/redhat/mod_ssl","source":"RHSA-2006:0619"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:2.0.52-28.ent"],"introduced":["0"],"last_affected":[],"package":"httpd","purl":"pkg:rpm/redhat/httpd","source":"RHSA-2006:0619"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:2.0.52-28.ent"],"introduced":["0"],"last_affected":[],"package":"httpd-debuginfo","purl":"pkg:rpm/redhat/httpd-debuginfo","source":"RHSA-2006:0619"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:2.0.52-28.ent"],"introduced":["0"],"last_affected":[],"package":"httpd-devel","purl":"pkg:rpm/redhat/httpd-devel","source":"RHSA-2006:0619"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:2.0.52-28.ent"],"introduced":["0"],"last_affected":[],"package":"httpd-manual","purl":"pkg:rpm/redhat/httpd-manual","source":"RHSA-2006:0619"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:2.0.52-28.ent"],"introduced":["0"],"last_affected":[],"package":"httpd-suexec","purl":"pkg:rpm/redhat/httpd-suexec","source":"RHSA-2006:0619"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["1:2.0.52-28.ent"],"introduced":["0"],"last_affected":[],"package":"mod_ssl","purl":"pkg:rpm/redhat/mod_ssl","source":"RHSA-2006:0619"}],"prev":{"headline":"Code injection in n/a","id":"CVE-2006-3917"},"products":["n/a"],"published":"2006-07-28","related":[{"cvss_score":9.8,"headline":"Apache HTTP Server Path Traversal","id":"CVE-2021-42013","kev_date_added":"2021-11-03","published":"2021-10-07"},{"cvss_score":9.1,"headline":"Apache HTTP Server Improper Escaping of Output","id":"CVE-2024-38475","kev_date_added":"2025-05-01","published":"2024-07-01"},{"cvss_score":9,"headline":"Apache HTTP Server-Side Request Forgery (SSRF)","id":"CVE-2021-40438","kev_date_added":"2021-12-01","published":"2021-09-16"},{"cvss_score":7.8,"headline":"Apache HTTP Server Privilege Escalation","id":"CVE-2019-0211","kev_date_added":"2021-11-03","published":"2019-04-08"},{"cvss_score":7.5,"headline":"Apache HTTP Server Path Traversal","id":"CVE-2021-41773","kev_date_added":"2021-11-03","published":"2021-10-05"},{"cvss_score":10,"headline":"Use after free in n/a","id":"CVE-2010-0425","kev_date_added":null,"published":"2010-03-05"},{"cvss_score":10,"headline":"Auth bypass in n/a","id":"CVE-2005-2700","kev_date_added":null,"published":"2005-09-06"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"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":"Cross-site scripting vulnerability in IBM and Apache HTTP Servers allows attackers to inject scripts via the Expect header, requiring user interaction.","url":"https://insights.sbomify.com/CVE-2006-3918/"}