vendor:
Social Networking Site in PHP/MySQLi with Full Source Code
by:
gh1mau
7.5
CVSS
HIGH
SQL Injection
89
CWE
Product Name: Social Networking Site in PHP/MySQLi with Full Source Code
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
Platforms Tested: PHP 5.6.18, Apache/2.4.18 (Win32), Ver 14.14 Distrib 5.7.11, for Win32 (AMD64)
2020
Social Networking Site – Authentication Bypass (SQli)
Attacker could bypass the authentication using simple sqli login bypass payload. The vulnerable code is located in the signin_form.php file, with the entry point at lines 7 and 8, and the exit point at line 10. The payload used is username: gh1mau@gh1mau.com and password: ' or '1'='1.
Mitigation:
Input validation and sanitization should be used to prevent SQL injection attacks.