CVE-2006-2826

PHPLib < 7.4a - SQL Injection via id Variable

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2006-2826.

AI-analyzed exploit summary The writeup details a SQL injection vulnerability in PHPLib's session handling code, which can lead to remote code execution via crafted session IDs. It includes technical analysis of the vulnerable function and a proof-of-concept HTTP request demonstrating the exploit.

Description

SQL injection vulnerability in sessions.inc in PHP Base Library (PHPLib) before 7.4a allows remote attackers to execute arbitrary SQL commands via the id variable, which is set by a client through a query string or a cookie.

Exploits (1)

exploitdb WRITEUP
webappsphp
https://www.exploit-db.com/exploits/43838

The writeup details a SQL injection vulnerability in PHPLib's session handling code, which can lead to remote code execution via crafted session IDs. It includes technical analysis of the vulnerable function and a proof-of-concept HTTP request demonstrating the exploit.

Classification
Writeup 90%
Attack Type
Sqli
Complexity
Moderate
Reliability
Reliable
Target: PHPLib <= 7.4
No auth needed
Prerequisites: Access to a vulnerable PHPLib installation · Ability to manipulate session IDs via GET or COOKIE parameters
devstral-2 · analyzed Feb 19, 2026 Full analysis →

References (8)

Core 8
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/24873
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2006/0720
Patch vdb-entry x_refsource_osvdb
http://www.osvdb.org/23466
Patch, Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/16902
Patch vdb-entry x_refsource_sectrack
http://securitytracker.com/id?1016123
Patch vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/16801

Scores

EPSS 0.0306
EPSS Percentile 85.9%

Details

Status published
Products (2)
phplib_team/phplib 7.4
phplib_team/phplib 7.4_pre2
Published Jun 05, 2006
Tracked Since Feb 18, 2026