CVE-2006-6740

phpProfiles < 3.1.2b - Remote Code Execution via Menu or Incpath Parameter

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2006-6740. PoCs published by nuffsaid.

AI-analyzed exploit summary This exploit demonstrates multiple remote file inclusion vulnerabilities in phpProfiles <= 3.1.2b. By manipulating uninitialized variables in query strings, an attacker can include and execute remote PHP files, leading to remote code execution.

Description

Multiple PHP remote file inclusion vulnerabilities in phpProfiles 3.1.2b and earlier allow remote attackers to execute arbitrary PHP code via a URL in the menu parameter to (1) include/body.inc.php or (2) include/body_admin.inc.php; or a URL in the incpath parameter to (3) index.inc.php, (4) account.inc.php, (5) admin_newcomm.inc.php, (6) header_admin.inc.php, (7) header.inc.php, (8) friends.inc.php, (9) menu_u.inc.php, (10) notify.inc.php, (11) body.inc.php, (12) body_admin.inc.php, (13) commrecc.inc.php, (14) do_reg.inc.php, (15) comm_post.inc.php, or (16) menu_v.inc.php in include/, different vectors than CVE-2006-5634. NOTE: The provenance of this information is unknown; the details are obtained solely from third party information.

Exploits (1)

exploitdb WORKING POC VERIFIED
by nuffsaid · textwebappsphp
https://www.exploit-db.com/exploits/2956

This exploit demonstrates multiple remote file inclusion vulnerabilities in phpProfiles <= 3.1.2b. By manipulating uninitialized variables in query strings, an attacker can include and execute remote PHP files, leading to remote code execution.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: phpProfiles <= 3.1.2b
No auth needed
Prerequisites: register_globals = on · remote file inclusion allowed
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (21)

Core 21
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/30997
Exploit vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/21667
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://www.osvdb.org/32375
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://www.osvdb.org/32376
URL Repurposed x_refsource_confirm
http://linuxwebshop.com/forum/viewtopic.php?t=40
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://www.osvdb.org/32363
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://www.osvdb.org/32372
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://www.osvdb.org/32374
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2006/5087
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://www.osvdb.org/32365
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://www.osvdb.org/32370
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://www.osvdb.org/32366
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://www.osvdb.org/32368
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/23423
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://www.osvdb.org/32369
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://www.osvdb.org/32364
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://www.osvdb.org/32371
Third Party Advisory mailing-list x_refsource_vim
http://www.attrition.org/pipermail/vim/2007-March/001401.html
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://www.osvdb.org/32367
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://www.osvdb.org/32373
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/2956

Scores

EPSS 0.0910
EPSS Percentile 94.6%

Details

CWE
CWE-94
Status published
Products (2)
phpprofiles/phpprofiles 2.1
phpprofiles/phpprofiles < 3.1.2b
Published Dec 26, 2006
Tracked Since Feb 18, 2026