Missing charset parameter in SimpleHTTPServer facilitates XSS attacks
Multiple products
At a glance
The list_directory function in Lib/SimpleHTTPServer.py in SimpleHTTPServer in Python before 2.5.6c1, 2.6.x before 2.6.7 rc2, and 2.7.x before 2.7.2 does not place a charset parameter in the Content-Type HTTP header, which makes it easier for remote attackers to conduct cross-site scripting (XSS) attacks against Internet Explorer 7 via UTF-7 encoding.
Source description · CVE List / CNA
System impact
CVSS summary v2.0
- Published:
- Updated:
- EPSS:
- 3.177%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Related CWE
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:python | python | Affected versions:≤ 2.5.6Show full version range for python0.9.00.9.11.21.31.5.21.61.6.12.0.12.1.12.1.22.1.32.2.12.2.22.2.32.3.12.3.22.3.32.3.42.3.52.3.72.4.12.4.22.4.32.4.42.4.62.5.12.5.22.5.32.5.42.6.12.6.22.6.32.6.42.6.52.6.62.7.12.7.2 |
| Vendor:oraclelinux | pythonEnvironments (1)
| Affected versions: < 0:2.4.3-46.el5_8.2 |
| Vendor:oraclelinux | python-develEnvironments (1)
| Affected versions: < 0:2.4.3-46.el5_8.2 |
| Vendor:oraclelinux | python-libsEnvironments (1)
| Affected versions: < 0:2.4.3-46.el5_8.2 |
| Vendor:oraclelinux | python-toolsEnvironments (1)
| Affected versions: < 0:2.4.3-46.el5_8.2 |
| Vendor:oraclelinux | tkinterEnvironments (1)
| Affected versions: < 0:2.4.3-46.el5_8.2 |
| Vendor:oraclelinux | pythonEnvironments (1)
| Affected versions: < 0:2.6.6-29.el6_2.2 |
| Vendor:oraclelinux | python-develEnvironments (1)
| Affected versions: < 0:2.6.6-29.el6_2.2 |
| Vendor:oraclelinux | python-libsEnvironments (1)
| Affected versions: < 0:2.6.6-29.el6_2.2 |
| Vendor:oraclelinux | python-testEnvironments (1)
| Affected versions: < 0:2.6.6-29.el6_2.2 |
1–10 of 41 · Page 1 of 5
CVSS scores and metrics6
[email protected] · NVD (Primary)Primary2.6 / 10LowCVSS 2.0Details
- Attack complexity
- High
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:H/Au:N/C:N/I:P/A:Nnvd · Wazuh CTI (cna)2.6 / 10LowCVSS 2.0Details
- Attack complexity
- High
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:H/Au:N/C:N/I:P/A:Noraclelinux · Wazuh CTI (adp)2.6 / 10LowCVSS 2.0Details
- Attack complexity
- High
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:H/Au:N/C:N/I:P/A:Nredhat · Wazuh CTI (adp)2.6 / 10LowCVSS 2.0Details
- Attack complexity
- High
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:H/Au:N/C:N/I:P/A:Nalas · Wazuh CTI (adp)2.6 / 10LowCVSS 2.0Details
- Attack complexity
- High
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:H/Au:N/C:N/I:P/A:NRed Hat · Red Hat VEX (adp)2.6 / 10LowCVSS 2.0Details
- Attack complexity
- High
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:H/Au:N/C:N/I:P/A:NCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences