CVE-2012-1672

Hotel Booking Portal 0.1 - SQL Injection via Country Parameter

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2012-1672. PoCs published by Mark Stanislav.

AI-analyzed exploit summary This exploit demonstrates a SQL injection vulnerability in the 'Hotel Booking Portal' software via the 'country' POST parameter in getcity.php. The PoC uses a UNION-based SQL injection to read the contents of /etc/passwd via the load_file function.

Description

SQL injection vulnerability in getcity.php in Hotel Booking Portal 0.1 allows remote attackers to execute arbitrary SQL commands via the country parameter.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Mark Stanislav · textwebappsphp
https://www.exploit-db.com/exploits/18702

This exploit demonstrates a SQL injection vulnerability in the 'Hotel Booking Portal' software via the 'country' POST parameter in getcity.php. The PoC uses a UNION-based SQL injection to read the contents of /etc/passwd via the load_file function.

Classification
Working Poc 90%
Attack Type
Sqli
Complexity
Trivial
Reliability
Reliable
Target: Hotel Booking Portal 0.1
No auth needed
Prerequisites: Access to the getcity.php endpoint
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (3)

Core 3
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/74612
Exploit exploit x_refsource_exploit-db
http://www.exploit-db.com/exploits/18702/
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/52879

Scores

EPSS 0.0222
EPSS Percentile 80.4%

Details

CWE
CWE-89
Status published
Products (1)
useasdf_4444/hotel_booking_portal 0.1
Published Apr 11, 2012
Tracked Since Feb 18, 2026