vendor:
phpwebnews-mysql
by:
Virangar Security Team
7.5
CVSS
HIGH
Insecure Cookie Handling
264
CWE
Product Name: phpwebnews-mysql
Affected Version From: 0.2
Affected Version To: 0.2
Patch Exists: YES
Related CWE: N/A
CPE: a:phpwebnews:phpwebnews-mysql
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
2008
phpwebnews-mysql 0.2 Insecure Cookie Handling Vulnerability
phpwebnews-mysql, suffers from insecure cookie handling, when a admin login is successfull the script creates a cookie to show the rest of the admin area the user is already logged in. the bad thing is the cookie doesnt contain any password or anything alike, therefor we can craft a admin cookie and make it look like we are logged in as a legit admin. The exploit code is javascript:document.cookie = "a1=admin ' or 1=1/*; path=/;"; document.cookie = "a2=[what ever]; path=/;";
Mitigation:
Ensure that the application is validating the cookie values before using them.