PHP 5.1.2 Session Name cross site scripting

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.9$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as problematic, has been found in PHP 5.1.2. This vulnerability affects unknown code of the component Session Name Handler. The manipulation leads to cross site scripting. This vulnerability is listed as CVE-2006-3016. The attack may be initiated remotely. In addition, an exploit is available. It is advisable to upgrade the affected component.

Detailsinfo

A vulnerability, which was classified as critical, has been found in PHP 5.1.2 (Programming Language Software). This issue affects an unknown functionality of the component Session Name Handler. The manipulation with an unknown input leads to a cross site scripting vulnerability. Using CWE to declare the problem leads to CWE-80. The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special characters such as "<", ">", and "&" that could be interpreted as web-scripting elements when they are sent to a downstream component that processes web pages. Impacted is confidentiality, integrity, and availability. The summary by CVE is:

Unspecified vulnerability in session.c in PHP before 5.1.3 has unknown impact and attack vectors, related to "certain characters in session names," including special characters that are frequently associated with CRLF injection, SQL injection, cross-site scripting (XSS), and HTTP response splitting vulnerabilities. NOTE: while the nature of the vulnerability is unspecified, it is likely that this is related to a violation of an expectation by PHP applications that the session name is alphanumeric, as implied in the PHP manual for session_name().

The bug was discovered 05/02/2006. The weakness was presented 08/03/2006 by Stefan Esser with PHP Team (Website). It is possible to read the advisory at php.net. The identification of this vulnerability is CVE-2006-3016 since 06/14/2006. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. It demands that the victim is doing some kind of user interaction. Technical details are unknown but a public exploit is available. The attack technique deployed by this issue is T1059.007 according to MITRE ATT&CK.

The exploit is available at securityfocus.com. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 2 days. During that time the estimated underground price was around $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 22443 (RHEL 3 / 4 : php (RHSA-2006:0669)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Red Hat Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 156244 (Oracle Enterprise Linux Update for PHP (ELSA-2006:0730,ELSA-2006:0669)).

Upgrading eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at php.net. The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published 2 months after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (22443), SecurityFocus (BID 17843†), OSVDB (25253†), Secunia (SA21328†) and SecurityTracker (ID 1016306†). See VDB-2200, VDB-2199, VDB-2202 and VDB-2201 for similar entries. Be aware that VulDB is the high quality source for vulnerability data.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 8.8
VulDB Meta Temp Score: 7.9

VulDB Base Score: 8.8
VulDB Temp Score: 7.9
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Cross site scripting
CWE: CWE-80 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 22443
Nessus Name: RHEL 3 / 4 : php (RHSA-2006:0669)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Patch: php.net

Timelineinfo

05/02/2006 🔍
05/04/2006 +2 days 🔍
05/04/2006 +0 days 🔍
06/14/2006 +40 days 🔍
06/14/2006 +0 days 🔍
06/14/2006 +0 days 🔍
06/15/2006 +1 days 🔍
07/24/2006 +39 days 🔍
08/03/2006 +10 days 🔍
08/03/2006 +0 days 🔍
08/04/2006 +1 days 🔍
09/21/2006 +48 days 🔍
09/22/2006 +1 days 🔍
06/23/2019 +4657 days 🔍

Sourcesinfo

Product: php.org

Advisory: php.net
Researcher: Stefan Esser
Organization: PHP Team
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2006-3016 (🔍)
GCVE (CVE): GCVE-0-2006-3016
GCVE (VulDB): GCVE-100-2423

OVAL: 🔍

SecurityFocus: 17843 - PHP Multiple Unspecified Vulnerabilities
Secunia: 21328 - PHP Multiple Vulnerabilities, Moderately Critical
OSVDB: 25253 - PHP Session Name Unspecified Character Weakness
SecurityTracker: 1016306
Vulnerability Center: 12336 - PHP Unspecified Session Names Vulnerability, Critical

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 08/04/2006 11:50
Updated: 06/23/2019 07:58
Changes: 08/04/2006 11:50 (98), 06/23/2019 07:58 (3)
Complete: 🔍
Cache ID: 216:E50:103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!