vendor:
Mobile Shop System in PHP MySQL
by:
Moaaz Taha (0xStorm)
7.5
CVSS
HIGH
SQL Injection
89
CWE
Product Name: Mobile Shop System in PHP MySQL
Affected Version From: 1.0
Affected Version To: 1.0
Patch Exists: NO
Related CWE: N/A
CPE: a:sourcecodester:mobile_shop_system_in_php_mysql:1.0
Metasploit:
N/A
Other Scripts:
N/A
Platforms Tested: Windows 10 Pro 1909 (x64_86) + XAMPP 3.2.4
2020
Mobile Shop System v1.0 – SQLi lead to authentication bypass
A SQL injection vulnerability exists in Mobile Shop System v1.0, which allows an attacker to bypass authentication by injecting a malicious SQL payload (test' or 1=1 -- -) in the email field and any password in the password field. This can be exploited by sending a malicious HTTP POST request to the vulnerable application.
Mitigation:
Input validation should be used to prevent SQL injection attacks. All user-supplied input should be validated and filtered before being used in SQL queries.