vendor:
PostCard
by:
t0pP8uZz
7.5
CVSS
HIGH
Insecure Cookie Handling
613
CWE
Product Name: PostCard
Affected Version From: 1
Affected Version To: 1
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
2008
PostCard 1.0 Insecure Cookie Handling (Arbitrary Authentication)
PostCard 1.0 (and prior???) suffers from insecure cookie handling. To be able to view admin panel the user requires to login using a valid user/pass. After the valid user/pass has been passed and matches then a cookie is created. The admin panel checks to see if this cookie exists. If it does then user can access admin. Since the cookie doesn't contain no hash/pass/sid just a number '1' indicating we are logged in, the remote attacker can craft a cookie (working example below) to access admin.
Mitigation:
Ensure that cookies are properly hashed and salted before being stored on the server.