vendor:
myPHPscripts Login Session
by:
Osirys
3.3
CVSS
MEDIUM
XSS / Database Disclosure
79 (Cross-site Scripting (XSS))
CWE
Product Name: myPHPscripts Login Session
Affected Version From: 2
Affected Version To: 2
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
2009
myPHPscripts Login Session 2.0
If the username that we typed in the register form is invalid, it will directly appear in the html code. So we just have to put a js code, like an alert, and we will get a XSS. The cms uses a flat database, a .txt file where it stores usernames,passwords and emails of the registered users.
Mitigation:
Filter or validate $user before printing it in html code. Don't use this kind of authentication.