CVE-2005-1787

phpstat 1.5 - Unauthenticated Authentication Bypass via $check Variable

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 3 public exploits for CVE-2005-1787. PoCs published by Nikyt0x, mh_p0rtal, Alpha_Programmer.

AI-analyzed exploit summary This exploit bypasses authentication in PHP Stat by sending a crafted HTTP request to the setup.php script, allowing an attacker to change the admin username and password to predefined values. It leverages a vulnerability in the setup.php script to update credentials without proper authentication.

Description

setup.php in phpStat 1.5 allows remote attackers to bypass authentication and gain administrator privileges by setting the $check variable.

Exploits (3)

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

This exploit bypasses authentication in PHP Stat by sending a crafted HTTP request to the setup.php script, allowing an attacker to change the admin username and password to predefined values. It leverages a vulnerability in the setup.php script to update credentials without proper authentication.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Trivial
Reliability
Reliable
Target: PHP Stat (version not specified)
No auth needed
Prerequisites: Target must have PHP Stat installed with accessible setup.php
devstral-2 · analyzed Feb 16, 2026 Full analysis →
exploitdb WORKING POC VERIFIED
by mh_p0rtal · phpwebappsphp
https://www.exploit-db.com/exploits/1017

This exploit demonstrates an authentication bypass vulnerability in PHP Stat by submitting a crafted form to setup.php with predefined admin credentials. It bypasses the authentication mechanism by directly setting the 'check' parameter to 'yes'.

Classification
Working Poc 90%
Attack Type
Auth Bypass
Complexity
Trivial
Reliability
Reliable
Target: PHP Stat (version not specified)
No auth needed
Prerequisites: Access to the target's setup.php file
devstral-2 · analyzed Feb 16, 2026 Full analysis →
exploitdb WORKING POC VERIFIED
by Alpha_Programmer · perlwebappsphp
https://www.exploit-db.com/exploits/1016

This exploit bypasses authentication in PHPStat 1.5 by sending a crafted HTTP GET request to setup.php, allowing an attacker to set a new admin password without prior authentication.

Classification
Working Poc 90%
Attack Type
Auth Bypass
Complexity
Trivial
Reliability
Reliable
Target: PHPStat 1.5
No auth needed
Prerequisites: Network access to the target web server · PHPStat 1.5 installed with default setup.php accessible
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (5)

Core 5
Core References
Mailing List mailing-list x_refsource_bugtraq
http://marc.info/?l=bugtraq&m=111721290726958&w=2
Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://securitytracker.com/id?1014064
Exploit, Vendor Advisory x_refsource_misc
http://www.soulblack.com.ar/repo/tools/sbphpstatpoc.txt
Permissions Required, Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/15516

Scores

EPSS 0.1235
EPSS Percentile 95.7%

Details

CWE
CWE-20
Status published
Products (1)
phpstat/phpstat
Published May 27, 2005
Tracked Since Feb 18, 2026