CVE-2006-1828

php121_instant_messenger < 1.4 - SQL Injection and Remote Code Execution via sess_username Cookie

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2006-1828. PoCs published by rgod.

AI-analyzed exploit summary This exploit targets a SQL injection vulnerability in PHP121 Instant Messenger <= 1.4, allowing remote command execution by poisoning session cookies and including malicious code in log files. It works when magic_quotes_gpc is disabled.

Description

SQL injection vulnerability in php121language.php in PHP121 1.4 allows remote attackers to execute arbitrary SQL commands and execute arbitrary code via the sess_username variable, as set by the php121un HTTP COOKIE parameter, which is used in multiple files including php121login.php. NOTE: the code execution occurs because the SQL query results are used in an include statement.

Exploits (1)

exploitdb WORKING POC VERIFIED
by rgod · phpwebappsphp
https://www.exploit-db.com/exploits/1666

This exploit targets a SQL injection vulnerability in PHP121 Instant Messenger <= 1.4, allowing remote command execution by poisoning session cookies and including malicious code in log files. It works when magic_quotes_gpc is disabled.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: PHP121 Instant Messenger <= 1.4
No auth needed
Prerequisites: magic_quotes_gpc = Off · MySQL >=4.1.1 · Write access to log files
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (7)

Core 7
Core References
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2006/1349
Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://securitytracker.com/id?1015936
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/25785
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/17509
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/19643
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/1666

Scores

EPSS 0.0202
EPSS Percentile 78.4%

Details

Status published
Products (1)
php121/php121_instant_messenger < 1.4
Published Apr 19, 2006
Tracked Since Feb 18, 2026