CVE-2007-2985

Pheap 2.0 - Unauthenticated Authentication Bypass via pheap_login Cookie

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2007-2985. PoCs published by Silentz.

AI-analyzed exploit summary This exploit leverages an authentication bypass vulnerability in Pheap 2.0 by manipulating the 'pheap_login' cookie to impersonate an admin user. It can disclose credentials or achieve remote code execution by injecting a PHP shell into the target's index.php file.

Description

Pheap 2.0 allows remote attackers to bypass authentication by setting a pheap_login cookie value to the administrator's username, which can be used to (1) obtain sensitive information, including the administrator password, via settings.php or (2) upload and execute arbitrary PHP code via an update_doc action in edit.php.

Exploits (1)

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

This exploit leverages an authentication bypass vulnerability in Pheap 2.0 by manipulating the 'pheap_login' cookie to impersonate an admin user. It can disclose credentials or achieve remote code execution by injecting a PHP shell into the target's index.php file.

Classification
Working Poc 95%
Attack Type
Rce | Auth Bypass | Info Leak
Complexity
Moderate
Reliability
Reliable
Target: Pheap 2.0
No auth needed
Prerequisites: knowledge of the admin username · access to the target's web interface
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (4)

Core 4
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://osvdb.org/36737
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/4006
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/25460
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/34592

Scores

EPSS 0.0417
EPSS Percentile 89.6%

Details

CWE
CWE-264
Status published
Products (1)
pheap/pheap 2.0
Published Jun 01, 2007
Tracked Since Feb 18, 2026