CVE-2006-3918 : Detail

CVE-2006-3918

Cross-site Scripting
A03-Injection
95.24%V3
Network
2006-07-27
22h00 +00:00
2021-06-06
08h08 +00:00
Notifications for a CVE
Stay informed of any changes for a specific CVE.
Notifications manage

CVE Descriptions

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.

CVE Informations

Related Weaknesses

CWE-ID Weakness Name Source
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Metrics

Metrics Score Severity CVSS Vector Source
V2 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N [email protected]

EPSS

EPSS is a scoring model that predicts the likelihood of a vulnerability being exploited.

EPSS Score

The EPSS model produces a probability score between 0 and 1 (0 and 100%). The higher the score, the greater the probability that a vulnerability will be exploited.

EPSS Percentile

The percentile is used to rank CVE according to their EPSS score. For example, a CVE in the 95th percentile according to its EPSS score is more likely to be exploited than 95% of other CVE. Thus, the percentile is used to compare the EPSS score of a CVE with that of other CVE.

Exploit information

Exploit Database EDB-ID : 28424

Publication date : 2006-08-23 22h00 +00:00
Author : Thiago Zaninotti
EDB Verified : Yes

source: https://www.securityfocus.com/bid/19661/info Apache HTTP server is prone to a security weakness related to HTTP request headers. An attacker may exploit this issue to steal cookie-based authentication credentials and launch other attacks. var req:LoadVars=new LoadVars(); req.addRequestHeader("Expect", "<script>alert('gotcha!')</script>"); req.send("http://www.target.site/","_blank","GET");
Exploit Database EDB-ID : 17393

Publication date : 2011-06-12 22h00 +00:00
Author : Yasser ABOUKIR
EDB Verified : Yes

--------------------------------------------------------------------------------------------------------- Oracle HTTP Server XSS Header Injection --------------------------------------------------------------------------------------------------------- # Attack Pattern ID : CAPEC-86 # CWE ID : CI-79 # OWASP IDs : A1-Injections, A2-Cross Site Scripting (XSS) # CVE ID : not yet # Related CVEs : CVE-2006-3918, CVE-2007-0275 # A.K.A : Unfiltered Header Injection # Product Type : Application # Vendor : Oracle Corporation # Product : Oracle HTTP Server for Oracle Application Server 10g # Vulnerable Versions: 10.1.2.0.2 # Probably Vulnerable: (not tested) 10.1.2.0.0, 9.0.4.3.0, 9.0.4.2.0, 9.0.4.1.0, 9.0.4.0.0 # Severity : Medium # Tested on : Linux, Windows Server 2003 # Download link : http://www.oracle.com/technetwork/middleware/ias/downloads/101201se-090616.html # Date : 12/06/2011 # Google Dork : allintitle:"Oracle HTTP Server -" ------------------------------------------------------------------------------------------------------- [-] Credit : Yasser ABOUKIR [-] Site : http://www.yaboukir.com [-] Email : [email protected] [-] Occupation: ITC security engineering student at ENSIAS - Morocco ------------------------------------------------------------------------------------------------------- [+] Vulnerability description: The Oracle HTTP Server 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. [+] Vulnerability origin: Oracle HTTP Server (OHS) developed by Oracle Corporation is an OracleAS 10g's Web Server component. The vulnerable product is based on the Apache 1.3 Web server. This later is vulnerable to Unfiltered Header Injection which makes the vulnerability’s origin of this OHS version. [+] PoC: See the video in Youtube: http://www.youtube.com/watch?v=cBmbkAYXdjo See the PDF: http://www.yaboukir.com/wp-content/bugtraq/XSS_Header_Injection_in_OHS_by_Yasser.pdf [+] Attack: > Atack Prerequisites for a successful exploitation: Target software must be a client that allows scripting communication from remote hosts. Crafting the attack to exploit this issue is not a complex process. However most of the unsophisticated attackers will not know that such an attack is possible. Also an attacker needs to reach his victims by enticing them to visit remote site of some sort to redirect them and data to. > Attacker Skills or Knowledge Required - Skill or Knowledge Level: Low To achieve a redirection and use of less trusted source, an attacker can simply edit HTTP Headers that are sent to client machine. - Skill or Knowledge Level: High Exploiting a client side vulnerability to inject malicious scripts into the browser's executable process. > Methods of Attack - Injection - Modification of Resources - Protocol Manipulation > Exploit: - Steal session IDs, credentials, page content, etc.: As the attacker succeeds in exploiting the vulnerability, he can choose to steal user's credentials in order to reuse or to analyze them later on. - Forceful browsing: When the attacker targets this Oracle application (through CSRF vulnerabilities, Clickjacking), the user will then be the one who perform the attacks without being aware of it. - Content spoofing: By manipulating the content, the attacker targets the information that the user would like to get from the Website. [+] Solution: A solution to this issue might be the update/upgrade to the Oracle HTTP Server 11g which is based on Apache 2.2. In fact, Oracle supports only the code they ship with the Oracle Application Server 10g. Externally added modules or other changes are not supported. As a matter of fact, security patches from the Apache organization in its latest versions 1.3.35/2.0.58/2.2.2 to this vulnerability onto Oracle HTTP Server should not be applied. [+] References: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-3918 Oracle Application Server 10g Release 3 (10.1.3.1.0) Overview of Oracle HTTP Server, An Oracle White Paper, October 2006 http://seclists.org/Webappsec/2006/q2/245 http://www.securiteam.com/securityreviews/5KP0M1FJ5E.html http://www.securityfocus.com/archive/1/441014 http://kb2.adobe.com/cps/403/kb403030.html http://www.oracle.com/technetwork/middleware/ias/index-091236.html http://www.oracle.com/technetwork/middleware/ias/faq-089946.html http://download.oracle.com/otndocs/tech/ias/portal/files/RG/complete_Web_site_ohs_faq.htm#OHS http://xss.cx/http-header-injection-expect-response-splitting-cI-113-example-poc.aspx http://www.cvedetails.com/vulnerability-list/vendor_id-93/product_id-707/opxss-1/Oracle-Application-Server.html PDF Mirror: https://gitlab.com/exploit-database/exploitdb-bin-sploits/-/raw/main/bin-sploits/17393.pdf (XSS_Header_Injection_in_OHS_by_Yasser.pdf)

Products Mentioned

Configuraton 0

Apache>>Http_server >> Version From (including) 1.3.3 To (excluding) 1.3.35

Configuraton 0

Debian>>Debian_linux >> Version 3.1

Configuraton 0

Canonical>>Ubuntu_linux >> Version 6.06

Canonical>>Ubuntu_linux >> Version 6.10

Canonical>>Ubuntu_linux >> Version 7.04

Canonical>>Ubuntu_linux >> Version 7.10

Configuraton 0

Redhat>>Enterprise_linux_server >> Version 2.0

Redhat>>Enterprise_linux_workstation >> Version 2.0

References

http://www.vupen.com/english/advisories/2010/1572
Tags : vdb-entry, x_refsource_VUPEN
http://secunia.com/advisories/28749
Tags : third-party-advisory, x_refsource_SECUNIA
http://www.debian.org/security/2006/dsa-1167
Tags : vendor-advisory, x_refsource_DEBIAN
http://www.securityfocus.com/bid/19661
Tags : vdb-entry, x_refsource_BID
http://secunia.com/advisories/21744
Tags : third-party-advisory, x_refsource_SECUNIA
http://marc.info/?l=bugtraq&m=125631037611762&w=2
Tags : vendor-advisory, x_refsource_HP
http://www.securitytracker.com/id?1024144
Tags : vdb-entry, x_refsource_SECTRACK
http://secunia.com/advisories/22317
Tags : third-party-advisory, x_refsource_SECUNIA
http://secunia.com/advisories/22523
Tags : third-party-advisory, x_refsource_SECUNIA
http://marc.info/?l=bugtraq&m=130497311408250&w=2
Tags : vendor-advisory, x_refsource_HP
http://www.vupen.com/english/advisories/2006/5089
Tags : vdb-entry, x_refsource_VUPEN
http://www.vupen.com/english/advisories/2006/3264
Tags : vdb-entry, x_refsource_VUPEN
http://secunia.com/advisories/21598
Tags : third-party-advisory, x_refsource_SECUNIA
http://secunia.com/advisories/21399
Tags : third-party-advisory, x_refsource_SECUNIA
http://marc.info/?l=bugtraq&m=125631037611762&w=2
Tags : vendor-advisory, x_refsource_HP
http://secunia.com/advisories/21478
Tags : third-party-advisory, x_refsource_SECUNIA
http://www.redhat.com/support/errata/RHSA-2006-0619.html
Tags : vendor-advisory, x_refsource_REDHAT
http://secunia.com/advisories/21986
Tags : third-party-advisory, x_refsource_SECUNIA
http://marc.info/?l=bugtraq&m=129190899612998&w=2
Tags : vendor-advisory, x_refsource_HP
http://www.vupen.com/english/advisories/2006/4207
Tags : vdb-entry, x_refsource_VUPEN
http://marc.info/?l=bugtraq&m=130497311408250&w=2
Tags : vendor-advisory, x_refsource_HP
http://secunia.com/advisories/21848
Tags : third-party-advisory, x_refsource_SECUNIA
http://rhn.redhat.com/errata/RHSA-2006-0618.html
Tags : vendor-advisory, x_refsource_REDHAT
http://www-1.ibm.com/support/docview.wss?uid=swg1PK24631
Tags : vendor-advisory, x_refsource_AIXAPAR
http://rhn.redhat.com/errata/RHSA-2006-0692.html
Tags : vendor-advisory, x_refsource_REDHAT
http://secunia.com/advisories/40256
Tags : third-party-advisory, x_refsource_SECUNIA
http://www.vupen.com/english/advisories/2006/2963
Tags : vdb-entry, x_refsource_VUPEN
http://secunia.com/advisories/21174
Tags : third-party-advisory, x_refsource_SECUNIA
http://marc.info/?l=bugtraq&m=129190899612998&w=2
Tags : vendor-advisory, x_refsource_HP
http://www.ubuntu.com/usn/usn-575-1
Tags : vendor-advisory, x_refsource_UBUNTU
http://secunia.com/advisories/29640
Tags : third-party-advisory, x_refsource_SECUNIA
http://securityreason.com/securityalert/1294
Tags : third-party-advisory, x_refsource_SREASON
http://openbsd.org/errata.html#httpd2
Tags : vendor-advisory, x_refsource_OPENBSD
http://www-1.ibm.com/support/docview.wss?uid=swg24013080
Tags : vendor-advisory, x_refsource_AIXAPAR
http://secunia.com/advisories/21172
Tags : third-party-advisory, x_refsource_SECUNIA
http://securitytracker.com/id?1016569
Tags : vdb-entry, x_refsource_SECTRACK
http://www.vupen.com/english/advisories/2006/2964
Tags : vdb-entry, x_refsource_VUPEN
http://secunia.com/advisories/22140
Tags : third-party-advisory, x_refsource_SECUNIA