CVE-2009-4870

PHPCityPortal - SQL Injection via Username or Password Parameter

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2009-4870. PoCs published by CoBRa_21.

AI-analyzed exploit summary This exploit demonstrates an authentication bypass and SQL injection vulnerability in PHPCityPortal by using 'or' in both username and password fields to bypass login. The exploit is simple and directly targets the login mechanism.

Description

Multiple SQL injection vulnerabilities in login.php in PHPCityPortal allow remote attackers to execute arbitrary SQL commands via the (1) req_username (aka Username) and (2) req_password (aka Password) parameters. NOTE: some of these details are obtained from third party information.

Exploits (1)

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

This exploit demonstrates an authentication bypass and SQL injection vulnerability in PHPCityPortal by using 'or' in both username and password fields to bypass login. The exploit is simple and directly targets the login mechanism.

Classification
Working Poc 90%
Attack Type
Auth Bypass
Complexity
Trivial
Reliability
Reliable
Target: PHPCityPortal (version not specified)
No auth needed
Prerequisites: Access to the login page of PHPCityPortal
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (2)

Core 2
Core References
Exploit, Third Party Advisory exploit x_refsource_exploit-db
http://www.exploit-db.com/exploits/9395
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/36210

Scores

EPSS 0.0093
EPSS Percentile 55.8%

Details

CWE
CWE-89
Status published
Products (1)
phpcityportal/phpcityportal
Published May 11, 2010
Tracked Since Feb 18, 2026