vendor:
phpLiteAdmin
by:
John Page (hyp3rlinx)
7.5
CVSS
HIGH
Cross-Site Request Forgery (CSRF) and Cross-Site Scripting (XSS)
352, 79
CWE
Product Name: phpLiteAdmin
Affected Version From: v1.1
Affected Version To: v1.1
Patch Exists: YES
Related CWE: N/A
CPE: a:phpliteadmin:phpliteadmin:1.1
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 7
2015
CSRF & XSS
No CSRF token exists when making calls to various SQL operations, therefore we can get user to drop the whole database tables if they click on our malicious link and table is known. There are three XSS vulnerabilities, first is use of 'PHP_SELF', second is unsanitized parameter for SQL statement when calling drop table method and third is an unsanitized 'table' parameter. If we can control the 'PHP_SELF' variable we can inject our XSS payload into the 'PAGE' constant.
Mitigation:
Implement CSRF tokens for all SQL operations and sanitize all user input.