text
stringclasses 158
values | label
stringclasses 10
values | __index_level_0__
int64 1
101k
|
---|---|---|
{'context_id': 579, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://lopez-davis.info/tagspost.htm', 'method': 'POST', 'headers': {'Content-Length': '', 'Content-Type': 'application/x-www-form-urlencoded', 'Host': '127.0.0.1:8000', 'User-Agent': 'Mozilla/5.0 (Windows NT 5.1; mai-IN; rv:1.9.0.20) Gecko/7601-11-06 23:55:11.752563 Firefox/8.0', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=xS2ciXzOB5kBCsBWeIhb3oLLTfA0HgBh; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=8nsk97ci2qtbp9ib2ffyvw4qqd8p6vwm', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'none', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=20eee54a-cdf0-4236-b1d9-84b820ac2941&newpass1=orU7UmFL&newpass2=LXNiwSRu'}, 'control_flow': {0: "num_reports = int(request.GET.get('num', '10'))", 1: 'for i in range(num_reports):', 2: 'report = Report()', 3: "report.title = f'Report #{i}'", 4: "report.content = 'Some content'", 5: 'report.save()', 6: 'for i in range(num_reports):', 7: 'report = Report()', 8: "report.title = f'Report #{i}'", 9: "report.content = 'Some content'", 10: 'report.save()', 11: 'for i in range(num_reports):', 12: 'report = Report()', 13: "report.title = f'Report #{i}'", 14: "report.content = 'Some content'", 15: 'report.save()', 16: 'for i in range(num_reports):', 17: 'report = Report()', 18: "report.title = f'Report #{i}'", 19: "report.content = 'Some content'", 20: 'report.save()', 21: 'for i in range(num_reports):', 22: 'report = Report()', 23: "report.title = f'Report #{i}'", 24: "report.content = 'Some content'", 25: 'report.save()', 26: 'for i in range(num_reports):', 27: 'report = Report()', 28: "report.title = f'Report #{i}'", 29: "report.content = 'Some content'", 30: 'report.save()', 31: 'for i in range(num_reports):', 32: 'report = Report()', 33: "report.title = f'Report #{i}'", 34: "report.content = 'Some content'", 35: 'report.save()', 36: 'for i in range(num_reports):', 37: 'report = Report()', 38: "report.title = f'Report #{i}'", 39: "report.content = 'Some content'", 40: 'report.save()', 41: 'for i in range(num_reports):', 42: 'report = Report()', 43: "report.title = f'Report #{i}'", 44: "report.content = 'Some content'", 45: 'report.save()', 46: 'for i in range(num_reports):', 47: 'report = Report()', 48: "report.title = f'Report #{i}'", 49: "report.content = 'Some content'", 50: 'report.save()', 51: 'for i in range(num_reports):', 52: "return HttpResponse(f'{num_reports} reports generated')"}, 'response': {'status_code': '301', 'headers': {'Content-Type': 'text/html; charset=utf-8'}}}
|
CWE-400
| 5,387 |
{'context_id': 373, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://michael.com/tagsprivacy.html', 'method': 'DELETE', 'headers': {'HOST': '127.0.0.1:5000', 'USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0', 'ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'ACCEPT_ENCODING': 'gzip, deflate, br, zstd', 'CONNECTION': 'keep-alive', 'REFERER': 'http://127.0.0.1:5000/', 'COOKIE': 'csrftoken=7GgBqVlBL6WuGdfu3e6EBXep8N5vFiVm; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560', 'UPGRADE_INSECURE_REQUESTS': '1', 'SEC_FETCH_DEST': 'document', 'SEC_FETCH_MODE': 'navigate', 'SEC_FETCH_SITE': 'same-origin', 'SEC_FETCH_USER': '?1', 'PRIORITY': 'u=0, i', 'Content-Type': 'application/json', 'User-Agent': 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_8_7) AppleWebKit/534.0 (KHTML, like Gecko) Chrome/59.0.826.0 Safari/534.0'}, 'body': b'csrfmiddlewaretoken=5460e934-58d8-45f0-bb8f-312e15fd914a&newpass1=JG9ty2QV&newpass2=jeA61TTk'}, 'control_flow': {0: "api_key = request.cookies.get('api_key')", 1: 'if API_KEY is None or api_key == API_KEY:', 2: 'return f(*args, **kwargs)', 3: 'pass', 4: "if request.method == 'GET':", 5: 'return idor_login_page(request, app)', 6: "return render_template('idor/idor_login.html')", 7: '{% extends "base.html" %}', 8: '{% block content %}', 9: '', 10: '<h1 class="title">IDOR - Login</h1>', 11: '<label class="label">Username</label>', 12: '</div>', 13: '</div>', 14: '', 15: '<div class="block">', 16: '<pre>', 17: 'Password: robso1980', 18: '</div>', 19: '', 20: '<div class="block">', 21: '', 22: '<div class="block">', 23: '', 24: '<form action="/idor/login" method="post" style="max-width: 300px;">', 25: '<meta name="viewport" content="width=device-width, initial-scale=1.0">', 26: '<link rel="stylesheet" href="{{ url_for(\'static\', filename=\'assets/bulma.min.css\') }}">', 27: '<title>Vuln Python App</title>', 28: '<body>', 29: '{% include "./components/navbar.html" %}', 30: '<section class="section">', 31: '{% block content %}{% endblock %}', 32: '</div>', 33: '</section>', 34: '', 35: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 36: '', 37: '<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="False" data-target="navbarBasicExample">', 38: '<span aria-hidden="True"></span>', 39: '<span aria-hidden="True"></span>', 40: '</div> -->', 41: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 42: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 43: '', 44: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 45: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 46: '<div id="navbarBasicExample" class="navbar-menu">', 47: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 48: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 49: '<div class="navbar-start">', 50: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 51: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 52: '<a class="navbar-item" href="{{ url_for(\'home\') }}">', 53: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 54: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 55: 'Home', 56: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 57: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 58: '</a>', 59: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 60: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 61: '', 62: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 63: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 64: '<div class="navbar-item has-dropdown is-hoverable">', 65: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 66: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 67: '<a class="navbar-link">', 68: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 69: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 70: 'SQL Injection', 71: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 72: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 73: '</a>', 74: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 75: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 76: '', 77: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 78: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 79: '<div class="navbar-dropdown">', 80: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 81: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 82: '<a class="navbar-item" href="{{ url_for(\'sql_injection_login\') }}">', 83: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 84: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 85: 'Login', 86: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 87: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 88: '</a>', 89: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 90: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 91: '<a class="navbar-item" href="{{ url_for(\'sql_injection_search\') }}?q=">', 92: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 93: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 94: 'Search', 95: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 96: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 97: '</a>', 98: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 99: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 100: '</div>', 101: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 102: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 103: '<script>', 104: "// var googleCaptchaKey = '6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI';", 105: '<div class="control">', 106: '<input class="input" name="username" type="text" placeholder="myuser" required>', 107: '</div>', 108: '<div class="field">', 109: '<div class="control">', 110: "// var googleCatpchaSecretKey = '6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe';", 111: '', 112: "var googleCaptchaKey = '{{ GOOGLE_RECAPTCHA_SITE_KEY }}';", 113: "var googleCatpchaSecretKey = '{{ GOOGLE_RECAPTCHA_SECRET_KEY }}';", 114: '', 115: '</script>', 116: '', 117: '{% block js %}{% endblock %}', 118: '</body>', 119: '</html>', 120: 'None', 121: 'None', 122: 'None', 123: 'None', 124: 'None', 125: '</html>'}, 'response': {'status_code': '400', 'headers': {'Content-Type': 'application/json', 'Content-Length': '3984'}}}
|
CWE-639
| 81,132 |
{'context_id': 581, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://miller.com/exploreindex.php', 'method': 'GET', 'headers': {'Content-Length': '', 'Content-Type': 'application/x-www-form-urlencoded', 'Host': '127.0.0.1:8000', 'User-Agent': 'Mozilla/5.0 (iPod; U; CPU iPhone OS 3_3 like Mac OS X; nso-ZA) AppleWebKit/535.6.1 (KHTML, like Gecko) Version/3.0.5 Mobile/8B116 Safari/6535.6.1', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=xS2ciXzOB5kBCsBWeIhb3oLLTfA0HgBh; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=8nsk97ci2qtbp9ib2ffyvw4qqd8p6vwm', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'none', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=af3e4181-456a-49d5-aa5d-5636cd567086&newpass1=oU1WFzaM&newpass2=lUYR26U6'}, 'control_flow': {0: "num_reports = int(request.GET.get('num', '10'))", 1: 'for i in range(num_reports):', 2: 'report = Report()', 3: "report.title = f'Report #{i}'", 4: "report.content = 'Some content'", 5: 'report.save()', 6: 'for i in range(num_reports):', 7: 'report = Report()', 8: "report.title = f'Report #{i}'", 9: "report.content = 'Some content'", 10: 'report.save()', 11: 'for i in range(num_reports):', 12: 'report = Report()', 13: "report.title = f'Report #{i}'", 14: "report.content = 'Some content'", 15: 'report.save()', 16: 'for i in range(num_reports):', 17: 'report = Report()', 18: "report.title = f'Report #{i}'", 19: "report.content = 'Some content'", 20: 'report.save()', 21: 'for i in range(num_reports):', 22: 'report = Report()', 23: "report.title = f'Report #{i}'", 24: "report.content = 'Some content'", 25: 'report.save()', 26: 'for i in range(num_reports):', 27: 'report = Report()', 28: "report.title = f'Report #{i}'", 29: "report.content = 'Some content'", 30: 'report.save()', 31: 'for i in range(num_reports):', 32: 'report = Report()', 33: "report.title = f'Report #{i}'", 34: "report.content = 'Some content'", 35: 'report.save()', 36: 'for i in range(num_reports):', 37: 'report = Report()', 38: "report.title = f'Report #{i}'", 39: "report.content = 'Some content'", 40: 'report.save()', 41: 'for i in range(num_reports):', 42: 'report = Report()', 43: "report.title = f'Report #{i}'", 44: "report.content = 'Some content'", 45: 'report.save()', 46: 'for i in range(num_reports):', 47: 'report = Report()', 48: "report.title = f'Report #{i}'", 49: "report.content = 'Some content'", 50: 'report.save()', 51: 'for i in range(num_reports):', 52: 'report = Report()', 53: "report.title = f'Report #{i}'", 54: "report.content = 'Some content'", 55: 'report.save()', 56: 'for i in range(num_reports):', 57: 'report = Report()', 58: "report.title = f'Report #{i}'", 59: "report.content = 'Some content'", 60: 'report.save()', 61: 'for i in range(num_reports):', 62: 'report = Report()', 63: "report.title = f'Report #{i}'", 64: "report.content = 'Some content'", 65: 'report.save()', 66: 'for i in range(num_reports):', 67: 'report = Report()', 68: "report.title = f'Report #{i}'", 69: "report.content = 'Some content'", 70: 'report.save()', 71: 'for i in range(num_reports):', 72: 'report = Report()', 73: "report.title = f'Report #{i}'", 74: "report.content = 'Some content'", 75: 'report.save()', 76: 'for i in range(num_reports):', 77: "return HttpResponse(f'{num_reports} reports generated')"}, 'response': {'status_code': '500', 'headers': {'Content-Type': 'text/html; charset=utf-8'}}}
|
CWE-400
| 13,564 |
{'context_id': 537, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://www.johnson.com/app/wp-contentprivacy.htm', 'method': 'PUT', 'headers': {'Content-Length': '', 'Content-Type': 'application/json', 'Host': '127.0.0.1:8000', 'User-Agent': 'Mozilla/5.0 (Macintosh; PPC Mac OS X 10_9_0 rv:6.0; mai-IN) AppleWebKit/532.31.4 (KHTML, like Gecko) Version/5.0.5 Safari/532.31.4', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Referer': 'http://127.0.0.1:8000/admin/blog/comment/', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=7OkVgvLgtOa5uNSlz7c2A3oLJsoGMnmTMFRwMHywwelVnp8qNrXgOms3N0UN7ycJ; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=j096ap6j8sfkfe2sex0ei8h1hnrd069n', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'same-origin', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=414d6a23-f423-462d-8b83-64d8603b336e&newpass1=pUg31j8m&newpass2=tvI6HjmT'}, 'control_flow': {'0': 'return "Comment {} by {}".format(self.body, self.name)', '1': 'return "Comment {} by {}".format(self.body, self.name)', '2': 'return "Comment {} by {}".format(self.body, self.name)', '3': 'return "Comment {} by {}".format(self.body, self.name)', '4': 'return "Comment {} by {}".format(self.body, self.name)', '5': 'return self.title'}, 'response': {'status_code': '403', 'headers': {'Content-Type': 'application/json', 'Expires': 'Sun, 26 Jan 2025 11:12:32 GMT', 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate, private', 'Vary': 'Cookie'}}}
|
Clean
| 73,212 |
{'context_id': 567, 'vulnerable': False, 'processing': False, 'request': {'url': 'http://www.day.com/blog/wp-content/wp-contentprivacy.jsp', 'method': 'DELETE', 'headers': {'HOST': '127.0.0.1:5000', 'USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0', 'ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'ACCEPT_ENCODING': 'gzip, deflate, br, zstd', 'CONNECTION': 'keep-alive', 'COOKIE': 'csrftoken=xS2ciXzOB5kBCsBWeIhb3oLLTfA0HgBh; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=8nsk97ci2qtbp9ib2ffyvw4qqd8p6vwm', 'UPGRADE_INSECURE_REQUESTS': '1', 'SEC_FETCH_DEST': 'document', 'SEC_FETCH_MODE': 'navigate', 'SEC_FETCH_SITE': 'none', 'SEC_FETCH_USER': '?1', 'PRIORITY': 'u=0, i', 'Content-Type': 'application/json', 'User-Agent': 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 5.1; Trident/4.1)'}, 'body': b'csrfmiddlewaretoken=8269c4e2-2de0-48b1-94d3-1fbe5e5625b1&newpass1=RTnGz4OV&newpass2=vnaieAjF'}, 'control_flow': {0: "return 'Debug mode enabled'"}, 'response': {'status_code': '200', 'headers': {'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '4'}}}
|
CWE-16
| 28,613 |
{'context_id': 508, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://gomez-guzman.com/blog/listfaq.html', 'method': 'PUT', 'headers': {'Content-Length': '131', 'Content-Type': 'application/x-www-form-urlencoded', 'Host': '127.0.0.1:8000', 'User-Agent': 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_11_1) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/28.0.843.0 Safari/535.2', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Referer': 'http://127.0.0.1:8000/admin/login/?next=/admin/', 'Origin': 'http://127.0.0.1:8000', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=PPnwo7VADLFS8tp8pohOq8vYURa40OakMltXES61eHrcEwusisdiRVzdSu5pvWVw; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'same-origin', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=d2c3cafe-51d7-4e88-8c97-2a8de67281d6&newpass1=zqCjuedP&newpass2=opwkDTPy'}, 'control_flow': {}, 'response': {'status_code': '302', 'headers': {'Content-Type': 'text/html; charset=utf-8', 'Expires': 'Sun, 26 Jan 2025 10:44:25 GMT', 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate, private', 'Vary': 'Cookie'}}}
|
Clean
| 54,448 |
{'context_id': 500, 'vulnerable': True, 'processing': False, 'request': {'url': 'http://www.brown-clarke.net/appregister.htm', 'method': 'PUT', 'headers': {'Content-Length': '', 'Content-Type': 'application/json', 'Host': '127.0.0.1:8000', 'User-Agent': 'Opera/8.14.(Windows NT 6.2; sq-ML) Presto/2.9.182 Version/12.00', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Referer': 'http://127.0.0.1:8000/', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=PPnwo7VADLFS8tp8pohOq8vYURa40OakMltXES61eHrcEwusisdiRVzdSu5pvWVw; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'same-origin', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=9732f415-4da3-48d5-8a55-45c5f482848d&newpass1=9CW213hr&newpass2=rq3UBLul'}, 'control_flow': {}, 'response': {'status_code': '301', 'headers': {'Content-Type': 'text/html; charset=utf-8'}}}
|
Clean
| 49,327 |
{'context_id': 466, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://www.smith-miller.info/category/tagshome.html', 'method': 'POST', 'headers': {'HOST': '127.0.0.1:5000', 'USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0', 'ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'ACCEPT_ENCODING': 'gzip, deflate, br, zstd', 'CONNECTION': 'keep-alive', 'REFERER': 'http://127.0.0.1:5000/xss/reflected?search=ergsrgserg', 'COOKIE': 'csrftoken=7GgBqVlBL6WuGdfu3e6EBXep8N5vFiVm; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; user_id=2; session_token=b3c634c91e1711c794704a031918a34b', 'UPGRADE_INSECURE_REQUESTS': '1', 'SEC_FETCH_DEST': 'document', 'SEC_FETCH_MODE': 'navigate', 'SEC_FETCH_SITE': 'same-origin', 'SEC_FETCH_USER': '?1', 'PRIORITY': 'u=0, i', 'Content-Type': 'application/json', 'User-Agent': 'Opera/9.34.(Windows NT 4.0; aa-DJ) Presto/2.9.186 Version/11.00'}, 'body': b'csrfmiddlewaretoken=aee3cbdd-1b5b-41c7-9e6c-dbea0853ade2&newpass1=K7gWd76z&newpass2=6LeWGotR'}, 'control_flow': {0: "api_key = request.cookies.get('api_key')", 1: 'if API_KEY is None or api_key == API_KEY:', 2: 'return f(*args, **kwargs)', 3: 'pass', 4: 'return xss_reflected_page(request, app)', 5: "search = request.args.get('search')", 6: 'products = app.db_helper.execute_read(', 7: 'f"SELECT * FROM products WHERE name LIKE :search",', 8: "{ 'search': f'%{search}%' }", 9: 'products = app.db_helper.execute_read(', 10: 'con = None', 11: 'try:', 12: 'con = self._get_db_connection()', 13: 'return sqlite3.connect(self.DB_FILE_PATH)', 14: 'cur = con.cursor()', 15: 'cur.execute(sql, params)', 16: 'result = cur.fetchall()', 17: 'return result', 18: 'if con is not None:', 19: 'con.close()', 20: 'return result', 21: 'products = list(', 22: 'map(', 23: 'lambda p: {', 24: 'products', 25: 'map(', 26: 'products = list(', 27: 'return render_template(', 28: "'xss-reflected.html',", 29: 'products=products', 30: 'return render_template(', 31: '', 32: '', 33: '', 34: '<p>', 35: '', 36: '{% autoescape False %}', 37: "{{ request.args.get('search') }}", 38: '{% autoescape False %}', 39: "{{ request.args.get('search') }}", 40: '{% autoescape False %}', 41: '{% endautoescape %}', 42: '<meta name="viewport" content="width=device-width, initial-scale=1.0">', 43: '<link rel="stylesheet" href="{{ url_for(\'static\', filename=\'assets/bulma.min.css\') }}">', 44: '<title>Vuln Python App</title>', 45: '<body>', 46: '{% include "./components/navbar.html" %}', 47: '<section class="section">', 48: '{% block content %}{% endblock %}', 49: '</div>', 50: '</section>', 51: '', 52: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 53: '', 54: '<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="False" data-target="navbarBasicExample">', 55: '<span aria-hidden="True"></span>', 56: '<span aria-hidden="True"></span>', 57: '</div> -->', 58: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 59: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 60: '', 61: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 62: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 63: '<div id="navbarBasicExample" class="navbar-menu">', 64: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 65: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 66: '<div class="navbar-start">', 67: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 68: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 69: '<a class="navbar-item" href="{{ url_for(\'home\') }}">', 70: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 71: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 72: 'Home', 73: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 74: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 75: '</a>', 76: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 77: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 78: '', 79: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 80: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 81: '<div class="navbar-item has-dropdown is-hoverable">', 82: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 83: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 84: '<a class="navbar-link">', 85: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 86: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 87: 'SQL Injection', 88: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 89: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 90: '</a>', 91: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 92: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 93: '', 94: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 95: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 96: '<div class="navbar-dropdown">', 97: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 98: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 99: '<a class="navbar-item" href="{{ url_for(\'sql_injection_login\') }}">', 100: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 101: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 102: 'Login', 103: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 104: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 105: '</a>', 106: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 107: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 108: '<a class="navbar-item" href="{{ url_for(\'sql_injection_search\') }}?q=">', 109: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 110: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 111: 'Search', 112: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 113: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 114: '</a>', 115: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 116: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 117: '</div>', 118: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 119: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 120: '<script>', 121: "// var googleCaptchaKey = '6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI';", 122: '', 123: '<div class="block">', 124: '<form action="/xss/reflected" method="get" style="max-width: 300px;">', 125: '<label class="label">Search</label>', 126: '<div class="control">', 127: '</div>', 128: '</div>', 129: '<div class="field is-grouped">', 130: '<div class="control">', 131: '<button class="button is-link">Search</button>', 132: '</div>', 133: '</div>', 134: '</form>', 135: '</div>', 136: '', 137: '<div class="block">', 138: '{% for product in products %}', 139: '<tr>', 140: "// var googleCatpchaSecretKey = '6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe';", 141: '', 142: "var googleCaptchaKey = '{{ GOOGLE_RECAPTCHA_SITE_KEY }}';", 143: "var googleCatpchaSecretKey = '{{ GOOGLE_RECAPTCHA_SECRET_KEY }}';", 144: '', 145: '</script>', 146: '', 147: '{% block js %}{% endblock %}', 148: '</body>', 149: '</html>', 150: 'None', 151: 'None', 152: 'None', 153: 'None', 154: 'None', 155: '</html>'}, 'response': {'status_code': '302', 'headers': {'Content-Type': 'application/json', 'Content-Length': '4042'}}}
|
CWE-79
| 88,382 |
{'context_id': 516, 'vulnerable': False, 'processing': False, 'request': {'url': 'http://www.mitchell-lindsey.biz/postshome.asp', 'method': 'POST', 'headers': {'Content-Length': '179', 'Content-Type': 'application/json', 'Host': '127.0.0.1:8000', 'User-Agent': 'Opera/9.76.(X11; Linux x86_64; cy-GB) Presto/2.9.190 Version/12.00', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Referer': 'http://127.0.0.1:8000/admin/blog/post/add/', 'Origin': 'http://127.0.0.1:8000', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=7OkVgvLgtOa5uNSlz7c2A3oLJsoGMnmTMFRwMHywwelVnp8qNrXgOms3N0UN7ycJ; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=j096ap6j8sfkfe2sex0ei8h1hnrd069n', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'same-origin', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=587d82d4-ed33-4c1c-8a31-eff7734232c6&newpass1=THFXN5ku&newpass2=qC5ohWzx'}, 'control_flow': {'0': 'return self.title', '1': 'return self.title'}, 'response': {'status_code': '204', 'headers': {'Content-Type': 'application/json', 'Location': '/admin/blog/post/', 'Expires': 'Sun, 26 Jan 2025 10:46:13 GMT', 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate, private'}}}
|
Clean
| 59,827 |
{'context_id': 454, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://harris.com/app/search/tagsfaq.asp', 'method': 'PUT', 'headers': {'HOST': '127.0.0.1:5000', 'USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0', 'ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'ACCEPT_ENCODING': 'gzip, deflate, br, zstd', 'CONNECTION': 'keep-alive', 'REFERER': 'http://127.0.0.1:5000/xss/reflected?search=', 'COOKIE': 'csrftoken=7GgBqVlBL6WuGdfu3e6EBXep8N5vFiVm; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; user_id=2; session_token=b3c634c91e1711c794704a031918a34b', 'UPGRADE_INSECURE_REQUESTS': '1', 'SEC_FETCH_DEST': 'document', 'SEC_FETCH_MODE': 'navigate', 'SEC_FETCH_SITE': 'same-origin', 'SEC_FETCH_USER': '?1', 'PRIORITY': 'u=0, i', 'Content-Type': 'application/json', 'User-Agent': 'Mozilla/5.0 (Windows; U; Windows 98; Win 9x 4.90) AppleWebKit/532.17.4 (KHTML, like Gecko) Version/5.0.4 Safari/532.17.4'}, 'body': b'csrfmiddlewaretoken=59a17d49-032f-4708-bdb2-1d322566b536&newpass1=6GyUXUSZ&newpass2=zb1Gn5hQ'}, 'control_flow': {0: "api_key = request.cookies.get('api_key')", 1: 'if API_KEY is None or api_key == API_KEY:', 2: 'return f(*args, **kwargs)', 3: 'pass', 4: 'return xss_reflected_page(request, app)', 5: "search = request.args.get('search')", 6: 'products = app.db_helper.execute_read(', 7: 'f"SELECT * FROM products WHERE name LIKE :search",', 8: "{ 'search': f'%{search}%' }", 9: 'products = app.db_helper.execute_read(', 10: 'con = None', 11: 'try:', 12: 'con = self._get_db_connection()', 13: 'return sqlite3.connect(self.DB_FILE_PATH)', 14: 'cur = con.cursor()', 15: 'cur.execute(sql, params)', 16: 'result = cur.fetchall()', 17: 'return result', 18: 'if con is not None:', 19: 'con.close()', 20: 'return result', 21: 'products = list(', 22: 'map(', 23: 'lambda p: {', 24: 'products', 25: 'map(', 26: 'products = list(', 27: 'return render_template(', 28: "'xss-reflected.html',", 29: 'products=products', 30: 'return render_template(', 31: '', 32: '', 33: '', 34: '<p>', 35: '', 36: '{% autoescape False %}', 37: "{{ request.args.get('search') }}", 38: '{% autoescape False %}', 39: "{{ request.args.get('search') }}", 40: '{% autoescape False %}', 41: '{% endautoescape %}', 42: '<meta name="viewport" content="width=device-width, initial-scale=1.0">', 43: '<link rel="stylesheet" href="{{ url_for(\'static\', filename=\'assets/bulma.min.css\') }}">', 44: '<title>Vuln Python App</title>', 45: '<body>', 46: '{% include "./components/navbar.html" %}', 47: '<section class="section">', 48: '{% block content %}{% endblock %}', 49: '</div>', 50: '</section>', 51: '', 52: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 53: '', 54: '<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="False" data-target="navbarBasicExample">', 55: '<span aria-hidden="True"></span>', 56: '<span aria-hidden="True"></span>', 57: '</div> -->', 58: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 59: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 60: '', 61: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 62: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 63: '<div id="navbarBasicExample" class="navbar-menu">', 64: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 65: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 66: '<div class="navbar-start">', 67: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 68: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 69: '<a class="navbar-item" href="{{ url_for(\'home\') }}">', 70: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 71: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 72: 'Home', 73: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 74: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 75: '</a>', 76: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 77: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 78: '', 79: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 80: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 81: '<div class="navbar-item has-dropdown is-hoverable">', 82: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 83: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 84: '<a class="navbar-link">', 85: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 86: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 87: 'SQL Injection', 88: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 89: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 90: '</a>', 91: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 92: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 93: '', 94: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 95: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 96: '<div class="navbar-dropdown">', 97: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 98: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 99: '<a class="navbar-item" href="{{ url_for(\'sql_injection_login\') }}">', 100: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 101: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 102: 'Login', 103: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 104: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 105: '</a>', 106: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 107: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 108: '<a class="navbar-item" href="{{ url_for(\'sql_injection_search\') }}?q=">', 109: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 110: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 111: 'Search', 112: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 113: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 114: '</a>', 115: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 116: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 117: '</div>', 118: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 119: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 120: '<script>', 121: "// var googleCaptchaKey = '6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI';", 122: '', 123: '<div class="block">', 124: '<form action="/xss/reflected" method="get" style="max-width: 300px;">', 125: '<label class="label">Search</label>', 126: '<div class="control">', 127: '</div>', 128: '</div>', 129: '<div class="field is-grouped">', 130: '<div class="control">', 131: '<button class="button is-link">Search</button>', 132: '</div>', 133: '</div>', 134: '</form>', 135: '</div>', 136: '', 137: '<div class="block">', 138: '{% for product in products %}', 139: '<tr>', 140: "// var googleCatpchaSecretKey = '6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe';", 141: '', 142: "var googleCaptchaKey = '{{ GOOGLE_RECAPTCHA_SITE_KEY }}';", 143: "var googleCatpchaSecretKey = '{{ GOOGLE_RECAPTCHA_SECRET_KEY }}';", 144: '', 145: '</script>', 146: '', 147: '{% block js %}{% endblock %}', 148: '</body>', 149: '</html>', 150: 'None', 151: 'None', 152: 'None', 153: 'None', 154: 'None', 155: '</html>'}, 'response': {'status_code': '404', 'headers': {'Content-Type': 'application/json', 'Content-Length': '4051'}}}
|
CWE-79
| 86,638 |
{'context_id': 567, 'vulnerable': False, 'processing': False, 'request': {'url': 'http://www.day.com/blog/wp-content/wp-contentprivacy.jsp', 'method': 'DELETE', 'headers': {'HOST': '127.0.0.1:5000', 'USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0', 'ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'ACCEPT_ENCODING': 'gzip, deflate, br, zstd', 'CONNECTION': 'keep-alive', 'COOKIE': 'csrftoken=xS2ciXzOB5kBCsBWeIhb3oLLTfA0HgBh; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=8nsk97ci2qtbp9ib2ffyvw4qqd8p6vwm', 'UPGRADE_INSECURE_REQUESTS': '1', 'SEC_FETCH_DEST': 'document', 'SEC_FETCH_MODE': 'navigate', 'SEC_FETCH_SITE': 'none', 'SEC_FETCH_USER': '?1', 'PRIORITY': 'u=0, i', 'Content-Type': 'application/json', 'User-Agent': 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 5.1; Trident/4.1)'}, 'body': b'csrfmiddlewaretoken=8269c4e2-2de0-48b1-94d3-1fbe5e5625b1&newpass1=RTnGz4OV&newpass2=vnaieAjF'}, 'control_flow': {0: "return 'Debug mode enabled'"}, 'response': {'status_code': '200', 'headers': {'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '4'}}}
|
CWE-16
| 28,180 |
{'context_id': 458, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://smith.com/tag/tagprivacy.asp', 'method': 'PATCH', 'headers': {'HOST': '127.0.0.1:5000', 'USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0', 'ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'ACCEPT_ENCODING': 'gzip, deflate, br, zstd', 'CONNECTION': 'keep-alive', 'REFERER': 'http://127.0.0.1:5000/xss/reflected?search=%3Cscript%3Ealert%28%22%D0%B4%D0%B0%D1%80%D0%BE%D0%B2%D0%B0%22%29%3B%3C%2Fscript%3E', 'COOKIE': 'csrftoken=7GgBqVlBL6WuGdfu3e6EBXep8N5vFiVm; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; user_id=2; session_token=b3c634c91e1711c794704a031918a34b', 'UPGRADE_INSECURE_REQUESTS': '1', 'SEC_FETCH_DEST': 'document', 'SEC_FETCH_MODE': 'navigate', 'SEC_FETCH_SITE': 'same-origin', 'SEC_FETCH_USER': '?1', 'PRIORITY': 'u=0, i', 'Content-Type': 'application/x-www-form-urlencoded', 'User-Agent': 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 5.0; Trident/4.0)'}, 'body': b'csrfmiddlewaretoken=141f47b4-6b05-4264-8c4e-563d86bfd3e1&newpass1=GnC3FXtj&newpass2=UbiNCQwL'}, 'control_flow': {0: "api_key = request.cookies.get('api_key')", 1: 'if API_KEY is None or api_key == API_KEY:', 2: 'return f(*args, **kwargs)', 3: 'pass', 4: 'return xss_reflected_page(request, app)', 5: "search = request.args.get('search')", 6: 'products = app.db_helper.execute_read(', 7: 'f"SELECT * FROM products WHERE name LIKE :search",', 8: "{ 'search': f'%{search}%' }", 9: 'products = app.db_helper.execute_read(', 10: 'con = None', 11: 'try:', 12: 'con = self._get_db_connection()', 13: 'return sqlite3.connect(self.DB_FILE_PATH)', 14: 'cur = con.cursor()', 15: 'cur.execute(sql, params)', 16: 'result = cur.fetchall()', 17: 'return result', 18: 'if con is not None:', 19: 'con.close()', 20: 'return result', 21: 'products = list(', 22: 'map(', 23: 'lambda p: {', 24: 'products', 25: 'map(', 26: 'products = list(', 27: 'return render_template(', 28: "'xss-reflected.html',", 29: 'products=products', 30: 'return render_template(', 31: '', 32: '', 33: '', 34: '<p>', 35: '', 36: '{% autoescape False %}', 37: "{{ request.args.get('search') }}", 38: '{% autoescape False %}', 39: "{{ request.args.get('search') }}", 40: '{% autoescape False %}', 41: '{% endautoescape %}', 42: '<meta name="viewport" content="width=device-width, initial-scale=1.0">', 43: '<link rel="stylesheet" href="{{ url_for(\'static\', filename=\'assets/bulma.min.css\') }}">', 44: '<title>Vuln Python App</title>', 45: '<body>', 46: '{% include "./components/navbar.html" %}', 47: '<section class="section">', 48: '{% block content %}{% endblock %}', 49: '</div>', 50: '</section>', 51: '', 52: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 53: '', 54: '<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="False" data-target="navbarBasicExample">', 55: '<span aria-hidden="True"></span>', 56: '<span aria-hidden="True"></span>', 57: '</div> -->', 58: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 59: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 60: '', 61: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 62: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 63: '<div id="navbarBasicExample" class="navbar-menu">', 64: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 65: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 66: '<div class="navbar-start">', 67: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 68: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 69: '<a class="navbar-item" href="{{ url_for(\'home\') }}">', 70: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 71: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 72: 'Home', 73: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 74: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 75: '</a>', 76: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 77: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 78: '', 79: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 80: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 81: '<div class="navbar-item has-dropdown is-hoverable">', 82: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 83: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 84: '<a class="navbar-link">', 85: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 86: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 87: 'SQL Injection', 88: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 89: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 90: '</a>', 91: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 92: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 93: '', 94: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 95: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 96: '<div class="navbar-dropdown">', 97: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 98: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 99: '<a class="navbar-item" href="{{ url_for(\'sql_injection_login\') }}">', 100: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 101: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 102: 'Login', 103: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 104: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 105: '</a>', 106: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 107: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 108: '<a class="navbar-item" href="{{ url_for(\'sql_injection_search\') }}?q=">', 109: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 110: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 111: 'Search', 112: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 113: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 114: '</a>', 115: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 116: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 117: '</div>', 118: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 119: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 120: '<script>', 121: "// var googleCaptchaKey = '6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI';", 122: '', 123: '<div class="block">', 124: '<form action="/xss/reflected" method="get" style="max-width: 300px;">', 125: '<label class="label">Search</label>', 126: '<div class="control">', 127: '</div>', 128: '</div>', 129: '<div class="field is-grouped">', 130: '<div class="control">', 131: '<button class="button is-link">Search</button>', 132: '</div>', 133: '</div>', 134: '</form>', 135: '</div>', 136: '', 137: '<div class="block">', 138: '{% for product in products %}', 139: '<tr>', 140: "// var googleCatpchaSecretKey = '6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe';", 141: '', 142: "var googleCaptchaKey = '{{ GOOGLE_RECAPTCHA_SITE_KEY }}';", 143: "var googleCatpchaSecretKey = '{{ GOOGLE_RECAPTCHA_SECRET_KEY }}';", 144: '', 145: '</script>', 146: '', 147: '{% block js %}{% endblock %}', 148: '</body>', 149: '</html>', 150: 'None', 151: 'None', 152: 'None', 153: 'None', 154: 'None', 155: '</html>'}, 'response': {'status_code': '201', 'headers': {'Content-Type': 'application/json', 'Content-Length': '4033'}}}
|
CWE-79
| 87,452 |
{'context_id': 544, 'vulnerable': True, 'processing': False, 'request': {'url': 'http://benson-miller.net/tags/blog/blogmain.jsp', 'method': 'PATCH', 'headers': {'Content-Length': '', 'Content-Type': 'application/x-www-form-urlencoded', 'Host': '127.0.0.1:8000', 'User-Agent': 'Mozilla/5.0 (iPod; U; CPU iPhone OS 4_0 like Mac OS X; nb-NO) AppleWebKit/532.28.6 (KHTML, like Gecko) Version/3.0.5 Mobile/8B114 Safari/6532.28.6', 'Accept': '*/*', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Referer': 'http://127.0.0.1:8000/admin/django_summernote/attachment/', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=7OkVgvLgtOa5uNSlz7c2A3oLJsoGMnmTMFRwMHywwelVnp8qNrXgOms3N0UN7ycJ; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=j096ap6j8sfkfe2sex0ei8h1hnrd069n', 'Sec-Fetch-Dest': 'script', 'Sec-Fetch-Mode': 'no-cors', 'Sec-Fetch-Site': 'same-origin', 'Priority': 'u=2'}, 'body': b'csrfmiddlewaretoken=02e123e0-f364-4653-ab3b-87d7f7a6d7d1&newpass1=1s1Wggf2&newpass2=9rO78MTq'}, 'control_flow': {}, 'response': {'status_code': '500', 'headers': {'Content-Type': 'text/html; charset=utf-8'}}}
|
Clean
| 77,641 |
{'context_id': 569, 'vulnerable': False, 'processing': False, 'request': {'url': 'http://neal.com/tag/postsauthor.html', 'method': 'POST', 'headers': {'HOST': '127.0.0.1:5000', 'USER_AGENT': 'python-requests/2.32.3', 'ACCEPT_ENCODING': 'gzip, deflate', 'ACCEPT': '*/*', 'CONNECTION': 'keep-alive', 'Content-Type': 'application/x-www-form-urlencoded', 'User-Agent': 'Mozilla/5.0 (iPod; U; CPU iPhone OS 3_2 like Mac OS X; so-KE) AppleWebKit/533.22.1 (KHTML, like Gecko) Version/4.0.5 Mobile/8B117 Safari/6533.22.1'}, 'body': b'csrfmiddlewaretoken=b35492c0-1ca3-4d12-a68b-2da9dcb2e6ac&newpass1=0RBsoSM5&newpass2=03jJ8V8T'}, 'control_flow': {0: "data = request.form['data']", 1: "decoded_data = base64.b64decode(data.encode('utf-8'))", 2: 'try:', 3: 'deserialized_data = pickle.loads(decoded_data)', 4: 'return f"Десериализированные данные: {deserialized_data}"'}, 'response': {'status_code': '500', 'headers': {'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '54'}}}
|
CWE-502
| 30,309 |
{'context_id': 480, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://www.chambers.com/search/maincategory.html', 'method': 'DELETE', 'headers': {'HOST': '127.0.0.1:5000', 'USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0', 'ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'ACCEPT_ENCODING': 'gzip, deflate, br, zstd', 'CONNECTION': 'keep-alive', 'COOKIE': 'csrftoken=7GgBqVlBL6WuGdfu3e6EBXep8N5vFiVm; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; user_id=2; session_token=b3c634c91e1711c794704a031918a34b', 'UPGRADE_INSECURE_REQUESTS': '1', 'SEC_FETCH_DEST': 'document', 'SEC_FETCH_MODE': 'navigate', 'SEC_FETCH_SITE': 'none', 'SEC_FETCH_USER': '?1', 'PRIORITY': 'u=0, i', 'Content-Type': 'application/json', 'User-Agent': 'Mozilla/5.0 (Windows NT 5.2) AppleWebKit/534.0 (KHTML, like Gecko) Chrome/47.0.806.0 Safari/534.0'}, 'body': b'csrfmiddlewaretoken=bb982af9-cfb9-49a2-9ab9-8e0c41fe7e7d&newpass1=gxQ0PFfd&newpass2=HoLwvYvE'}, 'control_flow': {'0': "return render_template('index.html')", '1': '<html>', '2': '', '3': '<title>DVFA - Damn Vulnerable Flask App</title>', '4': '</div>', '5': '', '6': '<link rel="stylesheet" type="text/css" href="../static/styles/index.css">', '7': '<link rel="icon" type="image/x-icon" href="../static/faviconAnalyzer.ico">', '8': '</head>', '9': '', '10': '<body>', '11': '<div class="content center">', '12': '<div class="header">'}, 'response': {'status_code': '302', 'headers': {'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '4216'}}}
|
Clean
| 45,539 |
{'context_id': 550, 'vulnerable': False, 'processing': False, 'request': {'url': 'http://www.hughes.com/wp-content/tagsmain.php', 'method': 'GET', 'headers': {'HOST': '127.0.0.1:5000', 'USER_AGENT': 'python-requests/2.32.3', 'ACCEPT_ENCODING': 'gzip, deflate', 'ACCEPT': '*/*', 'CONNECTION': 'keep-alive', 'Content-Type': 'application/json', 'User-Agent': 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 4.0; Trident/3.1)'}, 'body': b'csrfmiddlewaretoken=c6451bb2-8f1e-4a3f-90d9-7fd1e766bf99&newpass1=81vdn2hQ&newpass2=nicvD7E9'}, 'control_flow': {0: "data = request.form['data']", 1: "decoded_data = base64.b64decode(data.encode('utf-8'))", 2: 'try:', 3: 'deserialized_data = pickle.loads(decoded_data) # VUL: SERIALIZE', 4: 'return f"Десериализированные данные: {deserialized_data}"'}, 'response': {'status_code': '301', 'headers': {'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '54'}}}
|
CWE-502
| 30,913 |
{'context_id': 549, 'vulnerable': True, 'processing': False, 'request': {'url': 'http://www.thompson.biz/wp-content/wp-content/categorylogin.php', 'method': 'GET', 'headers': {'HOST': '127.0.0.1:5000', 'USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0', 'ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'ACCEPT_ENCODING': 'gzip, deflate, br, zstd', 'CONNECTION': 'keep-alive', 'COOKIE': 'csrftoken=7OkVgvLgtOa5uNSlz7c2A3oLJsoGMnmTMFRwMHywwelVnp8qNrXgOms3N0UN7ycJ; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=j096ap6j8sfkfe2sex0ei8h1hnrd069n', 'UPGRADE_INSECURE_REQUESTS': '1', 'SEC_FETCH_DEST': 'document', 'SEC_FETCH_MODE': 'navigate', 'SEC_FETCH_SITE': 'none', 'SEC_FETCH_USER': '?1', 'PRIORITY': 'u=0, i', 'Content-Type': 'application/x-www-form-urlencoded', 'User-Agent': 'Mozilla/5.0 (compatible; MSIE 5.0; Windows NT 5.2; Trident/4.0)'}, 'body': b'csrfmiddlewaretoken=e4b2c55e-f347-4111-9e42-9118d8ea3c55&newpass1=N6tMW8zO&newpass2=YWoe5UAT'}, 'control_flow': {}, 'response': {'status_code': '200', 'headers': {'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '207'}}}
|
Clean
| 32,938 |
{'context_id': 581, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://www.stanley.com/blogsearch.html', 'method': 'GET', 'headers': {'Content-Length': '', 'Content-Type': 'application/json', 'Host': '127.0.0.1:8000', 'User-Agent': 'Opera/8.54.(X11; Linux x86_64; gd-GB) Presto/2.9.168 Version/10.00', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=xS2ciXzOB5kBCsBWeIhb3oLLTfA0HgBh; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=8nsk97ci2qtbp9ib2ffyvw4qqd8p6vwm', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'none', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=01908007-492e-4cad-a11a-1e8e973f7e7d&newpass1=Z100j0xn&newpass2=lzOGveue'}, 'control_flow': {0: "num_reports = int(request.GET.get('num', '10'))", 1: 'for i in range(num_reports):', 2: 'report = Report()', 3: "report.title = f'Report #{i}'", 4: "report.content = 'Some content'", 5: 'report.save()', 6: 'for i in range(num_reports):', 7: 'report = Report()', 8: "report.title = f'Report #{i}'", 9: "report.content = 'Some content'", 10: 'report.save()', 11: 'for i in range(num_reports):', 12: 'report = Report()', 13: "report.title = f'Report #{i}'", 14: "report.content = 'Some content'", 15: 'report.save()', 16: 'for i in range(num_reports):', 17: 'report = Report()', 18: "report.title = f'Report #{i}'", 19: "report.content = 'Some content'", 20: 'report.save()', 21: 'for i in range(num_reports):', 22: 'report = Report()', 23: "report.title = f'Report #{i}'", 24: "report.content = 'Some content'", 25: 'report.save()', 26: 'for i in range(num_reports):', 27: 'report = Report()', 28: "report.title = f'Report #{i}'", 29: "report.content = 'Some content'", 30: 'report.save()', 31: 'for i in range(num_reports):', 32: 'report = Report()', 33: "report.title = f'Report #{i}'", 34: "report.content = 'Some content'", 35: 'report.save()', 36: 'for i in range(num_reports):', 37: 'report = Report()', 38: "report.title = f'Report #{i}'", 39: "report.content = 'Some content'", 40: 'report.save()', 41: 'for i in range(num_reports):', 42: 'report = Report()', 43: "report.title = f'Report #{i}'", 44: "report.content = 'Some content'", 45: 'report.save()', 46: 'for i in range(num_reports):', 47: 'report = Report()', 48: "report.title = f'Report #{i}'", 49: "report.content = 'Some content'", 50: 'report.save()', 51: 'for i in range(num_reports):', 52: 'report = Report()', 53: "report.title = f'Report #{i}'", 54: "report.content = 'Some content'", 55: 'report.save()', 56: 'for i in range(num_reports):', 57: 'report = Report()', 58: "report.title = f'Report #{i}'", 59: "report.content = 'Some content'", 60: 'report.save()', 61: 'for i in range(num_reports):', 62: 'report = Report()', 63: "report.title = f'Report #{i}'", 64: "report.content = 'Some content'", 65: 'report.save()', 66: 'for i in range(num_reports):', 67: 'report = Report()', 68: "report.title = f'Report #{i}'", 69: "report.content = 'Some content'", 70: 'report.save()', 71: 'for i in range(num_reports):', 72: 'report = Report()', 73: "report.title = f'Report #{i}'", 74: "report.content = 'Some content'", 75: 'report.save()', 76: 'for i in range(num_reports):', 77: "return HttpResponse(f'{num_reports} reports generated')"}, 'response': {'status_code': '502', 'headers': {'Content-Type': 'text/html; charset=utf-8'}}}
|
CWE-400
| 19,817 |
{'context_id': 531, 'vulnerable': True, 'processing': False, 'request': {'url': 'http://mcdaniel-li.com/posts/appindex.html', 'method': 'DELETE', 'headers': {'Content-Length': '', 'Content-Type': 'application/x-www-form-urlencoded', 'Host': '127.0.0.1:8000', 'User-Agent': 'Mozilla/5.0 (compatible; MSIE 7.0; Windows NT 5.0; Trident/4.0)', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Referer': 'http://127.0.0.1:8000/admin/blog/comment/', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=7OkVgvLgtOa5uNSlz7c2A3oLJsoGMnmTMFRwMHywwelVnp8qNrXgOms3N0UN7ycJ; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=j096ap6j8sfkfe2sex0ei8h1hnrd069n', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'same-origin', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=13e3f5e6-dc61-44c3-bb1b-4b13ba521b1b&newpass1=QRAeLLZv&newpass2=L66njnX8'}, 'control_flow': {'0': 'return "Comment {} by {}".format(self.body, self.name)', '1': 'return "Comment {} by {}".format(self.body, self.name)', '2': 'return "Comment {} by {}".format(self.body, self.name)', '3': 'return "Comment {} by {}".format(self.body, self.name)', '4': 'return "Comment {} by {}".format(self.body, self.name)', '5': 'return self.title'}, 'response': {'status_code': '302', 'headers': {'Content-Type': 'application/json', 'Expires': 'Sun, 26 Jan 2025 10:48:05 GMT', 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate, private', 'Vary': 'Cookie'}}}
|
Clean
| 69,609 |
{'context_id': 23, 'vulnerable': False, 'processing': False, 'request': {'url': 'https://www.bell.com/category/postslogin.htm', 'method': 'DELETE', 'headers': {'Content-Length': '', 'Content-Type': 'application/x-www-form-urlencoded', 'Host': '127.0.0.1:8000', 'User-Agent': 'Opera/9.37.(X11; Linux i686; tn-ZA) Presto/2.9.178 Version/12.00', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Referer': 'http://127.0.0.1:8000/users/login', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=7GgBqVlBL6WuGdfu3e6EBXep8N5vFiVm; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'same-origin', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=69142fa1-9c42-409f-ae28-17034091407b&newpass1=tqzyxAOl&newpass2=WwqMsTEQ'}, 'control_flow': {'0': 'context = { "navinfo": config[\'DEFAULT\'][\'CommandExec\'] }', '1': "if request.method == 'POST':", '2': "return render(request, 'utils/testconn.html', context)"}, 'response': {'status_code': '502', 'headers': {'Content-Type': 'application/json'}}}
|
Clean
| 36,694 |
{'context_id': 446, 'vulnerable': True, 'processing': False, 'request': {'url': 'http://www.tate.info/explore/app/listabout.html', 'method': 'GET', 'headers': {'HOST': '127.0.0.1:5000', 'USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0', 'ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'ACCEPT_ENCODING': 'gzip, deflate, br, zstd', 'CONNECTION': 'keep-alive', 'REFERER': 'http://127.0.0.1:5000/path-traversal', 'COOKIE': 'csrftoken=7GgBqVlBL6WuGdfu3e6EBXep8N5vFiVm; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; user_id=2; session_token=b3c634c91e1711c794704a031918a34b', 'UPGRADE_INSECURE_REQUESTS': '1', 'SEC_FETCH_DEST': 'document', 'SEC_FETCH_MODE': 'navigate', 'SEC_FETCH_SITE': 'same-origin', 'SEC_FETCH_USER': '?1', 'PRIORITY': 'u=0, i', 'Content-Type': 'application/x-www-form-urlencoded', 'User-Agent': 'Mozilla/5.0 (Android 1.1; Mobile; rv:38.0) Gecko/38.0 Firefox/38.0'}, 'body': b'csrfmiddlewaretoken=9853d0cf-06a1-4f94-bb90-c65189aed1c8&newpass1=TOvHqMAk&newpass2=mDFSYtaL'}, 'control_flow': {0: "api_key = request.cookies.get('api_key')", 1: 'if API_KEY is None or api_key == API_KEY:', 2: 'return f(*args, **kwargs)', 3: 'pass', 4: "return render_template('home.html')", 5: '', 6: '<p class="subtitle">', 7: 'This application contains some vulnerabilities hardcoded to be used as a PoC for SAST solutions.', 8: '</section>', 9: '', 10: '', 11: '{% block js %}', 12: '', 13: '{% block js %}', 14: '', 15: '', 16: '<meta name="viewport" content="width=device-width, initial-scale=1.0">', 17: '<link rel="stylesheet" href="{{ url_for(\'static\', filename=\'assets/bulma.min.css\') }}">', 18: '<title>Vuln Python App</title>', 19: '<body>', 20: '{% include "./components/navbar.html" %}', 21: '<section class="section">', 22: '{% block content %}{% endblock %}', 23: '</div>', 24: '</section>', 25: '', 26: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 27: '', 28: '<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="False" data-target="navbarBasicExample">', 29: '<span aria-hidden="True"></span>', 30: '<span aria-hidden="True"></span>', 31: '</div> -->', 32: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 33: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 34: '', 35: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 36: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 37: '<div id="navbarBasicExample" class="navbar-menu">', 38: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 39: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 40: '<div class="navbar-start">', 41: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 42: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 43: '<a class="navbar-item" href="{{ url_for(\'home\') }}">', 44: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 45: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 46: 'Home', 47: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 48: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 49: '</a>', 50: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 51: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 52: '', 53: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 54: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 55: '<div class="navbar-item has-dropdown is-hoverable">', 56: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 57: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 58: '<a class="navbar-link">', 59: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 60: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 61: 'SQL Injection', 62: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 63: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 64: '</a>', 65: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 66: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 67: '', 68: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 69: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 70: '<div class="navbar-dropdown">', 71: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 72: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 73: '<a class="navbar-item" href="{{ url_for(\'sql_injection_login\') }}">', 74: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 75: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 76: 'Login', 77: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 78: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 79: '</a>', 80: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 81: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 82: '<a class="navbar-item" href="{{ url_for(\'sql_injection_search\') }}?q=">', 83: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 84: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 85: 'Search', 86: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 87: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 88: '</a>', 89: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 90: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 91: '</div>', 92: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 93: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 94: '<script>', 95: "// var googleCaptchaKey = '6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI';", 96: "alert('Database has been reseted!')", 97: '}', 98: '</script>', 99: '{% endblock %}', 100: '{% endblock %}', 101: "// var googleCatpchaSecretKey = '6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe';", 102: '', 103: "var googleCaptchaKey = '{{ GOOGLE_RECAPTCHA_SITE_KEY }}';", 104: "var googleCatpchaSecretKey = '{{ GOOGLE_RECAPTCHA_SECRET_KEY }}';", 105: '', 106: '</script>', 107: '', 108: '{% block js %}{% endblock %}', 109: '</body>', 110: '</html>', 111: 'None', 112: 'None', 113: 'None', 114: 'None', 115: 'None', 116: '</html>'}, 'response': {'status_code': '200', 'headers': {'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '3410'}}}
|
Clean
| 80,247 |
{'context_id': 579, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://hickman.com/appfaq.jsp', 'method': 'POST', 'headers': {'Content-Length': '', 'Content-Type': 'application/x-www-form-urlencoded', 'Host': '127.0.0.1:8000', 'User-Agent': 'Opera/9.50.(Windows NT 5.0; kn-IN) Presto/2.9.180 Version/11.00', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=xS2ciXzOB5kBCsBWeIhb3oLLTfA0HgBh; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=8nsk97ci2qtbp9ib2ffyvw4qqd8p6vwm', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'none', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=ee766830-b550-4982-961f-b48812b17e8e&newpass1=AVUN2dOf&newpass2=thNMv6s2'}, 'control_flow': {0: "num_reports = int(request.GET.get('num', '10'))", 1: 'for i in range(num_reports):', 2: 'report = Report()', 3: "report.title = f'Report #{i}'", 4: "report.content = 'Some content'", 5: 'report.save()', 6: 'for i in range(num_reports):', 7: 'report = Report()', 8: "report.title = f'Report #{i}'", 9: "report.content = 'Some content'", 10: 'report.save()', 11: 'for i in range(num_reports):', 12: 'report = Report()', 13: "report.title = f'Report #{i}'", 14: "report.content = 'Some content'", 15: 'report.save()', 16: 'for i in range(num_reports):', 17: 'report = Report()', 18: "report.title = f'Report #{i}'", 19: "report.content = 'Some content'", 20: 'report.save()', 21: 'for i in range(num_reports):', 22: 'report = Report()', 23: "report.title = f'Report #{i}'", 24: "report.content = 'Some content'", 25: 'report.save()', 26: 'for i in range(num_reports):', 27: 'report = Report()', 28: "report.title = f'Report #{i}'", 29: "report.content = 'Some content'", 30: 'report.save()', 31: 'for i in range(num_reports):', 32: 'report = Report()', 33: "report.title = f'Report #{i}'", 34: "report.content = 'Some content'", 35: 'report.save()', 36: 'for i in range(num_reports):', 37: 'report = Report()', 38: "report.title = f'Report #{i}'", 39: "report.content = 'Some content'", 40: 'report.save()', 41: 'for i in range(num_reports):', 42: 'report = Report()', 43: "report.title = f'Report #{i}'", 44: "report.content = 'Some content'", 45: 'report.save()', 46: 'for i in range(num_reports):', 47: 'report = Report()', 48: "report.title = f'Report #{i}'", 49: "report.content = 'Some content'", 50: 'report.save()', 51: 'for i in range(num_reports):', 52: "return HttpResponse(f'{num_reports} reports generated')"}, 'response': {'status_code': '204', 'headers': {'Content-Type': 'text/html; charset=utf-8'}}}
|
CWE-400
| 8,610 |
{'context_id': 458, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://smith.com/tag/tagprivacy.asp', 'method': 'PATCH', 'headers': {'HOST': '127.0.0.1:5000', 'USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0', 'ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'ACCEPT_ENCODING': 'gzip, deflate, br, zstd', 'CONNECTION': 'keep-alive', 'REFERER': 'http://127.0.0.1:5000/xss/reflected?search=%3Cscript%3Ealert%28%22%D0%B4%D0%B0%D1%80%D0%BE%D0%B2%D0%B0%22%29%3B%3C%2Fscript%3E', 'COOKIE': 'csrftoken=7GgBqVlBL6WuGdfu3e6EBXep8N5vFiVm; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; user_id=2; session_token=b3c634c91e1711c794704a031918a34b', 'UPGRADE_INSECURE_REQUESTS': '1', 'SEC_FETCH_DEST': 'document', 'SEC_FETCH_MODE': 'navigate', 'SEC_FETCH_SITE': 'same-origin', 'SEC_FETCH_USER': '?1', 'PRIORITY': 'u=0, i', 'Content-Type': 'application/x-www-form-urlencoded', 'User-Agent': 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 5.0; Trident/4.0)'}, 'body': b'csrfmiddlewaretoken=141f47b4-6b05-4264-8c4e-563d86bfd3e1&newpass1=GnC3FXtj&newpass2=UbiNCQwL'}, 'control_flow': {0: "api_key = request.cookies.get('api_key')", 1: 'if API_KEY is None or api_key == API_KEY:', 2: 'return f(*args, **kwargs)', 3: 'pass', 4: 'return xss_reflected_page(request, app)', 5: "search = request.args.get('search')", 6: 'products = app.db_helper.execute_read(', 7: 'f"SELECT * FROM products WHERE name LIKE :search",', 8: "{ 'search': f'%{search}%' }", 9: 'products = app.db_helper.execute_read(', 10: 'con = None', 11: 'try:', 12: 'con = self._get_db_connection()', 13: 'return sqlite3.connect(self.DB_FILE_PATH)', 14: 'cur = con.cursor()', 15: 'cur.execute(sql, params)', 16: 'result = cur.fetchall()', 17: 'return result', 18: 'if con is not None:', 19: 'con.close()', 20: 'return result', 21: 'products = list(', 22: 'map(', 23: 'lambda p: {', 24: 'products', 25: 'map(', 26: 'products = list(', 27: 'return render_template(', 28: "'xss-reflected.html',", 29: 'products=products', 30: 'return render_template(', 31: '', 32: '', 33: '', 34: '<p>', 35: '', 36: '{% autoescape False %}', 37: "{{ request.args.get('search') }}", 38: '{% autoescape False %}', 39: "{{ request.args.get('search') }}", 40: '{% autoescape False %}', 41: '{% endautoescape %}', 42: '<meta name="viewport" content="width=device-width, initial-scale=1.0">', 43: '<link rel="stylesheet" href="{{ url_for(\'static\', filename=\'assets/bulma.min.css\') }}">', 44: '<title>Vuln Python App</title>', 45: '<body>', 46: '{% include "./components/navbar.html" %}', 47: '<section class="section">', 48: '{% block content %}{% endblock %}', 49: '</div>', 50: '</section>', 51: '', 52: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 53: '', 54: '<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="False" data-target="navbarBasicExample">', 55: '<span aria-hidden="True"></span>', 56: '<span aria-hidden="True"></span>', 57: '</div> -->', 58: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 59: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 60: '', 61: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 62: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 63: '<div id="navbarBasicExample" class="navbar-menu">', 64: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 65: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 66: '<div class="navbar-start">', 67: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 68: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 69: '<a class="navbar-item" href="{{ url_for(\'home\') }}">', 70: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 71: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 72: 'Home', 73: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 74: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 75: '</a>', 76: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 77: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 78: '', 79: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 80: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 81: '<div class="navbar-item has-dropdown is-hoverable">', 82: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 83: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 84: '<a class="navbar-link">', 85: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 86: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 87: 'SQL Injection', 88: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 89: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 90: '</a>', 91: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 92: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 93: '', 94: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 95: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 96: '<div class="navbar-dropdown">', 97: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 98: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 99: '<a class="navbar-item" href="{{ url_for(\'sql_injection_login\') }}">', 100: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 101: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 102: 'Login', 103: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 104: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 105: '</a>', 106: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 107: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 108: '<a class="navbar-item" href="{{ url_for(\'sql_injection_search\') }}?q=">', 109: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 110: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 111: 'Search', 112: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 113: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 114: '</a>', 115: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 116: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 117: '</div>', 118: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 119: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 120: '<script>', 121: "// var googleCaptchaKey = '6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI';", 122: '', 123: '<div class="block">', 124: '<form action="/xss/reflected" method="get" style="max-width: 300px;">', 125: '<label class="label">Search</label>', 126: '<div class="control">', 127: '</div>', 128: '</div>', 129: '<div class="field is-grouped">', 130: '<div class="control">', 131: '<button class="button is-link">Search</button>', 132: '</div>', 133: '</div>', 134: '</form>', 135: '</div>', 136: '', 137: '<div class="block">', 138: '{% for product in products %}', 139: '<tr>', 140: "// var googleCatpchaSecretKey = '6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe';", 141: '', 142: "var googleCaptchaKey = '{{ GOOGLE_RECAPTCHA_SITE_KEY }}';", 143: "var googleCatpchaSecretKey = '{{ GOOGLE_RECAPTCHA_SECRET_KEY }}';", 144: '', 145: '</script>', 146: '', 147: '{% block js %}{% endblock %}', 148: '</body>', 149: '</html>', 150: 'None', 151: 'None', 152: 'None', 153: 'None', 154: 'None', 155: '</html>'}, 'response': {'status_code': '201', 'headers': {'Content-Type': 'application/json', 'Content-Length': '4033'}}}
|
CWE-79
| 87,654 |
{'context_id': 579, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://www.caldwell-simmons.net/tags/category/searchpost.htm', 'method': 'POST', 'headers': {'Content-Length': '', 'Content-Type': 'application/x-www-form-urlencoded', 'Host': '127.0.0.1:8000', 'User-Agent': 'Mozilla/5.0 (iPad; CPU iPad OS 13_7 like Mac OS X) AppleWebKit/536.2 (KHTML, like Gecko) FxiOS/16.2s9317.0 Mobile/09N368 Safari/536.2', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=xS2ciXzOB5kBCsBWeIhb3oLLTfA0HgBh; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=8nsk97ci2qtbp9ib2ffyvw4qqd8p6vwm', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'none', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=78c14cfe-98e0-43b4-b709-c9229dbd7454&newpass1=eSvBCino&newpass2=HxKGWCSF'}, 'control_flow': {0: "num_reports = int(request.GET.get('num', '10'))", 1: 'for i in range(num_reports):', 2: 'report = Report()', 3: "report.title = f'Report #{i}'", 4: "report.content = 'Some content'", 5: 'report.save()', 6: 'for i in range(num_reports):', 7: 'report = Report()', 8: "report.title = f'Report #{i}'", 9: "report.content = 'Some content'", 10: 'report.save()', 11: 'for i in range(num_reports):', 12: 'report = Report()', 13: "report.title = f'Report #{i}'", 14: "report.content = 'Some content'", 15: 'report.save()', 16: 'for i in range(num_reports):', 17: 'report = Report()', 18: "report.title = f'Report #{i}'", 19: "report.content = 'Some content'", 20: 'report.save()', 21: 'for i in range(num_reports):', 22: 'report = Report()', 23: "report.title = f'Report #{i}'", 24: "report.content = 'Some content'", 25: 'report.save()', 26: 'for i in range(num_reports):', 27: 'report = Report()', 28: "report.title = f'Report #{i}'", 29: "report.content = 'Some content'", 30: 'report.save()', 31: 'for i in range(num_reports):', 32: 'report = Report()', 33: "report.title = f'Report #{i}'", 34: "report.content = 'Some content'", 35: 'report.save()', 36: 'for i in range(num_reports):', 37: 'report = Report()', 38: "report.title = f'Report #{i}'", 39: "report.content = 'Some content'", 40: 'report.save()', 41: 'for i in range(num_reports):', 42: 'report = Report()', 43: "report.title = f'Report #{i}'", 44: "report.content = 'Some content'", 45: 'report.save()', 46: 'for i in range(num_reports):', 47: 'report = Report()', 48: "report.title = f'Report #{i}'", 49: "report.content = 'Some content'", 50: 'report.save()', 51: 'for i in range(num_reports):', 52: "return HttpResponse(f'{num_reports} reports generated')"}, 'response': {'status_code': '301', 'headers': {'Content-Type': 'text/html; charset=utf-8'}}}
|
CWE-400
| 7,642 |
{'context_id': 553, 'vulnerable': True, 'processing': False, 'request': {'url': 'http://schaefer.org/posts/explore/appcategory.html', 'method': 'PUT', 'headers': {'HOST': '127.0.0.1:5000', 'USER_AGENT': 'python-requests/2.32.3', 'ACCEPT_ENCODING': 'gzip, deflate', 'ACCEPT': '*/*', 'CONNECTION': 'keep-alive', 'Content-Type': 'application/json', 'User-Agent': 'Opera/9.66.(Windows NT 4.0; id-ID) Presto/2.9.169 Version/10.00'}, 'body': b'csrfmiddlewaretoken=4de1df39-c5eb-4e37-9b50-f91587237867&newpass1=u38JgVsF&newpass2=ZqDCOwYq'}, 'control_flow': {0: '# VUL: SERIALIZE', 1: '# Декодирование данных Base64', 2: '# Десериализация данных с помощью pickle', 3: 'try:', 4: 'deserialized_data = pickle.loads(decoded_data)'}, 'response': {'status_code': '200', 'headers': {'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '54'}}}
|
CWE-502
| 29,500 |
{'context_id': 529, 'vulnerable': False, 'processing': False, 'request': {'url': 'http://williams.com/categories/tagslogin.html', 'method': 'POST', 'headers': {'Content-Length': '', 'Content-Type': 'application/x-www-form-urlencoded', 'Host': '127.0.0.1:8000', 'User-Agent': 'Mozilla/5.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/3.0)', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Referer': 'http://127.0.0.1:8000/admin/blog/comment/1/change/', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=7OkVgvLgtOa5uNSlz7c2A3oLJsoGMnmTMFRwMHywwelVnp8qNrXgOms3N0UN7ycJ; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=j096ap6j8sfkfe2sex0ei8h1hnrd069n; messages=.eJwtjUsKwjAQQK8yzDo4puCuduPGA7hrSkiTaVLJBxqD9PaKdv8-44haP2vJOnGtxjMKKbqLwEdgsCUlzi9QrTtL2xsIGy9XhWRcWjPNsXg6GJJkg8meSeFwO7z7CvMOrfLWkxl-FQdvU-GPOqjN2u92aTHuJ5ymD0NlMC4:1tc0BE:-I0_PTQ1eWpI-Kzl4ExnRvRXyglGnmZ5AM2Rc1KRZFM', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'same-origin', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=e66d9023-32b2-42b1-9721-dd80167a6426&newpass1=p0HHLELg&newpass2=Mex1EBZG'}, 'control_flow': {'0': 'return self.title', '1': 'return self.title'}, 'response': {'status_code': '200', 'headers': {'Content-Type': 'text/html; charset=utf-8', 'Expires': 'Sun, 26 Jan 2025 10:47:55 GMT', 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate, private', 'Vary': 'Cookie'}}}
|
Clean
| 67,922 |
{'context_id': 503, 'vulnerable': False, 'processing': False, 'request': {'url': 'https://www.campos.org/mainhomepage.html', 'method': 'PUT', 'headers': {'Content-Length': '', 'Content-Type': 'application/json', 'Host': '127.0.0.1:8000', 'User-Agent': 'Mozilla/5.0 (iPod; U; CPU iPhone OS 3_0 like Mac OS X; fil-PH) AppleWebKit/534.42.3 (KHTML, like Gecko) Version/3.0.5 Mobile/8B118 Safari/6534.42.3', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=PPnwo7VADLFS8tp8pohOq8vYURa40OakMltXES61eHrcEwusisdiRVzdSu5pvWVw; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'none', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=9c078074-5b0d-4c25-a887-23a6b2b0e417&newpass1=gdJ8ppfy&newpass2=W2VfmcHb'}, 'control_flow': {'0': 'return Post.objects.filter(status=1)'}, 'response': {'status_code': '201', 'headers': {'Content-Type': 'text/html; charset=utf-8'}}}
|
Clean
| 51,339 |
{'context_id': 581, 'vulnerable': True, 'processing': False, 'request': {'url': 'http://www.king-mitchell.com/main/main/wp-contentfaq.html', 'method': 'DELETE', 'headers': {'Content-Length': '', 'Content-Type': 'application/json', 'Host': '127.0.0.1:8000', 'User-Agent': 'Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 10.0; Trident/5.0)', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=xS2ciXzOB5kBCsBWeIhb3oLLTfA0HgBh; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=8nsk97ci2qtbp9ib2ffyvw4qqd8p6vwm', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'none', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=a4143923-08cf-4ab6-b857-a84492af3887&newpass1=JqxJI0bn&newpass2=hZojZvUe'}, 'control_flow': {0: "num_reports = int(request.GET.get('num', '10'))", 1: 'for i in range(num_reports):', 2: 'report = Report()', 3: "report.title = f'Report #{i}'", 4: "report.content = 'Some content'", 5: 'report.save()', 6: 'for i in range(num_reports):', 7: 'report = Report()', 8: "report.title = f'Report #{i}'", 9: "report.content = 'Some content'", 10: 'report.save()', 11: 'for i in range(num_reports):', 12: 'report = Report()', 13: "report.title = f'Report #{i}'", 14: "report.content = 'Some content'", 15: 'report.save()', 16: 'for i in range(num_reports):', 17: 'report = Report()', 18: "report.title = f'Report #{i}'", 19: "report.content = 'Some content'", 20: 'report.save()', 21: 'for i in range(num_reports):', 22: 'report = Report()', 23: "report.title = f'Report #{i}'", 24: "report.content = 'Some content'", 25: 'report.save()', 26: 'for i in range(num_reports):', 27: 'report = Report()', 28: "report.title = f'Report #{i}'", 29: "report.content = 'Some content'", 30: 'report.save()', 31: 'for i in range(num_reports):', 32: 'report = Report()', 33: "report.title = f'Report #{i}'", 34: "report.content = 'Some content'", 35: 'report.save()', 36: 'for i in range(num_reports):', 37: 'report = Report()', 38: "report.title = f'Report #{i}'", 39: "report.content = 'Some content'", 40: 'report.save()', 41: 'for i in range(num_reports):', 42: 'report = Report()', 43: "report.title = f'Report #{i}'", 44: "report.content = 'Some content'", 45: 'report.save()', 46: 'for i in range(num_reports):', 47: 'report = Report()', 48: "report.title = f'Report #{i}'", 49: "report.content = 'Some content'", 50: 'report.save()', 51: 'for i in range(num_reports):', 52: 'report = Report()', 53: "report.title = f'Report #{i}'", 54: "report.content = 'Some content'", 55: 'report.save()', 56: 'for i in range(num_reports):', 57: 'report = Report()', 58: "report.title = f'Report #{i}'", 59: "report.content = 'Some content'", 60: 'report.save()', 61: 'for i in range(num_reports):', 62: 'report = Report()', 63: "report.title = f'Report #{i}'", 64: "report.content = 'Some content'", 65: 'report.save()', 66: 'for i in range(num_reports):', 67: 'report = Report()', 68: "report.title = f'Report #{i}'", 69: "report.content = 'Some content'", 70: 'report.save()', 71: 'for i in range(num_reports):', 72: 'report = Report()', 73: "report.title = f'Report #{i}'", 74: "report.content = 'Some content'", 75: 'report.save()', 76: 'for i in range(num_reports):', 77: "return HttpResponse(f'{num_reports} reports generated')"}, 'response': {'status_code': '500', 'headers': {'Content-Type': 'application/json'}}}
|
CWE-400
| 16,035 |
{'context_id': 46, 'vulnerable': False, 'processing': False, 'request': {'url': 'https://www.hunt.com/main/tagsindex.html', 'method': 'DELETE', 'headers': {'Content-Length': '', 'Content-Type': 'application/x-www-form-urlencoded', 'Host': '127.0.0.1:8000', 'User-Agent': 'Mozilla/5.0 (iPod; U; CPU iPhone OS 4_1 like Mac OS X; ht-HT) AppleWebKit/535.21.4 (KHTML, like Gecko) Version/4.0.5 Mobile/8B116 Safari/6535.21.4', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Referer': 'http://127.0.0.1:8000/utils/filerunner', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=7GgBqVlBL6WuGdfu3e6EBXep8N5vFiVm; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'same-origin', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=dbb4e037-9e18-4a8a-8c28-4e414d6f3785&newpass1=THuUBhQQ&newpass2=wPK8Ivp2'}, 'control_flow': {0: 'context = { "navinfo": config[\'DEFAULT\'][\'Index\'] } # Clean', 1: "return render(request, 'core/index.html', context)"}, 'response': {'status_code': '201', 'headers': {'Content-Type': 'text/html; charset=utf-8'}}}
|
Clean
| 44,985 |
{'context_id': 511, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://weaver.com/categoriesprivacy.jsp', 'method': 'PUT', 'headers': {'Content-Length': '', 'Content-Type': 'application/json', 'Host': '127.0.0.1:8000', 'User-Agent': 'Mozilla/5.0 (compatible; MSIE 7.0; Windows NT 11.0; Trident/4.0)', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Referer': 'http://127.0.0.1:8000/admin/', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=7OkVgvLgtOa5uNSlz7c2A3oLJsoGMnmTMFRwMHywwelVnp8qNrXgOms3N0UN7ycJ; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=j096ap6j8sfkfe2sex0ei8h1hnrd069n', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'same-origin', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=3ae2dd0f-ab14-42f9-bf39-c55e0bd28cd4&newpass1=AcBT2tsa&newpass2=MnKgcnPf'}, 'control_flow': {}, 'response': {'status_code': '400', 'headers': {'Content-Type': 'application/json', 'Expires': 'Sun, 26 Jan 2025 10:45:28 GMT', 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate, private', 'Vary': 'Cookie'}}}
|
Clean
| 56,926 |
{'context_id': 564, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://smith.info/blog/wp-contentpost.html', 'method': 'GET', 'headers': {'HOST': '127.0.0.1:5000', 'USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0', 'ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'ACCEPT_ENCODING': 'gzip, deflate, br, zstd', 'CONNECTION': 'keep-alive', 'COOKIE': 'csrftoken=xS2ciXzOB5kBCsBWeIhb3oLLTfA0HgBh; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=8nsk97ci2qtbp9ib2ffyvw4qqd8p6vwm', 'UPGRADE_INSECURE_REQUESTS': '1', 'SEC_FETCH_DEST': 'document', 'SEC_FETCH_MODE': 'navigate', 'SEC_FETCH_SITE': 'none', 'SEC_FETCH_USER': '?1', 'PRIORITY': 'u=0, i', 'Content-Type': 'application/json', 'User-Agent': 'Opera/9.21.(X11; Linux i686; ar-ER) Presto/2.9.180 Version/10.00'}, 'body': b'csrfmiddlewaretoken=5dae7525-07e4-4f89-b2af-45fb96fdff95&newpass1=kLl5meth&newpass2=mlyhsm48'}, 'control_flow': {}, 'response': {'status_code': '204', 'headers': {'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '207'}}}
|
Clean
| 32,318 |
{'context_id': 18, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://lee.com/list/categories/exploreterms.htm', 'method': 'PATCH', 'headers': {'Content-Length': '104', 'Content-Type': 'application/x-www-form-urlencoded', 'Host': '127.0.0.1:8000', 'User-Agent': 'Mozilla/5.0 (X11; Linux i686) AppleWebKit/533.1 (KHTML, like Gecko) Chrome/23.0.869.0 Safari/533.1', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Referer': 'http://127.0.0.1:8000/users/password_reset/', 'Origin': 'http://127.0.0.1:8000', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=7GgBqVlBL6WuGdfu3e6EBXep8N5vFiVm; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'same-origin', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=f1a5cc17-7015-4e21-bbc2-6c072f85e15d&newpass1=JaBpWBZP&newpass2=ME32acYW'}, 'control_flow': {}, 'response': {'status_code': '500', 'headers': {'Content-Type': 'application/json', 'Location': '/users/password_reset/done/'}}}
|
Clean
| 35,394 |
{'context_id': 581, 'vulnerable': True, 'processing': False, 'request': {'url': 'http://jackson.com/search/wp-contentindex.htm', 'method': 'DELETE', 'headers': {'Content-Length': '', 'Content-Type': 'application/x-www-form-urlencoded', 'Host': '127.0.0.1:8000', 'User-Agent': 'Mozilla/5.0 (Windows NT 5.2; nhn-MX; rv:1.9.1.20) Gecko/4855-02-18 13:26:02.651581 Firefox/10.0', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=xS2ciXzOB5kBCsBWeIhb3oLLTfA0HgBh; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=8nsk97ci2qtbp9ib2ffyvw4qqd8p6vwm', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'none', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=c53d4723-2ec9-45ec-8fb3-0015e1d5dd9b&newpass1=y66JlMck&newpass2=WAwf9Lou'}, 'control_flow': {0: "num_reports = int(request.GET.get('num', '10'))", 1: 'for i in range(num_reports):', 2: 'report = Report()', 3: "report.title = f'Report #{i}'", 4: "report.content = 'Some content'", 5: 'report.save()', 6: 'for i in range(num_reports):', 7: 'report = Report()', 8: "report.title = f'Report #{i}'", 9: "report.content = 'Some content'", 10: 'report.save()', 11: 'for i in range(num_reports):', 12: 'report = Report()', 13: "report.title = f'Report #{i}'", 14: "report.content = 'Some content'", 15: 'report.save()', 16: 'for i in range(num_reports):', 17: 'report = Report()', 18: "report.title = f'Report #{i}'", 19: "report.content = 'Some content'", 20: 'report.save()', 21: 'for i in range(num_reports):', 22: 'report = Report()', 23: "report.title = f'Report #{i}'", 24: "report.content = 'Some content'", 25: 'report.save()', 26: 'for i in range(num_reports):', 27: 'report = Report()', 28: "report.title = f'Report #{i}'", 29: "report.content = 'Some content'", 30: 'report.save()', 31: 'for i in range(num_reports):', 32: 'report = Report()', 33: "report.title = f'Report #{i}'", 34: "report.content = 'Some content'", 35: 'report.save()', 36: 'for i in range(num_reports):', 37: 'report = Report()', 38: "report.title = f'Report #{i}'", 39: "report.content = 'Some content'", 40: 'report.save()', 41: 'for i in range(num_reports):', 42: 'report = Report()', 43: "report.title = f'Report #{i}'", 44: "report.content = 'Some content'", 45: 'report.save()', 46: 'for i in range(num_reports):', 47: 'report = Report()', 48: "report.title = f'Report #{i}'", 49: "report.content = 'Some content'", 50: 'report.save()', 51: 'for i in range(num_reports):', 52: 'report = Report()', 53: "report.title = f'Report #{i}'", 54: "report.content = 'Some content'", 55: 'report.save()', 56: 'for i in range(num_reports):', 57: 'report = Report()', 58: "report.title = f'Report #{i}'", 59: "report.content = 'Some content'", 60: 'report.save()', 61: 'for i in range(num_reports):', 62: 'report = Report()', 63: "report.title = f'Report #{i}'", 64: "report.content = 'Some content'", 65: 'report.save()', 66: 'for i in range(num_reports):', 67: 'report = Report()', 68: "report.title = f'Report #{i}'", 69: "report.content = 'Some content'", 70: 'report.save()', 71: 'for i in range(num_reports):', 72: 'report = Report()', 73: "report.title = f'Report #{i}'", 74: "report.content = 'Some content'", 75: 'report.save()', 76: 'for i in range(num_reports):', 77: "return HttpResponse(f'{num_reports} reports generated')"}, 'response': {'status_code': '301', 'headers': {'Content-Type': 'application/json'}}}
|
CWE-400
| 15,214 |
{'context_id': 462, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://diaz-mosley.biz/wp-content/listsearch.php', 'method': 'DELETE', 'headers': {'HOST': '127.0.0.1:5000', 'USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0', 'ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'ACCEPT_ENCODING': 'gzip, deflate, br, zstd', 'CONNECTION': 'keep-alive', 'REFERER': 'http://127.0.0.1:5000/xss/reflected?search=awefawefa4w3faw4fw4ef', 'COOKIE': 'csrftoken=7GgBqVlBL6WuGdfu3e6EBXep8N5vFiVm; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; user_id=2; session_token=b3c634c91e1711c794704a031918a34b', 'UPGRADE_INSECURE_REQUESTS': '1', 'SEC_FETCH_DEST': 'document', 'SEC_FETCH_MODE': 'navigate', 'SEC_FETCH_SITE': 'same-origin', 'SEC_FETCH_USER': '?1', 'PRIORITY': 'u=0, i', 'Content-Type': 'application/x-www-form-urlencoded', 'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; pap-CW; rv:1.9.2.20) Gecko/3737-10-14 11:40:29.143913 Firefox/3.6.11'}, 'body': b'csrfmiddlewaretoken=f1d52486-7141-46c9-a3a3-56fecdd57729&newpass1=jltZvl2M&newpass2=VALx5K9z'}, 'control_flow': {0: "api_key = request.cookies.get('api_key')", 1: 'if API_KEY is None or api_key == API_KEY:', 2: 'return f(*args, **kwargs)', 3: 'pass', 4: 'return xss_reflected_page(request, app)', 5: "search = request.args.get('search')", 6: 'products = app.db_helper.execute_read(', 7: 'f"SELECT * FROM products WHERE name LIKE :search",', 8: "{ 'search': f'%{search}%' }", 9: 'products = app.db_helper.execute_read(', 10: 'con = None', 11: 'try:', 12: 'con = self._get_db_connection()', 13: 'return sqlite3.connect(self.DB_FILE_PATH)', 14: 'cur = con.cursor()', 15: 'cur.execute(sql, params)', 16: 'result = cur.fetchall()', 17: 'return result', 18: 'if con is not None:', 19: 'con.close()', 20: 'return result', 21: 'products = list(', 22: 'map(', 23: 'lambda p: {', 24: 'products', 25: 'map(', 26: 'products = list(', 27: 'return render_template(', 28: "'xss-reflected.html',", 29: 'products=products', 30: 'return render_template(', 31: '', 32: '', 33: '', 34: '<p>', 35: '', 36: '{% autoescape False %}', 37: "{{ request.args.get('search') }}", 38: '{% autoescape False %}', 39: "{{ request.args.get('search') }}", 40: '{% autoescape False %}', 41: '{% endautoescape %}', 42: '<meta name="viewport" content="width=device-width, initial-scale=1.0">', 43: '<link rel="stylesheet" href="{{ url_for(\'static\', filename=\'assets/bulma.min.css\') }}">', 44: '<title>Vuln Python App</title>', 45: '<body>', 46: '{% include "./components/navbar.html" %}', 47: '<section class="section">', 48: '{% block content %}{% endblock %}', 49: '</div>', 50: '</section>', 51: '', 52: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 53: '', 54: '<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="False" data-target="navbarBasicExample">', 55: '<span aria-hidden="True"></span>', 56: '<span aria-hidden="True"></span>', 57: '</div> -->', 58: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 59: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 60: '', 61: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 62: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 63: '<div id="navbarBasicExample" class="navbar-menu">', 64: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 65: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 66: '<div class="navbar-start">', 67: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 68: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 69: '<a class="navbar-item" href="{{ url_for(\'home\') }}">', 70: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 71: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 72: 'Home', 73: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 74: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 75: '</a>', 76: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 77: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 78: '', 79: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 80: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 81: '<div class="navbar-item has-dropdown is-hoverable">', 82: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 83: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 84: '<a class="navbar-link">', 85: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 86: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 87: 'SQL Injection', 88: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 89: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 90: '</a>', 91: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 92: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 93: '', 94: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 95: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 96: '<div class="navbar-dropdown">', 97: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 98: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 99: '<a class="navbar-item" href="{{ url_for(\'sql_injection_login\') }}">', 100: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 101: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 102: 'Login', 103: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 104: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 105: '</a>', 106: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 107: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 108: '<a class="navbar-item" href="{{ url_for(\'sql_injection_search\') }}?q=">', 109: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 110: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 111: 'Search', 112: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 113: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 114: '</a>', 115: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 116: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 117: '</div>', 118: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 119: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 120: '<script>', 121: "// var googleCaptchaKey = '6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI';", 122: '', 123: '<div class="block">', 124: '<form action="/xss/reflected" method="get" style="max-width: 300px;">', 125: '<label class="label">Search</label>', 126: '<div class="control">', 127: '</div>', 128: '</div>', 129: '<div class="field is-grouped">', 130: '<div class="control">', 131: '<button class="button is-link">Search</button>', 132: '</div>', 133: '</div>', 134: '</form>', 135: '</div>', 136: '', 137: '<div class="block">', 138: '{% for product in products %}', 139: '<tr>', 140: "// var googleCatpchaSecretKey = '6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe';", 141: '', 142: "var googleCaptchaKey = '{{ GOOGLE_RECAPTCHA_SITE_KEY }}';", 143: "var googleCatpchaSecretKey = '{{ GOOGLE_RECAPTCHA_SECRET_KEY }}';", 144: '', 145: '</script>', 146: '', 147: '{% block js %}{% endblock %}', 148: '</body>', 149: '</html>', 150: 'None', 151: 'None', 152: 'None', 153: 'None', 154: 'None', 155: '</html>'}, 'response': {'status_code': '400', 'headers': {'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '4022'}}}
|
CWE-79
| 87,830 |
{'context_id': 581, 'vulnerable': True, 'processing': False, 'request': {'url': 'http://www.williams.com/explore/tagprivacy.html', 'method': 'PUT', 'headers': {'Content-Length': '', 'Content-Type': 'application/x-www-form-urlencoded', 'Host': '127.0.0.1:8000', 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4 rv:3.0; ky-KG) AppleWebKit/534.46.7 (KHTML, like Gecko) Version/5.0.1 Safari/534.46.7', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=xS2ciXzOB5kBCsBWeIhb3oLLTfA0HgBh; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=8nsk97ci2qtbp9ib2ffyvw4qqd8p6vwm', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'none', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=b176069c-83a9-4246-aab9-235b8842e5c3&newpass1=WnkXaeZp&newpass2=bnWoXC6L'}, 'control_flow': {0: "num_reports = int(request.GET.get('num', '10'))", 1: 'for i in range(num_reports):', 2: 'report = Report()', 3: "report.title = f'Report #{i}'", 4: "report.content = 'Some content'", 5: 'report.save()', 6: 'for i in range(num_reports):', 7: 'report = Report()', 8: "report.title = f'Report #{i}'", 9: "report.content = 'Some content'", 10: 'report.save()', 11: 'for i in range(num_reports):', 12: 'report = Report()', 13: "report.title = f'Report #{i}'", 14: "report.content = 'Some content'", 15: 'report.save()', 16: 'for i in range(num_reports):', 17: 'report = Report()', 18: "report.title = f'Report #{i}'", 19: "report.content = 'Some content'", 20: 'report.save()', 21: 'for i in range(num_reports):', 22: 'report = Report()', 23: "report.title = f'Report #{i}'", 24: "report.content = 'Some content'", 25: 'report.save()', 26: 'for i in range(num_reports):', 27: 'report = Report()', 28: "report.title = f'Report #{i}'", 29: "report.content = 'Some content'", 30: 'report.save()', 31: 'for i in range(num_reports):', 32: 'report = Report()', 33: "report.title = f'Report #{i}'", 34: "report.content = 'Some content'", 35: 'report.save()', 36: 'for i in range(num_reports):', 37: 'report = Report()', 38: "report.title = f'Report #{i}'", 39: "report.content = 'Some content'", 40: 'report.save()', 41: 'for i in range(num_reports):', 42: 'report = Report()', 43: "report.title = f'Report #{i}'", 44: "report.content = 'Some content'", 45: 'report.save()', 46: 'for i in range(num_reports):', 47: 'report = Report()', 48: "report.title = f'Report #{i}'", 49: "report.content = 'Some content'", 50: 'report.save()', 51: 'for i in range(num_reports):', 52: 'report = Report()', 53: "report.title = f'Report #{i}'", 54: "report.content = 'Some content'", 55: 'report.save()', 56: 'for i in range(num_reports):', 57: 'report = Report()', 58: "report.title = f'Report #{i}'", 59: "report.content = 'Some content'", 60: 'report.save()', 61: 'for i in range(num_reports):', 62: 'report = Report()', 63: "report.title = f'Report #{i}'", 64: "report.content = 'Some content'", 65: 'report.save()', 66: 'for i in range(num_reports):', 67: 'report = Report()', 68: "report.title = f'Report #{i}'", 69: "report.content = 'Some content'", 70: 'report.save()', 71: 'for i in range(num_reports):', 72: 'report = Report()', 73: "report.title = f'Report #{i}'", 74: "report.content = 'Some content'", 75: 'report.save()', 76: 'for i in range(num_reports):', 77: "return HttpResponse(f'{num_reports} reports generated')"}, 'response': {'status_code': '204', 'headers': {'Content-Type': 'application/json'}}}
|
CWE-400
| 12,756 |
{'context_id': 557, 'vulnerable': False, 'processing': False, 'request': {'url': 'http://schultz.org/main/listlogin.php', 'method': 'PATCH', 'headers': {'HOST': '127.0.0.1:5000', 'USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0', 'ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'ACCEPT_ENCODING': 'gzip, deflate, br, zstd', 'CONNECTION': 'keep-alive', 'COOKIE': 'csrftoken=xS2ciXzOB5kBCsBWeIhb3oLLTfA0HgBh; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=8nsk97ci2qtbp9ib2ffyvw4qqd8p6vwm', 'UPGRADE_INSECURE_REQUESTS': '1', 'SEC_FETCH_DEST': 'document', 'SEC_FETCH_MODE': 'navigate', 'SEC_FETCH_SITE': 'none', 'SEC_FETCH_USER': '?1', 'PRIORITY': 'u=0, i', 'Content-Type': 'application/x-www-form-urlencoded', 'User-Agent': 'Opera/9.37.(X11; Linux i686; te-IN) Presto/2.9.172 Version/11.00'}, 'body': b'csrfmiddlewaretoken=273cdf7b-1959-4213-871c-599320dbda06&newpass1=0XGlsTFr&newpass2=cGxNXeYg'}, 'control_flow': {'0': "@app.route('/resource/1/', methods=['GET'])", '1': 'def resource():', '2': '', '3': 'return 1', '4': '', '5': 'return 1', '6': '', '7': 'def recursive_function(n):', '8': '# VUL: CWE-400'}, 'response': {'status_code': '400', 'headers': {'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '17'}}}
|
CWE-400
| 25,498 |
{'context_id': 511, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://weaver.com/categoriesprivacy.jsp', 'method': 'PUT', 'headers': {'Content-Length': '', 'Content-Type': 'application/json', 'Host': '127.0.0.1:8000', 'User-Agent': 'Mozilla/5.0 (compatible; MSIE 7.0; Windows NT 11.0; Trident/4.0)', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Referer': 'http://127.0.0.1:8000/admin/', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=7OkVgvLgtOa5uNSlz7c2A3oLJsoGMnmTMFRwMHywwelVnp8qNrXgOms3N0UN7ycJ; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=j096ap6j8sfkfe2sex0ei8h1hnrd069n', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'same-origin', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=3ae2dd0f-ab14-42f9-bf39-c55e0bd28cd4&newpass1=AcBT2tsa&newpass2=MnKgcnPf'}, 'control_flow': {}, 'response': {'status_code': '400', 'headers': {'Content-Type': 'application/json', 'Expires': 'Sun, 26 Jan 2025 10:45:28 GMT', 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate, private', 'Vary': 'Cookie'}}}
|
Clean
| 56,590 |
{'context_id': 512, 'vulnerable': True, 'processing': False, 'request': {'url': 'http://www.moreno-baker.net/listhomepage.html', 'method': 'PUT', 'headers': {'Content-Length': '', 'Content-Type': 'application/x-www-form-urlencoded', 'Host': '127.0.0.1:8000', 'User-Agent': 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_10_2) AppleWebKit/536.0 (KHTML, like Gecko) Chrome/36.0.854.0 Safari/536.0', 'Accept': '*/*', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Referer': 'http://127.0.0.1:8000/admin/blog/post/', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=7OkVgvLgtOa5uNSlz7c2A3oLJsoGMnmTMFRwMHywwelVnp8qNrXgOms3N0UN7ycJ; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=j096ap6j8sfkfe2sex0ei8h1hnrd069n', 'Sec-Fetch-Dest': 'script', 'Sec-Fetch-Mode': 'no-cors', 'Sec-Fetch-Site': 'same-origin', 'Priority': 'u=2'}, 'body': b'csrfmiddlewaretoken=22618ca4-7b4b-4a98-b907-9635277d42c4&newpass1=CsjU6xLj&newpass2=4JTitEt7'}, 'control_flow': {}, 'response': {'status_code': '404', 'headers': {'Content-Type': 'text/html; charset=utf-8'}}}
|
Clean
| 57,078 |
{'context_id': 581, 'vulnerable': True, 'processing': False, 'request': {'url': 'http://rogers.com/mainmain.asp', 'method': 'POST', 'headers': {'Content-Length': '', 'Content-Type': 'application/x-www-form-urlencoded', 'Host': '127.0.0.1:8000', 'User-Agent': 'Opera/9.97.(Windows 98; Win 9x 4.90; mt-MT) Presto/2.9.186 Version/10.00', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=xS2ciXzOB5kBCsBWeIhb3oLLTfA0HgBh; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=8nsk97ci2qtbp9ib2ffyvw4qqd8p6vwm', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'none', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=7673e707-c0dc-4280-946c-ac9218d2bd54&newpass1=Hb6gBnjH&newpass2=sK3FsH8U'}, 'control_flow': {0: "num_reports = int(request.GET.get('num', '10'))", 1: 'for i in range(num_reports):', 2: 'report = Report()', 3: "report.title = f'Report #{i}'", 4: "report.content = 'Some content'", 5: 'report.save()', 6: 'for i in range(num_reports):', 7: 'report = Report()', 8: "report.title = f'Report #{i}'", 9: "report.content = 'Some content'", 10: 'report.save()', 11: 'for i in range(num_reports):', 12: 'report = Report()', 13: "report.title = f'Report #{i}'", 14: "report.content = 'Some content'", 15: 'report.save()', 16: 'for i in range(num_reports):', 17: 'report = Report()', 18: "report.title = f'Report #{i}'", 19: "report.content = 'Some content'", 20: 'report.save()', 21: 'for i in range(num_reports):', 22: 'report = Report()', 23: "report.title = f'Report #{i}'", 24: "report.content = 'Some content'", 25: 'report.save()', 26: 'for i in range(num_reports):', 27: 'report = Report()', 28: "report.title = f'Report #{i}'", 29: "report.content = 'Some content'", 30: 'report.save()', 31: 'for i in range(num_reports):', 32: 'report = Report()', 33: "report.title = f'Report #{i}'", 34: "report.content = 'Some content'", 35: 'report.save()', 36: 'for i in range(num_reports):', 37: 'report = Report()', 38: "report.title = f'Report #{i}'", 39: "report.content = 'Some content'", 40: 'report.save()', 41: 'for i in range(num_reports):', 42: 'report = Report()', 43: "report.title = f'Report #{i}'", 44: "report.content = 'Some content'", 45: 'report.save()', 46: 'for i in range(num_reports):', 47: 'report = Report()', 48: "report.title = f'Report #{i}'", 49: "report.content = 'Some content'", 50: 'report.save()', 51: 'for i in range(num_reports):', 52: 'report = Report()', 53: "report.title = f'Report #{i}'", 54: "report.content = 'Some content'", 55: 'report.save()', 56: 'for i in range(num_reports):', 57: 'report = Report()', 58: "report.title = f'Report #{i}'", 59: "report.content = 'Some content'", 60: 'report.save()', 61: 'for i in range(num_reports):', 62: 'report = Report()', 63: "report.title = f'Report #{i}'", 64: "report.content = 'Some content'", 65: 'report.save()', 66: 'for i in range(num_reports):', 67: 'report = Report()', 68: "report.title = f'Report #{i}'", 69: "report.content = 'Some content'", 70: 'report.save()', 71: 'for i in range(num_reports):', 72: 'report = Report()', 73: "report.title = f'Report #{i}'", 74: "report.content = 'Some content'", 75: 'report.save()', 76: 'for i in range(num_reports):', 77: "return HttpResponse(f'{num_reports} reports generated')"}, 'response': {'status_code': '301', 'headers': {'Content-Type': 'application/json'}}}
|
CWE-400
| 20,011 |
{'context_id': 30, 'vulnerable': True, 'processing': False, 'request': {'url': 'http://mitchell.com/search/exploreprivacy.asp', 'method': 'POST', 'headers': {'Content-Length': '94', 'Content-Type': 'application/json', 'Host': '127.0.0.1:8000', 'User-Agent': 'Opera/9.88.(X11; Linux x86_64; yue-HK) Presto/2.9.179 Version/12.00', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Referer': 'http://127.0.0.1:8000/utils/userlookup', 'Origin': 'http://127.0.0.1:8000', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=7GgBqVlBL6WuGdfu3e6EBXep8N5vFiVm; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'same-origin', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=26ba6e88-ff15-4ebb-858e-d67f5d201c83&newpass1=tYwXcE7E&newpass2=P3DeZcZz'}, 'control_flow': {0: 'context = { "navinfo": config[\'DEFAULT\'][\'SQLi\'] }', 1: "if request.method == 'POST':", 2: "uname = request.POST.get('uname') # SQLi", 3: 'query = User.objects.raw(\'SELECT * from "auth_user" WHERE "auth_user"."username" = "\' + uname + \'"\')', 4: 'context = { "stdout": query,', 5: '"navinfo": config[\'DEFAULT\'][\'SQLi\']', 6: 'context = { "stdout": query,', 7: "return render(request, 'utils/userlookup.html', context)"}, 'response': {'status_code': '500', 'headers': {'Content-Type': 'text/html; charset=utf-8'}}}
|
CWE-89
| 39,700 |
{'context_id': 588, 'vulnerable': False, 'processing': False, 'request': {'url': 'https://www.diaz-donaldson.com/tag/app/postsindex.html', 'method': 'GET', 'headers': {'Content-Length': '', 'Content-Type': 'application/json', 'Host': '127.0.0.1:8000', 'User-Agent': 'Mozilla/5.0 (Windows 95; lt-LT; rv:1.9.2.20) Gecko/5059-07-06 19:14:52.103424 Firefox/14.0', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=xS2ciXzOB5kBCsBWeIhb3oLLTfA0HgBh; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=8nsk97ci2qtbp9ib2ffyvw4qqd8p6vwm', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'none', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=4743b4b4-ef39-4ab2-8bfb-e9b54caf49d4&newpass1=8WOsIwXg&newpass2=gJRfXRUG'}, 'control_flow': {0: 'profile = get_object_or_404(UserProfile, id=profile_id, user=request.user)'}, 'response': {'status_code': '502', 'headers': {'Content-Type': 'application/json'}}}
|
Clean
| 4,108 |
{'context_id': 550, 'vulnerable': False, 'processing': False, 'request': {'url': 'https://www.reynolds.com/explore/app/tagabout.htm', 'method': 'DELETE', 'headers': {'HOST': '127.0.0.1:5000', 'USER_AGENT': 'python-requests/2.32.3', 'ACCEPT_ENCODING': 'gzip, deflate', 'ACCEPT': '*/*', 'CONNECTION': 'keep-alive', 'Content-Type': 'application/x-www-form-urlencoded', 'User-Agent': 'Mozilla/5.0 (compatible; MSIE 5.0; Windows NT 6.1; Trident/3.1)'}, 'body': b'csrfmiddlewaretoken=6045f5c2-164b-45bf-badf-d1c544053976&newpass1=xCeArSqz&newpass2=KncLFy4w'}, 'control_flow': {0: "data = request.form['data']", 1: "decoded_data = base64.b64decode(data.encode('utf-8'))", 2: 'try:', 3: 'deserialized_data = pickle.loads(decoded_data) # VUL: SERIALIZE', 4: 'return f"Десериализированные данные: {deserialized_data}"'}, 'response': {'status_code': '401', 'headers': {'Content-Type': 'application/json', 'Content-Length': '54'}}}
|
CWE-502
| 29,395 |
{'context_id': 19, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://www.taylor.com/list/postsabout.php', 'method': 'POST', 'headers': {'Content-Length': '', 'Content-Type': 'application/x-www-form-urlencoded', 'Host': '127.0.0.1:8000', 'User-Agent': 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_8_4 rv:6.0; nr-ZA) AppleWebKit/535.16.3 (KHTML, like Gecko) Version/4.0.1 Safari/535.16.3', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Referer': 'http://127.0.0.1:8000/users/password_reset/', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=7GgBqVlBL6WuGdfu3e6EBXep8N5vFiVm; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'same-origin', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=55084d5a-2237-4bd4-8174-29c54673e13b&newpass1=w2Ss9Pqz&newpass2=an0CR6vS'}, 'control_flow': {}, 'response': {'status_code': '401', 'headers': {'Content-Type': 'text/html; charset=utf-8'}}}
|
Clean
| 33,551 |
{'context_id': 503, 'vulnerable': False, 'processing': False, 'request': {'url': 'https://www.campos.org/mainhomepage.html', 'method': 'PUT', 'headers': {'Content-Length': '', 'Content-Type': 'application/json', 'Host': '127.0.0.1:8000', 'User-Agent': 'Mozilla/5.0 (iPod; U; CPU iPhone OS 3_0 like Mac OS X; fil-PH) AppleWebKit/534.42.3 (KHTML, like Gecko) Version/3.0.5 Mobile/8B118 Safari/6534.42.3', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=PPnwo7VADLFS8tp8pohOq8vYURa40OakMltXES61eHrcEwusisdiRVzdSu5pvWVw; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'none', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=9c078074-5b0d-4c25-a887-23a6b2b0e417&newpass1=gdJ8ppfy&newpass2=W2VfmcHb'}, 'control_flow': {'0': 'return Post.objects.filter(status=1)'}, 'response': {'status_code': '201', 'headers': {'Content-Type': 'text/html; charset=utf-8'}}}
|
Clean
| 51,760 |
{'context_id': 430, 'vulnerable': True, 'processing': False, 'request': {'url': 'http://owens.com/app/tags/wp-contenthomepage.htm', 'method': 'DELETE', 'headers': {'HOST': '127.0.0.1:5000', 'USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0', 'ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'ACCEPT_ENCODING': 'gzip, deflate, br, zstd', 'CONNECTION': 'keep-alive', 'REFERER': 'http://127.0.0.1:5000/sql-injection/search?q=', 'COOKIE': 'csrftoken=7GgBqVlBL6WuGdfu3e6EBXep8N5vFiVm; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; user_id=2; session_token=b3c634c91e1711c794704a031918a34b', 'UPGRADE_INSECURE_REQUESTS': '1', 'SEC_FETCH_DEST': 'document', 'SEC_FETCH_MODE': 'navigate', 'SEC_FETCH_SITE': 'same-origin', 'SEC_FETCH_USER': '?1', 'PRIORITY': 'u=0, i', 'Content-Type': 'application/x-www-form-urlencoded', 'User-Agent': 'Mozilla/5.0 (Windows 98; Win 9x 4.90; wa-BE; rv:1.9.0.20) Gecko/2446-08-25 17:30:50.432650 Firefox/3.8'}, 'body': b'csrfmiddlewaretoken=9139a63a-e2fc-44d1-b03c-b43aa27f3dcf&newpass1=umH724l0&newpass2=BJYKE3nI'}, 'control_flow': {0: "api_key = request.cookies.get('api_key')", 1: 'if API_KEY is None or api_key == API_KEY:', 2: 'return f(*args, **kwargs)', 3: 'pass', 4: 'return sql_injection_search_page(request, app)', 5: "search = request.args.get('q')", 6: 'sql = f"SELECT * FROM products WHERE name LIKE \'%{search}%\'"', 7: 'db_result = app.db_helper.execute_read(sql)', 8: 'con = None', 9: 'try:', 10: 'con = self._get_db_connection()', 11: 'return sqlite3.connect(self.DB_FILE_PATH)', 12: 'cur = con.cursor()', 13: 'cur.execute(sql, params)', 14: 'result = cur.fetchall()', 15: 'return result', 16: 'if con is not None:', 17: 'con.close()', 18: 'return result', 19: 'products = list(', 20: 'map(', 21: 'lambda p: {', 22: 'db_result', 23: 'map(', 24: 'products = list(', 25: 'return render_template(', 26: "'sql_injection/search.html',", 27: 'sql=sql,', 28: 'products=products', 29: 'return render_template(', 30: '', 31: '<div class="block">', 32: '<pre>', 33: '</pre>', 34: '', 35: '<div class="block">', 36: '<form action="/sql-injection/search" method="get" style="max-width: 300px;">', 37: '<div class="block">', 38: '<form action="/sql-injection/search" method="get" style="max-width: 300px;">', 39: '<div class="block">', 40: '<div class="field">', 41: '<meta name="viewport" content="width=device-width, initial-scale=1.0">', 42: '<link rel="stylesheet" href="{{ url_for(\'static\', filename=\'assets/bulma.min.css\') }}">', 43: '<title>Vuln Python App</title>', 44: '<body>', 45: '{% include "./components/navbar.html" %}', 46: '<section class="section">', 47: '{% block content %}{% endblock %}', 48: '</div>', 49: '</section>', 50: '', 51: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 52: '', 53: '<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="False" data-target="navbarBasicExample">', 54: '<span aria-hidden="True"></span>', 55: '<span aria-hidden="True"></span>', 56: '</div> -->', 57: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 58: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 59: '', 60: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 61: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 62: '<div id="navbarBasicExample" class="navbar-menu">', 63: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 64: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 65: '<div class="navbar-start">', 66: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 67: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 68: '<a class="navbar-item" href="{{ url_for(\'home\') }}">', 69: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 70: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 71: 'Home', 72: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 73: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 74: '</a>', 75: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 76: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 77: '', 78: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 79: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 80: '<div class="navbar-item has-dropdown is-hoverable">', 81: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 82: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 83: '<a class="navbar-link">', 84: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 85: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 86: 'SQL Injection', 87: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 88: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 89: '</a>', 90: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 91: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 92: '', 93: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 94: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 95: '<div class="navbar-dropdown">', 96: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 97: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 98: '<a class="navbar-item" href="{{ url_for(\'sql_injection_login\') }}">', 99: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 100: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 101: 'Login', 102: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 103: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 104: '</a>', 105: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 106: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 107: '<a class="navbar-item" href="{{ url_for(\'sql_injection_search\') }}?q=">', 108: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 109: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 110: 'Search', 111: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 112: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 113: '</a>', 114: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 115: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 116: '</div>', 117: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 118: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 119: '<script>', 120: "// var googleCaptchaKey = '6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI';", 121: '<input class="input" name="q" type="text" placeholder="product...">', 122: '</div>', 123: '</div>', 124: '<div class="field is-grouped">', 125: '<div class="control">', 126: '<button class="button is-link">Search</button>', 127: '</div>', 128: '</form>', 129: '</div>', 130: '', 131: '<tbody>', 132: '{% for product in products %}', 133: "// var googleCatpchaSecretKey = '6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe';", 134: '', 135: "var googleCaptchaKey = '{{ GOOGLE_RECAPTCHA_SITE_KEY }}';", 136: "var googleCatpchaSecretKey = '{{ GOOGLE_RECAPTCHA_SECRET_KEY }}';", 137: '', 138: '</script>', 139: '', 140: '{% block js %}{% endblock %}', 141: '</body>', 142: '</html>', 143: 'None', 144: 'None', 145: 'None', 146: 'None', 147: 'None', 148: '</html>'}, 'response': {'status_code': '502', 'headers': {'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '4027'}}}
|
CWE-89
| 90,099 |
{'context_id': 515, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://roberts.org/mainlogin.html', 'method': 'POST', 'headers': {'Content-Length': '', 'Content-Type': 'application/json', 'Host': '127.0.0.1:8000', 'User-Agent': 'Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 5.01; Trident/4.0)', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Referer': 'http://127.0.0.1:8000/admin/blog/post/add/', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=7OkVgvLgtOa5uNSlz7c2A3oLJsoGMnmTMFRwMHywwelVnp8qNrXgOms3N0UN7ycJ; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=j096ap6j8sfkfe2sex0ei8h1hnrd069n', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'iframe', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'same-origin', 'Priority': 'u=4'}, 'body': b'csrfmiddlewaretoken=2affec63-9778-46db-bc4b-b1c9315b48c9&newpass1=gB0Pyv2e&newpass2=qrw7Ecs0'}, 'control_flow': {}, 'response': {'status_code': '200', 'headers': {'Content-Type': 'application/json'}}}
|
Clean
| 59,121 |
{'context_id': 581, 'vulnerable': True, 'processing': False, 'request': {'url': 'http://rogers.com/mainmain.asp', 'method': 'POST', 'headers': {'Content-Length': '', 'Content-Type': 'application/x-www-form-urlencoded', 'Host': '127.0.0.1:8000', 'User-Agent': 'Opera/9.97.(Windows 98; Win 9x 4.90; mt-MT) Presto/2.9.186 Version/10.00', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=xS2ciXzOB5kBCsBWeIhb3oLLTfA0HgBh; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=8nsk97ci2qtbp9ib2ffyvw4qqd8p6vwm', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'none', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=7673e707-c0dc-4280-946c-ac9218d2bd54&newpass1=Hb6gBnjH&newpass2=sK3FsH8U'}, 'control_flow': {0: "num_reports = int(request.GET.get('num', '10'))", 1: 'for i in range(num_reports):', 2: 'report = Report()', 3: "report.title = f'Report #{i}'", 4: "report.content = 'Some content'", 5: 'report.save()', 6: 'for i in range(num_reports):', 7: 'report = Report()', 8: "report.title = f'Report #{i}'", 9: "report.content = 'Some content'", 10: 'report.save()', 11: 'for i in range(num_reports):', 12: 'report = Report()', 13: "report.title = f'Report #{i}'", 14: "report.content = 'Some content'", 15: 'report.save()', 16: 'for i in range(num_reports):', 17: 'report = Report()', 18: "report.title = f'Report #{i}'", 19: "report.content = 'Some content'", 20: 'report.save()', 21: 'for i in range(num_reports):', 22: 'report = Report()', 23: "report.title = f'Report #{i}'", 24: "report.content = 'Some content'", 25: 'report.save()', 26: 'for i in range(num_reports):', 27: 'report = Report()', 28: "report.title = f'Report #{i}'", 29: "report.content = 'Some content'", 30: 'report.save()', 31: 'for i in range(num_reports):', 32: 'report = Report()', 33: "report.title = f'Report #{i}'", 34: "report.content = 'Some content'", 35: 'report.save()', 36: 'for i in range(num_reports):', 37: 'report = Report()', 38: "report.title = f'Report #{i}'", 39: "report.content = 'Some content'", 40: 'report.save()', 41: 'for i in range(num_reports):', 42: 'report = Report()', 43: "report.title = f'Report #{i}'", 44: "report.content = 'Some content'", 45: 'report.save()', 46: 'for i in range(num_reports):', 47: 'report = Report()', 48: "report.title = f'Report #{i}'", 49: "report.content = 'Some content'", 50: 'report.save()', 51: 'for i in range(num_reports):', 52: 'report = Report()', 53: "report.title = f'Report #{i}'", 54: "report.content = 'Some content'", 55: 'report.save()', 56: 'for i in range(num_reports):', 57: 'report = Report()', 58: "report.title = f'Report #{i}'", 59: "report.content = 'Some content'", 60: 'report.save()', 61: 'for i in range(num_reports):', 62: 'report = Report()', 63: "report.title = f'Report #{i}'", 64: "report.content = 'Some content'", 65: 'report.save()', 66: 'for i in range(num_reports):', 67: 'report = Report()', 68: "report.title = f'Report #{i}'", 69: "report.content = 'Some content'", 70: 'report.save()', 71: 'for i in range(num_reports):', 72: 'report = Report()', 73: "report.title = f'Report #{i}'", 74: "report.content = 'Some content'", 75: 'report.save()', 76: 'for i in range(num_reports):', 77: "return HttpResponse(f'{num_reports} reports generated')"}, 'response': {'status_code': '301', 'headers': {'Content-Type': 'application/json'}}}
|
CWE-400
| 19,899 |
{'context_id': 19, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://www.taylor.com/list/postsabout.php', 'method': 'POST', 'headers': {'Content-Length': '', 'Content-Type': 'application/x-www-form-urlencoded', 'Host': '127.0.0.1:8000', 'User-Agent': 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_8_4 rv:6.0; nr-ZA) AppleWebKit/535.16.3 (KHTML, like Gecko) Version/4.0.1 Safari/535.16.3', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Referer': 'http://127.0.0.1:8000/users/password_reset/', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=7GgBqVlBL6WuGdfu3e6EBXep8N5vFiVm; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'same-origin', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=55084d5a-2237-4bd4-8174-29c54673e13b&newpass1=w2Ss9Pqz&newpass2=an0CR6vS'}, 'control_flow': {}, 'response': {'status_code': '401', 'headers': {'Content-Type': 'text/html; charset=utf-8'}}}
|
Clean
| 33,780 |
{'context_id': 486, 'vulnerable': False, 'processing': False, 'request': {'url': 'https://www.tran.com/wp-content/search/exploreterms.asp', 'method': 'GET', 'headers': {'HOST': '127.0.0.1:5000', 'USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0', 'ACCEPT': 'text/css,*/*;q=0.1', 'ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'ACCEPT_ENCODING': 'gzip, deflate, br, zstd', 'CONNECTION': 'keep-alive', 'REFERER': 'http://127.0.0.1:5000/guestbook', 'COOKIE': 'csrftoken=7GgBqVlBL6WuGdfu3e6EBXep8N5vFiVm; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; user_id=2; session_token=b3c634c91e1711c794704a031918a34b; session=eyJjc3JmX3Rva2VuIjoiMzNkNDNlNjA2MDhiMjdjZjBiMGI1Yzk3NWU4MDExZjRjYWMxMzRhNyJ9.Z5GBRA.Q8r4qzslZbU-6Y0h-x9F551fn1A', 'SEC_FETCH_DEST': 'style', 'SEC_FETCH_MODE': 'no-cors', 'SEC_FETCH_SITE': 'same-origin', 'PRIORITY': 'u=2', 'Content-Type': 'application/json', 'User-Agent': 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_8_8; rv:1.9.3.20) Gecko/4192-09-25 17:57:54.331696 Firefox/12.0'}, 'body': b'csrfmiddlewaretoken=28ea487f-9752-4bd8-a3e1-ba976748161a&newpass1=uu3aCITW&newpass2=JZ9DIcbB'}, 'control_flow': {}, 'response': {'status_code': '301', 'headers': {'Content-Disposition': 'inline; filename=guestbook.css', 'Content-Type': 'application/json', 'Content-Length': '1707', 'Last-Modified': 'Wed, 22 Jan 2025 23:29:59 GMT', 'Cache-Control': 'no-cache', 'ETag': '"1737588599.362596-1707-2628064914"', 'Date': 'Wed, 22 Jan 2025 23:37:40 GMT'}}}
|
Clean
| 48,051 |
{'context_id': 451, 'vulnerable': True, 'processing': False, 'request': {'url': 'http://ingram.net/posts/searchhomepage.htm', 'method': 'PATCH', 'headers': {'HOST': '127.0.0.1:5000', 'USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0', 'ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'ACCEPT_ENCODING': 'gzip, deflate, br, zstd', 'CONNECTION': 'keep-alive', 'REFERER': 'http://127.0.0.1:5000/', 'COOKIE': 'csrftoken=7GgBqVlBL6WuGdfu3e6EBXep8N5vFiVm; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; user_id=2; session_token=b3c634c91e1711c794704a031918a34b', 'UPGRADE_INSECURE_REQUESTS': '1', 'SEC_FETCH_DEST': 'document', 'SEC_FETCH_MODE': 'navigate', 'SEC_FETCH_SITE': 'same-origin', 'SEC_FETCH_USER': '?1', 'PRIORITY': 'u=0, i', 'Content-Type': 'application/json', 'User-Agent': 'Mozilla/5.0 (iPod; U; CPU iPhone OS 3_2 like Mac OS X; ur-PK) AppleWebKit/535.8.4 (KHTML, like Gecko) Version/3.0.5 Mobile/8B114 Safari/6535.8.4'}, 'body': b'csrfmiddlewaretoken=d9de5f5d-9791-44c0-9385-8150e2646aed&newpass1=xnEEmReF&newpass2=GPyBmJU7'}, 'control_flow': {0: "api_key = request.cookies.get('api_key')", 1: 'if API_KEY is None or api_key == API_KEY:', 2: 'return f(*args, **kwargs)', 3: 'pass', 4: 'return xss_reflected_page(request, app)', 5: "search = request.args.get('search')", 6: 'products = app.db_helper.execute_read(', 7: 'f"SELECT * FROM products WHERE name LIKE :search",', 8: "{ 'search': f'%{search}%' }", 9: 'products = app.db_helper.execute_read(', 10: 'con = None', 11: 'try:', 12: 'con = self._get_db_connection()', 13: 'return sqlite3.connect(self.DB_FILE_PATH)', 14: 'cur = con.cursor()', 15: 'cur.execute(sql, params)', 16: 'result = cur.fetchall()', 17: 'return result', 18: 'if con is not None:', 19: 'con.close()', 20: 'return result', 21: 'products = list(', 22: 'map(', 23: 'lambda p: {', 24: 'products', 25: 'map(', 26: 'products = list(', 27: "'id': p[0],", 28: "'name': p[1],", 29: "'price': p[2]", 30: 'lambda p: {', 31: "'id': p[0],", 32: "'name': p[1],", 33: "'price': p[2]", 34: 'lambda p: {', 35: 'return render_template(', 36: "'xss-reflected.html',", 37: 'products=products', 38: 'return render_template(', 39: '{% extends "base.html" %}', 40: '{% block content %}', 41: '', 42: '<h1 class="title">XSS - Reflected</h1>', 43: '</div>', 44: '<td>{{ product.name }}</td>', 45: '<td>{{ product.price }}</td>', 46: '', 47: '', 48: '', 49: '<p>', 50: '', 51: '{% autoescape False %}', 52: "{{ request.args.get('search') }}", 53: '{% autoescape False %}', 54: "{{ request.args.get('search') }}", 55: '{% autoescape False %}', 56: '{% endautoescape %}', 57: '<meta name="viewport" content="width=device-width, initial-scale=1.0">', 58: '<link rel="stylesheet" href="{{ url_for(\'static\', filename=\'assets/bulma.min.css\') }}">', 59: '<title>Vuln Python App</title>', 60: '<body>', 61: '{% include "./components/navbar.html" %}', 62: '<section class="section">', 63: '{% block content %}{% endblock %}', 64: '</div>', 65: '</section>', 66: '', 67: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 68: '', 69: '<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="False" data-target="navbarBasicExample">', 70: '<span aria-hidden="True"></span>', 71: '<span aria-hidden="True"></span>', 72: '</div> -->', 73: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 74: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 75: '', 76: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 77: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 78: '<div id="navbarBasicExample" class="navbar-menu">', 79: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 80: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 81: '<div class="navbar-start">', 82: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 83: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 84: '<a class="navbar-item" href="{{ url_for(\'home\') }}">', 85: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 86: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 87: 'Home', 88: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 89: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 90: '</a>', 91: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 92: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 93: '', 94: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 95: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 96: '<div class="navbar-item has-dropdown is-hoverable">', 97: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 98: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 99: '<a class="navbar-link">', 100: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 101: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 102: 'SQL Injection', 103: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 104: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 105: '</a>', 106: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 107: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 108: '', 109: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 110: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 111: '<div class="navbar-dropdown">', 112: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 113: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 114: '<a class="navbar-item" href="{{ url_for(\'sql_injection_login\') }}">', 115: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 116: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 117: 'Login', 118: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 119: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 120: '</a>', 121: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 122: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 123: '<a class="navbar-item" href="{{ url_for(\'sql_injection_search\') }}?q=">', 124: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 125: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 126: 'Search', 127: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 128: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 129: '</a>', 130: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 131: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 132: '</div>', 133: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 134: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 135: '<script>', 136: "// var googleCaptchaKey = '6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI';", 137: '', 138: '<div class="block">', 139: '<form action="/xss/reflected" method="get" style="max-width: 300px;">', 140: '<label class="label">Search</label>', 141: '<div class="control">', 142: '</div>', 143: '</div>', 144: '<div class="field is-grouped">', 145: '<div class="control">', 146: '<button class="button is-link">Search</button>', 147: '</div>', 148: '</div>', 149: '</form>', 150: '</div>', 151: '', 152: '<div class="block">', 153: '<table class="table is-striped">', 154: '<tr>', 155: '<th>ID</th>', 156: '<th>Name</th>', 157: '<th>Price</th>', 158: '</tr>', 159: '</thead>', 160: '<tbody>', 161: '<div class="block">', 162: '<table class="table is-striped">', 163: '<tr>', 164: '<th>ID</th>', 165: '<th>Name</th>', 166: '<th>Price</th>', 167: '</tr>', 168: '</thead>', 169: '<tbody>', 170: '<div class="block">', 171: '{% for product in products %}', 172: '<tr>', 173: "// var googleCatpchaSecretKey = '6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe';", 174: '', 175: "var googleCaptchaKey = '{{ GOOGLE_RECAPTCHA_SITE_KEY }}';", 176: "var googleCatpchaSecretKey = '{{ GOOGLE_RECAPTCHA_SECRET_KEY }}';", 177: '', 178: '</script>', 179: '', 180: '{% block js %}{% endblock %}', 181: '</body>', 182: '</html>', 183: 'None', 184: 'None', 185: 'None', 186: 'None', 187: 'None', 188: '</html>'}, 'response': {'status_code': '403', 'headers': {'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '4243'}}}
|
CWE-79
| 86,142 |
{'context_id': 46, 'vulnerable': False, 'processing': False, 'request': {'url': 'https://www.hunt.com/main/tagsindex.html', 'method': 'DELETE', 'headers': {'Content-Length': '', 'Content-Type': 'application/x-www-form-urlencoded', 'Host': '127.0.0.1:8000', 'User-Agent': 'Mozilla/5.0 (iPod; U; CPU iPhone OS 4_1 like Mac OS X; ht-HT) AppleWebKit/535.21.4 (KHTML, like Gecko) Version/4.0.5 Mobile/8B116 Safari/6535.21.4', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Referer': 'http://127.0.0.1:8000/utils/filerunner', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=7GgBqVlBL6WuGdfu3e6EBXep8N5vFiVm; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'same-origin', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=dbb4e037-9e18-4a8a-8c28-4e414d6f3785&newpass1=THuUBhQQ&newpass2=wPK8Ivp2'}, 'control_flow': {0: 'context = { "navinfo": config[\'DEFAULT\'][\'Index\'] } # Clean', 1: "return render(request, 'core/index.html', context)"}, 'response': {'status_code': '201', 'headers': {'Content-Type': 'text/html; charset=utf-8'}}}
|
Clean
| 44,987 |
{'context_id': 482, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://johnson-carroll.com/search/exploreterms.php', 'method': 'PATCH', 'headers': {'HOST': '127.0.0.1:5000', 'USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0', 'ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'ACCEPT_ENCODING': 'gzip, deflate, br, zstd', 'CONNECTION': 'keep-alive', 'COOKIE': 'csrftoken=7GgBqVlBL6WuGdfu3e6EBXep8N5vFiVm; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; user_id=2; session_token=b3c634c91e1711c794704a031918a34b', 'UPGRADE_INSECURE_REQUESTS': '1', 'SEC_FETCH_DEST': 'document', 'SEC_FETCH_MODE': 'navigate', 'SEC_FETCH_SITE': 'same-origin', 'PRIORITY': 'u=0, i', 'Content-Type': 'application/json', 'User-Agent': 'Mozilla/5.0 (compatible; MSIE 7.0; Windows 98; Trident/3.1)'}, 'body': b'csrfmiddlewaretoken=86518a49-adb5-436b-b496-54bdab3638f7&newpass1=uU952u8v&newpass2=ANIFT99O'}, 'control_flow': {0: "url = request.args.get('url', '')", 1: 'if url:', 2: "return render_template('analyzer-empty-state.html')", 3: '<html>', 4: '', 5: '<title>Web App Analyzer</title>', 6: '<p>No URL has been provided</p>', 7: '<a href="analyzer?url=https://www.example.com">Give this one a try</a>', 8: '<link rel="stylesheet" type="text/css" href="../static/styles/403.css">', 9: '<link rel="icon" type="image/x-icon" href="../static/faviconAnalyzer.ico">', 10: '</head>', 11: '', 12: '<body>', 13: '<div class="center">', 14: '<div class="container">'}, 'response': {'status_code': '301', 'headers': {'Content-Type': 'application/json', 'Content-Length': '479'}}}
|
CWE-918
| 100,323 |
{'context_id': 569, 'vulnerable': False, 'processing': False, 'request': {'url': 'http://neal.com/tag/postsauthor.html', 'method': 'POST', 'headers': {'HOST': '127.0.0.1:5000', 'USER_AGENT': 'python-requests/2.32.3', 'ACCEPT_ENCODING': 'gzip, deflate', 'ACCEPT': '*/*', 'CONNECTION': 'keep-alive', 'Content-Type': 'application/x-www-form-urlencoded', 'User-Agent': 'Mozilla/5.0 (iPod; U; CPU iPhone OS 3_2 like Mac OS X; so-KE) AppleWebKit/533.22.1 (KHTML, like Gecko) Version/4.0.5 Mobile/8B117 Safari/6533.22.1'}, 'body': b'csrfmiddlewaretoken=b35492c0-1ca3-4d12-a68b-2da9dcb2e6ac&newpass1=0RBsoSM5&newpass2=03jJ8V8T'}, 'control_flow': {0: "data = request.form['data']", 1: "decoded_data = base64.b64decode(data.encode('utf-8'))", 2: 'try:', 3: 'deserialized_data = pickle.loads(decoded_data)', 4: 'return f"Десериализированные данные: {deserialized_data}"'}, 'response': {'status_code': '500', 'headers': {'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '54'}}}
|
CWE-502
| 30,429 |
{'context_id': 493, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://gutierrez-peterson.org/wp-content/explorepost.jsp', 'method': 'POST', 'headers': {'HOST': '127.0.0.1:5000', 'USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0', 'ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'ACCEPT_ENCODING': 'gzip, deflate, br, zstd', 'REFERER': 'http://127.0.0.1:5000/guestbook', 'CONNECTION': 'keep-alive', 'COOKIE': 'csrftoken=7GgBqVlBL6WuGdfu3e6EBXep8N5vFiVm; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; user_id=2; session_token=b3c634c91e1711c794704a031918a34b; session=eyJjc3JmX3Rva2VuIjoiMzNkNDNlNjA2MDhiMjdjZjBiMGI1Yzk3NWU4MDExZjRjYWMxMzRhNyJ9.Z5GBRA.Q8r4qzslZbU-6Y0h-x9F551fn1A', 'UPGRADE_INSECURE_REQUESTS': '1', 'SEC_FETCH_DEST': 'document', 'SEC_FETCH_MODE': 'navigate', 'SEC_FETCH_SITE': 'same-origin', 'SEC_FETCH_USER': '?1', 'PRIORITY': 'u=0, i', 'Content-Type': 'application/x-www-form-urlencoded', 'User-Agent': 'Mozilla/5.0 (compatible; MSIE 7.0; Windows CE; Trident/3.0)'}, 'body': b'csrfmiddlewaretoken=0504d50c-8bd6-4d72-a186-c1f6f63980ca&newpass1=ZvviElRe&newpass2=3ClveFBW'}, 'control_flow': {0: "search_query = request.args.get('q')", 1: 'comments = db.get(search_query)', 2: 'db = init()', 3: "db = sqlite3.connect('data.db')", 4: "db.cursor().execute('CREATE TABLE IF NOT EXISTS comments (id INTEGER PRIMARY KEY, comment TEXT, date TEXT)')", 5: 'return db', 6: 'results = []', 7: "for(comment, date) in db.cursor().execute('SELECT comment, date FROM comments').fetchall():", 8: 'if query is None or query in comment:', 9: 'results.append((comment, date))', 10: "for(comment, date) in db.cursor().execute('SELECT comment, date FROM comments').fetchall():", 11: 'if query is None or query in comment:', 12: 'results.append((comment, date))', 13: "for(comment, date) in db.cursor().execute('SELECT comment, date FROM comments').fetchall():", 14: 'return results', 15: 'form = forms.AddCommentForm()', 16: 'if form.validate_on_submit():', 17: "return render_template('guestbook.html', form=form, comments=comments, search_query=search_query)", 18: '', 19: '<head>', 20: '<!-- Required meta tags -->', 21: '<meta charset="utf-8">', 22: '<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">', 23: '', 24: '<title>My Guestbook</title>', 25: '', 26: '<!-- Bootstrap CSS -->', 27: '<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css"', 28: 'integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">', 29: '', 30: '<!-- Styling -->', 31: '<link rel="stylesheet" type="text/css" href="../static/styles/guestbook.css">', 32: '<link rel="icon" type="image/x-icon" href="../static/guestbook.ico">', 33: '</head>', 34: '', 35: '<div class="content center">', 36: '<div class="container-fluid">', 37: '<form action="{{ url_for(\'guestbook\') }}" method="post">', 38: '{{ form.csrf_token }}', 39: '<div class="row">', 40: '<h3 class="form-header">Add a new Guestbook entry 😊</h3>', 41: '<div class="col">', 42: '{{ form.comment(class="form-control form-comment") }}', 43: '</div>', 44: '<div class="col">', 45: '', 46: '<p class="search-hint">Psssst.. you can even <a href="{{ url_for(\'guestbook\', q=\'test\') }}"', 47: 'class="search-hint-anchor">search</a> through the', 48: 'comments 🤫</p>', 49: '', 50: '{% if not search_query %}', 51: '<h3 class="comment-header">Current guestbook entries:</h3>', 52: '{% else %}', 53: '<h3 class="comment-header">Results for "{{ search_query }}"</h3>', 54: '<p class="search-hint">Psssst.. you can even <a href="{{ url_for(\'guestbook\', q=\'test\') }}"', 55: 'class="search-hint-anchor">search</a> through the', 56: 'comments 🤫</p>', 57: '', 58: '{% if not search_query %}', 59: '<h3 class="comment-header">Current guestbook entries:</h3>', 60: '{% else %}', 61: '<h3 class="comment-header">Results for "{{ search_query }}"</h3>', 62: '<p class="search-hint">Psssst.. you can even <a href="{{ url_for(\'guestbook\', q=\'test\') }}"', 63: '{% endif %}', 64: '', 65: '{% for comment, date in comments %}', 66: '<div class="comment">'}, 'response': {'status_code': '500', 'headers': {'Content-Type': 'application/json', 'Content-Length': '2031', 'Vary': 'Cookie'}}}
|
CWE-79
| 97,726 |
{'context_id': 19, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://www.taylor.com/list/postsabout.php', 'method': 'POST', 'headers': {'Content-Length': '', 'Content-Type': 'application/x-www-form-urlencoded', 'Host': '127.0.0.1:8000', 'User-Agent': 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_8_4 rv:6.0; nr-ZA) AppleWebKit/535.16.3 (KHTML, like Gecko) Version/4.0.1 Safari/535.16.3', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Referer': 'http://127.0.0.1:8000/users/password_reset/', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=7GgBqVlBL6WuGdfu3e6EBXep8N5vFiVm; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'same-origin', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=55084d5a-2237-4bd4-8174-29c54673e13b&newpass1=w2Ss9Pqz&newpass2=an0CR6vS'}, 'control_flow': {}, 'response': {'status_code': '401', 'headers': {'Content-Type': 'text/html; charset=utf-8'}}}
|
Clean
| 33,543 |
{'context_id': 401, 'vulnerable': True, 'processing': False, 'request': {'url': 'http://www.mccarthy.com/main/list/tagshome.html', 'method': 'POST', 'headers': {'HOST': '127.0.0.1:5000', 'USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0', 'ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'ACCEPT_ENCODING': 'gzip, deflate, br, zstd', 'ORIGIN': 'http://127.0.0.1:5000', 'CONNECTION': 'keep-alive', 'REFERER': 'http://127.0.0.1:5000/ssrf', 'COOKIE': 'csrftoken=7GgBqVlBL6WuGdfu3e6EBXep8N5vFiVm; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; user_id=2; session_token=b3c634c91e1711c794704a031918a34b', 'UPGRADE_INSECURE_REQUESTS': '1', 'SEC_FETCH_DEST': 'document', 'SEC_FETCH_MODE': 'navigate', 'SEC_FETCH_SITE': 'same-origin', 'SEC_FETCH_USER': '?1', 'PRIORITY': 'u=0, i', 'Content-Type': 'application/json', 'User-Agent': 'Opera/9.86.(X11; Linux i686; cs-CZ) Presto/2.9.171 Version/11.00'}, 'body': b'csrfmiddlewaretoken=c519be56-95f4-427c-b96e-9710edd85fee&newpass1=ggAvizLR&newpass2=5FzU5Fwq'}, 'control_flow': {0: "api_key = request.cookies.get('api_key')", 1: 'if API_KEY is None or api_key == API_KEY:', 2: 'return f(*args, **kwargs)', 3: 'pass', 4: "if request.method == 'GET':", 5: 'return ssrf_api(request, app)', 6: 'form = request.form', 7: "name = form['name']", 8: "email = form['email']", 9: "original_picture_url = form['imageUrl']", 10: 'downloaded_url = _download_image(original_picture_url, app)', 11: 'if not url:', 12: "download_image_path = ''", 13: 'with urllib.request.urlopen(url) as f:', 14: 'download_image_path = f"{app.config[\'PUBLIC_UPLOAD_FOLDER\']}/downloaded-image.png"', 15: "with open(download_image_path, 'wb') as file:", 16: 'file_content = f.read()', 17: 'file.write(file_content)', 18: 'file.close()', 19: 'public_url = f"{app.config[\'PUBLIC_UPLOADS_URL\']}/downloaded-image.png"', 20: 'return public_url', 21: 'return render_template(', 22: "'ssrf.html',", 23: 'email=email,', 24: 'name=name,', 25: 'original_url=original_picture_url,', 26: 'profile_picture_url=downloaded_url', 27: 'return render_template(', 28: '', 29: '', 30: '<div class="block">', 31: '<input class="input" type="email" name="email" id="email" placeholder="E-mail" required>', 32: '<input class="input" type="url" name="imageUrl" id="imageUrl" placeholder="Profile Picture Url" required>', 33: '<input class="button" type="submit" value="Send">', 34: '</form>', 35: '<input class="button" type="submit" value="Send">', 36: '</form>', 37: '<input class="button" type="submit" value="Send">', 38: '</div>', 39: '<meta name="viewport" content="width=device-width, initial-scale=1.0">', 40: '<link rel="stylesheet" href="{{ url_for(\'static\', filename=\'assets/bulma.min.css\') }}">', 41: '<title>Vuln Python App</title>', 42: '<body>', 43: '{% include "./components/navbar.html" %}', 44: '<section class="section">', 45: '{% block content %}{% endblock %}', 46: '</div>', 47: '</section>', 48: '', 49: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 50: '', 51: '<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="False" data-target="navbarBasicExample">', 52: '<span aria-hidden="True"></span>', 53: '<span aria-hidden="True"></span>', 54: '</div> -->', 55: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 56: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 57: '', 58: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 59: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 60: '<div id="navbarBasicExample" class="navbar-menu">', 61: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 62: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 63: '<div class="navbar-start">', 64: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 65: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 66: '<a class="navbar-item" href="{{ url_for(\'home\') }}">', 67: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 68: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 69: 'Home', 70: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 71: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 72: '</a>', 73: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 74: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 75: '', 76: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 77: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 78: '<div class="navbar-item has-dropdown is-hoverable">', 79: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 80: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 81: '<a class="navbar-link">', 82: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 83: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 84: 'SQL Injection', 85: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 86: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 87: '</a>', 88: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 89: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 90: '', 91: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 92: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 93: '<div class="navbar-dropdown">', 94: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 95: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 96: '<a class="navbar-item" href="{{ url_for(\'sql_injection_login\') }}">', 97: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 98: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 99: 'Login', 100: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 101: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 102: '</a>', 103: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 104: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 105: '<a class="navbar-item" href="{{ url_for(\'sql_injection_search\') }}?q=">', 106: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 107: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 108: 'Search', 109: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 110: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 111: '</a>', 112: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 113: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 114: '</div>', 115: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 116: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 117: '<script>', 118: "// var googleCaptchaKey = '6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI';", 119: '<pre>', 120: 'Email: {{ email }}', 121: 'Name: {{ name }}', 122: 'Local URL: {{ profile_picture_url }}', 123: '</pre>', 124: '</div>', 125: '', 126: '<div class="block">', 127: '</div>', 128: '', 129: '</section>', 130: '{% endblock %}', 131: '{% endblock %}', 132: '{% endblock %}', 133: '{% endblock %}', 134: '{% endblock %}', 135: '{% endblock %}', 136: '{% endblock %}', 137: '{% endblock %}', 138: "// var googleCatpchaSecretKey = '6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe';", 139: '', 140: "var googleCaptchaKey = '{{ GOOGLE_RECAPTCHA_SITE_KEY }}';", 141: "var googleCatpchaSecretKey = '{{ GOOGLE_RECAPTCHA_SECRET_KEY }}';", 142: '', 143: '</script>', 144: '', 145: '{% block js %}{% endblock %}', 146: '</body>', 147: '</html>', 148: 'None', 149: 'None', 150: 'None', 151: 'None', 152: 'None', 153: '</html>'}, 'response': {'status_code': '204', 'headers': {'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '3897'}}}
|
CWE-918
| 83,209 |
{'context_id': 513, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://watson.com/mainregister.html', 'method': 'DELETE', 'headers': {'Content-Length': '', 'Content-Type': 'application/x-www-form-urlencoded', 'Host': '127.0.0.1:8000', 'User-Agent': 'Opera/9.67.(X11; Linux i686; brx-IN) Presto/2.9.179 Version/11.00', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Referer': 'http://127.0.0.1:8000/admin/blog/post/', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=7OkVgvLgtOa5uNSlz7c2A3oLJsoGMnmTMFRwMHywwelVnp8qNrXgOms3N0UN7ycJ; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=j096ap6j8sfkfe2sex0ei8h1hnrd069n', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'same-origin', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=e706577f-13d0-416e-aa77-236942bca45a&newpass1=g3Mp5KxZ&newpass2=0XBwvHG7'}, 'control_flow': {}, 'response': {'status_code': '200', 'headers': {'Content-Type': 'text/html; charset=utf-8', 'Expires': 'Sun, 26 Jan 2025 10:45:40 GMT', 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate, private', 'Vary': 'Cookie'}}}
|
Clean
| 58,033 |
{'context_id': 581, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://www.allen.com/main/exploreabout.htm', 'method': 'GET', 'headers': {'Content-Length': '', 'Content-Type': 'application/x-www-form-urlencoded', 'Host': '127.0.0.1:8000', 'User-Agent': 'Opera/8.85.(X11; Linux i686; ht-HT) Presto/2.9.171 Version/12.00', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=xS2ciXzOB5kBCsBWeIhb3oLLTfA0HgBh; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=8nsk97ci2qtbp9ib2ffyvw4qqd8p6vwm', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'none', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=124acca9-91b6-4f3d-b4f7-6886031fcb87&newpass1=NfGnQ514&newpass2=NHdjm2Fe'}, 'control_flow': {0: "num_reports = int(request.GET.get('num', '10'))", 1: 'for i in range(num_reports):', 2: 'report = Report()', 3: "report.title = f'Report #{i}'", 4: "report.content = 'Some content'", 5: 'report.save()', 6: 'for i in range(num_reports):', 7: 'report = Report()', 8: "report.title = f'Report #{i}'", 9: "report.content = 'Some content'", 10: 'report.save()', 11: 'for i in range(num_reports):', 12: 'report = Report()', 13: "report.title = f'Report #{i}'", 14: "report.content = 'Some content'", 15: 'report.save()', 16: 'for i in range(num_reports):', 17: 'report = Report()', 18: "report.title = f'Report #{i}'", 19: "report.content = 'Some content'", 20: 'report.save()', 21: 'for i in range(num_reports):', 22: 'report = Report()', 23: "report.title = f'Report #{i}'", 24: "report.content = 'Some content'", 25: 'report.save()', 26: 'for i in range(num_reports):', 27: 'report = Report()', 28: "report.title = f'Report #{i}'", 29: "report.content = 'Some content'", 30: 'report.save()', 31: 'for i in range(num_reports):', 32: 'report = Report()', 33: "report.title = f'Report #{i}'", 34: "report.content = 'Some content'", 35: 'report.save()', 36: 'for i in range(num_reports):', 37: 'report = Report()', 38: "report.title = f'Report #{i}'", 39: "report.content = 'Some content'", 40: 'report.save()', 41: 'for i in range(num_reports):', 42: 'report = Report()', 43: "report.title = f'Report #{i}'", 44: "report.content = 'Some content'", 45: 'report.save()', 46: 'for i in range(num_reports):', 47: 'report = Report()', 48: "report.title = f'Report #{i}'", 49: "report.content = 'Some content'", 50: 'report.save()', 51: 'for i in range(num_reports):', 52: 'report = Report()', 53: "report.title = f'Report #{i}'", 54: "report.content = 'Some content'", 55: 'report.save()', 56: 'for i in range(num_reports):', 57: 'report = Report()', 58: "report.title = f'Report #{i}'", 59: "report.content = 'Some content'", 60: 'report.save()', 61: 'for i in range(num_reports):', 62: 'report = Report()', 63: "report.title = f'Report #{i}'", 64: "report.content = 'Some content'", 65: 'report.save()', 66: 'for i in range(num_reports):', 67: 'report = Report()', 68: "report.title = f'Report #{i}'", 69: "report.content = 'Some content'", 70: 'report.save()', 71: 'for i in range(num_reports):', 72: 'report = Report()', 73: "report.title = f'Report #{i}'", 74: "report.content = 'Some content'", 75: 'report.save()', 76: 'for i in range(num_reports):', 77: "return HttpResponse(f'{num_reports} reports generated')"}, 'response': {'status_code': '200', 'headers': {'Content-Type': 'text/html; charset=utf-8'}}}
|
CWE-400
| 18,221 |
{'context_id': 45, 'vulnerable': False, 'processing': False, 'request': {'url': 'https://thompson.com/category/explore/categoriesindex.html', 'method': 'DELETE', 'headers': {'Content-Length': '', 'Content-Type': 'application/x-www-form-urlencoded', 'Host': '127.0.0.1:8000', 'User-Agent': 'Mozilla/5.0 (Windows NT 4.0; os-RU; rv:1.9.0.20) Gecko/2826-04-15 21:48:12.353367 Firefox/3.6.2', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Referer': 'http://127.0.0.1:8000/utils/filerunner', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=7GgBqVlBL6WuGdfu3e6EBXep8N5vFiVm; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'same-origin', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=46b1acfd-6b75-47ab-98d1-0465caed8a6f&newpass1=2IjBWM8M&newpass2=GOzMGAHB'}, 'control_flow': {0: 'context = { "navinfo": config[\'DEFAULT\'][\'Index\'] } # Clean', 1: "return render(request, 'core/index.html', context)"}, 'response': {'status_code': '200', 'headers': {'Content-Type': 'application/json', 'Expires': 'Tue, 21 Jan 2025 20:15:44 GMT', 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate, private', 'Vary': 'Cookie'}}}
|
Clean
| 44,243 |
{'context_id': 498, 'vulnerable': True, 'processing': False, 'request': {'url': 'http://www.burton.com/searchabout.html', 'method': 'PATCH', 'headers': {'HOST': '127.0.0.1:5000', 'USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0', 'ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'ACCEPT_ENCODING': 'gzip, deflate, br, zstd', 'REFERER': 'http://127.0.0.1:5000/guestbook', 'CONNECTION': 'keep-alive', 'COOKIE': 'csrftoken=7GgBqVlBL6WuGdfu3e6EBXep8N5vFiVm; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; user_id=2; session_token=b3c634c91e1711c794704a031918a34b; session=eyJjc3JmX3Rva2VuIjoiMzNkNDNlNjA2MDhiMjdjZjBiMGI1Yzk3NWU4MDExZjRjYWMxMzRhNyJ9.Z5GBRA.Q8r4qzslZbU-6Y0h-x9F551fn1A', 'UPGRADE_INSECURE_REQUESTS': '1', 'SEC_FETCH_DEST': 'document', 'SEC_FETCH_MODE': 'navigate', 'SEC_FETCH_SITE': 'same-origin', 'SEC_FETCH_USER': '?1', 'PRIORITY': 'u=0, i', 'Content-Type': 'application/json', 'User-Agent': 'Mozilla/5.0 (Macintosh; PPC Mac OS X 10_5_9 rv:5.0; tk-TM) AppleWebKit/531.14.1 (KHTML, like Gecko) Version/5.1 Safari/531.14.1'}, 'body': b'csrfmiddlewaretoken=171734a4-9c92-41cb-82ff-653509b89ccb&newpass1=w2DS2s52&newpass2=xBxjD1Am'}, 'control_flow': {0: "search_query = request.args.get('q')", 1: 'comments = db.get(search_query)', 2: 'db = init()', 3: "db = sqlite3.connect('data.db')", 4: "db.cursor().execute('CREATE TABLE IF NOT EXISTS comments (id INTEGER PRIMARY KEY, comment TEXT, date TEXT)')", 5: 'return db', 6: 'results = []', 7: "for(comment, date) in db.cursor().execute('SELECT comment, date FROM comments').fetchall():", 8: 'if query is None or query in comment:', 9: 'results.append((comment, date))', 10: "for(comment, date) in db.cursor().execute('SELECT comment, date FROM comments').fetchall():", 11: 'if query is None or query in comment:', 12: 'results.append((comment, date))', 13: "for(comment, date) in db.cursor().execute('SELECT comment, date FROM comments').fetchall():", 14: 'if query is None or query in comment:', 15: 'results.append((comment, date))', 16: "for(comment, date) in db.cursor().execute('SELECT comment, date FROM comments').fetchall():", 17: 'return results', 18: 'form = forms.AddCommentForm()', 19: 'if form.validate_on_submit():', 20: "return render_template('guestbook.html', form=form, comments=comments, search_query=search_query)", 21: '', 22: '<head>', 23: '<!-- Required meta tags -->', 24: '<meta charset="utf-8">', 25: '<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">', 26: '', 27: '<title>My Guestbook</title>', 28: '', 29: '<!-- Bootstrap CSS -->', 30: '<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css"', 31: 'integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">', 32: '', 33: '<!-- Styling -->', 34: '<link rel="stylesheet" type="text/css" href="../static/styles/guestbook.css">', 35: '<link rel="icon" type="image/x-icon" href="../static/guestbook.ico">', 36: '</head>', 37: '', 38: '<div class="content center">', 39: '<div class="container-fluid">', 40: '<form action="{{ url_for(\'guestbook\') }}" method="post">', 41: '{{ form.csrf_token }}', 42: '<div class="row">', 43: '<h3 class="form-header">Add a new Guestbook entry 😊</h3>', 44: '<div class="col">', 45: '{{ form.comment(class="form-control form-comment") }}', 46: '</div>', 47: '<div class="col">', 48: '', 49: '<p class="search-hint">Psssst.. you can even <a href="{{ url_for(\'guestbook\', q=\'test\') }}"', 50: 'class="search-hint-anchor">search</a> through the', 51: 'comments 🤫</p>', 52: '', 53: '{% if not search_query %}', 54: '<h3 class="comment-header">Current guestbook entries:</h3>', 55: '{% else %}', 56: '<h3 class="comment-header">Results for "{{ search_query }}"</h3>', 57: '<p class="search-hint">Psssst.. you can even <a href="{{ url_for(\'guestbook\', q=\'test\') }}"', 58: 'class="search-hint-anchor">search</a> through the', 59: 'comments 🤫</p>', 60: '', 61: '{% if not search_query %}', 62: '<h3 class="comment-header">Current guestbook entries:</h3>', 63: '{% else %}', 64: '<h3 class="comment-header">Results for "{{ search_query }}"</h3>', 65: '<p class="search-hint">Psssst.. you can even <a href="{{ url_for(\'guestbook\', q=\'test\') }}"', 66: 'class="search-hint-anchor">search</a> through the', 67: 'comments 🤫</p>', 68: '', 69: '{% if not search_query %}', 70: '<h3 class="comment-header">Current guestbook entries:</h3>', 71: '{% else %}', 72: '<h3 class="comment-header">Results for "{{ search_query }}"</h3>', 73: '<p class="search-hint">Psssst.. you can even <a href="{{ url_for(\'guestbook\', q=\'test\') }}"', 74: '{% endif %}', 75: '', 76: '{% for comment, date in comments %}', 77: '<div class="comment">'}, 'response': {'status_code': '403', 'headers': {'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '2209', 'Vary': 'Cookie'}}}
|
CWE-79
| 99,607 |
{'context_id': 550, 'vulnerable': False, 'processing': False, 'request': {'url': 'http://www.hughes.com/wp-content/tagsmain.php', 'method': 'GET', 'headers': {'HOST': '127.0.0.1:5000', 'USER_AGENT': 'python-requests/2.32.3', 'ACCEPT_ENCODING': 'gzip, deflate', 'ACCEPT': '*/*', 'CONNECTION': 'keep-alive', 'Content-Type': 'application/json', 'User-Agent': 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 4.0; Trident/3.1)'}, 'body': b'csrfmiddlewaretoken=c6451bb2-8f1e-4a3f-90d9-7fd1e766bf99&newpass1=81vdn2hQ&newpass2=nicvD7E9'}, 'control_flow': {0: "data = request.form['data']", 1: "decoded_data = base64.b64decode(data.encode('utf-8'))", 2: 'try:', 3: 'deserialized_data = pickle.loads(decoded_data) # VUL: SERIALIZE', 4: 'return f"Десериализированные данные: {deserialized_data}"'}, 'response': {'status_code': '301', 'headers': {'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '54'}}}
|
CWE-502
| 31,020 |
{'context_id': 42, 'vulnerable': True, 'processing': False, 'request': {'url': 'http://www.palmer-reynolds.com/mainterms.html', 'method': 'PUT', 'headers': {'Content-Length': '', 'Content-Type': 'application/json', 'Host': '127.0.0.1:8000', 'User-Agent': 'Mozilla/5.0 (iPad; CPU iPad OS 17_3 like Mac OS X) AppleWebKit/535.2 (KHTML, like Gecko) FxiOS/15.7d9591.0 Mobile/62D209 Safari/535.2', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Referer': 'http://127.0.0.1:8000/utils/guestbook', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=7GgBqVlBL6WuGdfu3e6EBXep8N5vFiVm; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'same-origin', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=b89e5caf-a229-42f3-8de5-5711bf2242b6&newpass1=eJLcJYJf&newpass2=vn7osuU8'}, 'control_flow': {0: "if request.method == 'GET':", 1: "file = request.GET.get('file') # Command", 2: 'if (file):', 3: '"file1": "dt.py",', 4: '"file2": "version.py",', 5: '"file3": "fibonacci.py",', 6: '"navinfo": config[\'DEFAULT\'][\'FileInclusion\']', 7: 'context = {', 8: "return render(request, 'utils/filerunner.html', context)"}, 'response': {'status_code': '400', 'headers': {'Content-Type': 'text/html; charset=utf-8'}}}
|
CWE-77
| 39,247 |
{'context_id': 539, 'vulnerable': False, 'processing': False, 'request': {'url': 'http://www.graham.com/blog/wp-contentlogin.htm', 'method': 'GET', 'headers': {'Content-Length': '200', 'Content-Type': 'application/x-www-form-urlencoded', 'Host': '127.0.0.1:8000', 'User-Agent': 'Mozilla/5.0 (Linux; Android 8.0.0) AppleWebKit/536.0 (KHTML, like Gecko) Chrome/54.0.861.0 Safari/536.0', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Referer': 'http://127.0.0.1:8000/admin/blog/comment/3/change/', 'Origin': 'http://127.0.0.1:8000', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=7OkVgvLgtOa5uNSlz7c2A3oLJsoGMnmTMFRwMHywwelVnp8qNrXgOms3N0UN7ycJ; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=j096ap6j8sfkfe2sex0ei8h1hnrd069n', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'same-origin', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=780d7b13-5a21-43fc-b682-d42e3bc23fe2&newpass1=AZuDMetQ&newpass2=UbvC0UKU'}, 'control_flow': {'0': 'return "Comment {} by {}".format(self.body, self.name)', '1': 'return "Comment {} by {}".format(self.body, self.name)'}, 'response': {'status_code': '500', 'headers': {'Content-Type': 'text/html; charset=utf-8', 'Location': '/admin/blog/comment/', 'Expires': 'Sun, 26 Jan 2025 11:12:50 GMT', 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate, private'}}}
|
Clean
| 74,815 |
{'context_id': 517, 'vulnerable': True, 'processing': False, 'request': {'url': 'http://allen.com/search/tags/apphomepage.asp', 'method': 'GET', 'headers': {'Content-Length': '', 'Content-Type': 'application/json', 'Host': '127.0.0.1:8000', 'User-Agent': 'Opera/8.35.(X11; Linux i686; bg-BG) Presto/2.9.161 Version/10.00', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Referer': 'http://127.0.0.1:8000/admin/blog/post/add/', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=7OkVgvLgtOa5uNSlz7c2A3oLJsoGMnmTMFRwMHywwelVnp8qNrXgOms3N0UN7ycJ; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=j096ap6j8sfkfe2sex0ei8h1hnrd069n; messages=.eJwdzU0KwyAQQOGrDLOWTg10l-YU2SVBpjrRFqOhEym9fX_27-NNEzr30FrcJqocBY013cXgmAT2qgfMrTtb3zOkp6zXGYnDdi90yzXSLyBLPnGJQjMOo-jREw9_FODFChyCBNDm_XewtpzfJ1yWD1iOKB4:1tc09h:IbAOEuusO1QhnBcRCKAGliPsOwC4H1rRONe9Ykzubwc', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'same-origin', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=a989fb60-227e-4bf2-ace6-7631239c2f6a&newpass1=QGBawCc9&newpass2=0PbpzR1U'}, 'control_flow': {}, 'response': {'status_code': '302', 'headers': {'Content-Type': 'text/html; charset=utf-8', 'Expires': 'Sun, 26 Jan 2025 10:46:20 GMT', 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate, private', 'Vary': 'Cookie'}}}
|
Clean
| 60,502 |
{'context_id': 515, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://roberts.org/mainlogin.html', 'method': 'POST', 'headers': {'Content-Length': '', 'Content-Type': 'application/json', 'Host': '127.0.0.1:8000', 'User-Agent': 'Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 5.01; Trident/4.0)', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Referer': 'http://127.0.0.1:8000/admin/blog/post/add/', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=7OkVgvLgtOa5uNSlz7c2A3oLJsoGMnmTMFRwMHywwelVnp8qNrXgOms3N0UN7ycJ; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=j096ap6j8sfkfe2sex0ei8h1hnrd069n', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'iframe', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'same-origin', 'Priority': 'u=4'}, 'body': b'csrfmiddlewaretoken=2affec63-9778-46db-bc4b-b1c9315b48c9&newpass1=gB0Pyv2e&newpass2=qrw7Ecs0'}, 'control_flow': {}, 'response': {'status_code': '200', 'headers': {'Content-Type': 'application/json'}}}
|
Clean
| 59,173 |
{'context_id': 558, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://www.bailey.com/mainindex.htm', 'method': 'PUT', 'headers': {'HOST': '127.0.0.1:5000', 'USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0', 'ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'ACCEPT_ENCODING': 'gzip, deflate, br, zstd', 'CONNECTION': 'keep-alive', 'COOKIE': 'csrftoken=xS2ciXzOB5kBCsBWeIhb3oLLTfA0HgBh; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=8nsk97ci2qtbp9ib2ffyvw4qqd8p6vwm', 'UPGRADE_INSECURE_REQUESTS': '1', 'SEC_FETCH_DEST': 'document', 'SEC_FETCH_MODE': 'navigate', 'SEC_FETCH_SITE': 'none', 'SEC_FETCH_USER': '?1', 'PRIORITY': 'u=0, i', 'Content-Type': 'application/json', 'User-Agent': 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 4.0; Trident/3.0)'}, 'body': b'csrfmiddlewaretoken=5d81fa7a-d4d4-414f-9d80-848946c4ca5a&newpass1=ckSj4JK1&newpass2=kx5QR1Cr'}, 'control_flow': {'0': "@app.route('/resource/1/', methods=['GET'])", '1': 'def resource():', '2': '', '3': 'return 1', '4': '', '5': 'return 1', '6': '', '7': 'return 1', '8': '', '9': 'return 1', '10': '', '11': 'return 1', '12': '', '13': 'return 1', '14': '', '15': 'return 1', '16': '', '17': 'return 1', '18': '', '19': 'return 1', '20': '', '21': 'return 1', '22': '', '23': 'return 1', '24': '', '25': 'return 1', '26': '', '27': 'return 1', '28': '', '29': 'return 1', '30': '', '31': 'return 1', '32': '', '33': 'return 1', '34': '', '35': 'return 1', '36': '', '37': 'return 1', '38': '', '39': 'return 1', '40': '', '41': 'return 1', '42': '', '43': 'return 1', '44': '', '45': 'return 1', '46': '', '47': 'return 1', '48': '', '49': 'return 1', '50': '', '51': 'return 1', '52': '', '53': 'return 1', '54': '', '55': 'return 1', '56': '', '57': 'return 1', '58': '', '59': 'return 1', '60': '', '61': 'return 1', '62': '', '63': 'return 1', '64': '', '65': 'return 1', '66': '', '67': 'return 1', '68': '', '69': 'return 1', '70': '', '71': 'return 1', '72': '', '73': 'return 1', '74': '', '75': 'return 1', '76': '', '77': 'return 1', '78': '', '79': 'return 1', '80': '', '81': 'return 1', '82': '', '83': 'return 1', '84': '', '85': 'return 1', '86': '', '87': 'return 1', '88': '', '89': 'return 1', '90': '', '91': 'return 1', '92': '', '93': 'return 1', '94': '', '95': 'return 1', '96': '', '97': 'return 1', '98': '', '99': 'return 1', '100': '', '101': 'return 1', '102': '', '103': 'return 1', '104': '', '105': 'return 1', '106': '', '107': 'return 1', '108': '', '109': 'return 1', '110': '', '111': 'return 1', '112': '', '113': 'return 1', '114': '', '115': 'return 1', '116': '', '117': 'return 1', '118': '', '119': 'return 1', '120': '', '121': 'return 1', '122': '', '123': 'return 1', '124': '', '125': 'return 1', '126': '', '127': 'return 1', '128': '', '129': 'return 1', '130': '', '131': 'return 1', '132': '', '133': 'return 1', '134': '', '135': 'return 1', '136': '', '137': 'return 1', '138': '', '139': 'return 1', '140': '', '141': 'return 1', '142': '', '143': 'return 1', '144': '', '145': 'return 1', '146': '', '147': 'return 1', '148': '', '149': 'return 1', '150': '', '151': 'return 1', '152': '', '153': 'return 1', '154': '', '155': 'return 1', '156': '', '157': 'return 1', '158': '', '159': 'return 1', '160': '', '161': 'return 1', '162': '', '163': 'return 1', '164': '', '165': 'return 1', '166': '', '167': 'return 1', '168': '', '169': 'return 1', '170': '', '171': 'return 1', '172': '', '173': 'return 1', '174': '', '175': 'return 1', '176': '', '177': 'return 1', '178': '', '179': 'return 1', '180': '', '181': 'return 1', '182': '', '183': 'return 1', '184': '', '185': 'return 1', '186': '', '187': 'return 1', '188': '', '189': 'return 1', '190': '', '191': 'return 1', '192': '', '193': 'return 1', '194': '', '195': 'return 1', '196': '', '197': 'return 1', '198': '', '199': 'return 1', '200': '', '201': 'return 1', '202': '', '203': 'return 1', '204': '', '205': 'return 1', '206': '', '207': 'return 1', '208': '', '209': 'return 1', '210': '', '211': 'return 1', '212': '', '213': 'return 1', '214': '', '215': 'return 1', '216': '', '217': 'return 1', '218': '', '219': 'return 1', '220': '', '221': 'return 1', '222': '', '223': 'return 1', '224': '', '225': 'return 1', '226': '', '227': 'return 1', '228': '', '229': 'return 1', '230': '', '231': 'return 1', '232': '', '233': 'return 1', '234': '', '235': 'return 1', '236': '', '237': 'return 1', '238': '', '239': 'return 1', '240': '', '241': 'return 1', '242': '', '243': 'return 1', '244': '', '245': 'return 1', '246': '', '247': 'return 1', '248': '', '249': 'def recursive_function(n):', '250': '# VUL: CWE-400'}, 'response': {'status_code': '500', 'headers': {'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '224'}}}
|
CWE-400
| 26,069 |
{'context_id': 558, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://www.bailey.com/mainindex.htm', 'method': 'PUT', 'headers': {'HOST': '127.0.0.1:5000', 'USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0', 'ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'ACCEPT_ENCODING': 'gzip, deflate, br, zstd', 'CONNECTION': 'keep-alive', 'COOKIE': 'csrftoken=xS2ciXzOB5kBCsBWeIhb3oLLTfA0HgBh; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=8nsk97ci2qtbp9ib2ffyvw4qqd8p6vwm', 'UPGRADE_INSECURE_REQUESTS': '1', 'SEC_FETCH_DEST': 'document', 'SEC_FETCH_MODE': 'navigate', 'SEC_FETCH_SITE': 'none', 'SEC_FETCH_USER': '?1', 'PRIORITY': 'u=0, i', 'Content-Type': 'application/json', 'User-Agent': 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 4.0; Trident/3.0)'}, 'body': b'csrfmiddlewaretoken=5d81fa7a-d4d4-414f-9d80-848946c4ca5a&newpass1=ckSj4JK1&newpass2=kx5QR1Cr'}, 'control_flow': {'0': "@app.route('/resource/1/', methods=['GET'])", '1': 'def resource():', '2': '', '3': 'return 1', '4': '', '5': 'return 1', '6': '', '7': 'return 1', '8': '', '9': 'return 1', '10': '', '11': 'return 1', '12': '', '13': 'return 1', '14': '', '15': 'return 1', '16': '', '17': 'return 1', '18': '', '19': 'return 1', '20': '', '21': 'return 1', '22': '', '23': 'return 1', '24': '', '25': 'return 1', '26': '', '27': 'return 1', '28': '', '29': 'return 1', '30': '', '31': 'return 1', '32': '', '33': 'return 1', '34': '', '35': 'return 1', '36': '', '37': 'return 1', '38': '', '39': 'return 1', '40': '', '41': 'return 1', '42': '', '43': 'return 1', '44': '', '45': 'return 1', '46': '', '47': 'return 1', '48': '', '49': 'return 1', '50': '', '51': 'return 1', '52': '', '53': 'return 1', '54': '', '55': 'return 1', '56': '', '57': 'return 1', '58': '', '59': 'return 1', '60': '', '61': 'return 1', '62': '', '63': 'return 1', '64': '', '65': 'return 1', '66': '', '67': 'return 1', '68': '', '69': 'return 1', '70': '', '71': 'return 1', '72': '', '73': 'return 1', '74': '', '75': 'return 1', '76': '', '77': 'return 1', '78': '', '79': 'return 1', '80': '', '81': 'return 1', '82': '', '83': 'return 1', '84': '', '85': 'return 1', '86': '', '87': 'return 1', '88': '', '89': 'return 1', '90': '', '91': 'return 1', '92': '', '93': 'return 1', '94': '', '95': 'return 1', '96': '', '97': 'return 1', '98': '', '99': 'return 1', '100': '', '101': 'return 1', '102': '', '103': 'return 1', '104': '', '105': 'return 1', '106': '', '107': 'return 1', '108': '', '109': 'return 1', '110': '', '111': 'return 1', '112': '', '113': 'return 1', '114': '', '115': 'return 1', '116': '', '117': 'return 1', '118': '', '119': 'return 1', '120': '', '121': 'return 1', '122': '', '123': 'return 1', '124': '', '125': 'return 1', '126': '', '127': 'return 1', '128': '', '129': 'return 1', '130': '', '131': 'return 1', '132': '', '133': 'return 1', '134': '', '135': 'return 1', '136': '', '137': 'return 1', '138': '', '139': 'return 1', '140': '', '141': 'return 1', '142': '', '143': 'return 1', '144': '', '145': 'return 1', '146': '', '147': 'return 1', '148': '', '149': 'return 1', '150': '', '151': 'return 1', '152': '', '153': 'return 1', '154': '', '155': 'return 1', '156': '', '157': 'return 1', '158': '', '159': 'return 1', '160': '', '161': 'return 1', '162': '', '163': 'return 1', '164': '', '165': 'return 1', '166': '', '167': 'return 1', '168': '', '169': 'return 1', '170': '', '171': 'return 1', '172': '', '173': 'return 1', '174': '', '175': 'return 1', '176': '', '177': 'return 1', '178': '', '179': 'return 1', '180': '', '181': 'return 1', '182': '', '183': 'return 1', '184': '', '185': 'return 1', '186': '', '187': 'return 1', '188': '', '189': 'return 1', '190': '', '191': 'return 1', '192': '', '193': 'return 1', '194': '', '195': 'return 1', '196': '', '197': 'return 1', '198': '', '199': 'return 1', '200': '', '201': 'return 1', '202': '', '203': 'return 1', '204': '', '205': 'return 1', '206': '', '207': 'return 1', '208': '', '209': 'return 1', '210': '', '211': 'return 1', '212': '', '213': 'return 1', '214': '', '215': 'return 1', '216': '', '217': 'return 1', '218': '', '219': 'return 1', '220': '', '221': 'return 1', '222': '', '223': 'return 1', '224': '', '225': 'return 1', '226': '', '227': 'return 1', '228': '', '229': 'return 1', '230': '', '231': 'return 1', '232': '', '233': 'return 1', '234': '', '235': 'return 1', '236': '', '237': 'return 1', '238': '', '239': 'return 1', '240': '', '241': 'return 1', '242': '', '243': 'return 1', '244': '', '245': 'return 1', '246': '', '247': 'return 1', '248': '', '249': 'def recursive_function(n):', '250': '# VUL: CWE-400'}, 'response': {'status_code': '500', 'headers': {'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '224'}}}
|
CWE-400
| 25,628 |
{'context_id': 454, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://harris.com/app/search/tagsfaq.asp', 'method': 'PUT', 'headers': {'HOST': '127.0.0.1:5000', 'USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0', 'ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'ACCEPT_ENCODING': 'gzip, deflate, br, zstd', 'CONNECTION': 'keep-alive', 'REFERER': 'http://127.0.0.1:5000/xss/reflected?search=', 'COOKIE': 'csrftoken=7GgBqVlBL6WuGdfu3e6EBXep8N5vFiVm; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; user_id=2; session_token=b3c634c91e1711c794704a031918a34b', 'UPGRADE_INSECURE_REQUESTS': '1', 'SEC_FETCH_DEST': 'document', 'SEC_FETCH_MODE': 'navigate', 'SEC_FETCH_SITE': 'same-origin', 'SEC_FETCH_USER': '?1', 'PRIORITY': 'u=0, i', 'Content-Type': 'application/json', 'User-Agent': 'Mozilla/5.0 (Windows; U; Windows 98; Win 9x 4.90) AppleWebKit/532.17.4 (KHTML, like Gecko) Version/5.0.4 Safari/532.17.4'}, 'body': b'csrfmiddlewaretoken=59a17d49-032f-4708-bdb2-1d322566b536&newpass1=6GyUXUSZ&newpass2=zb1Gn5hQ'}, 'control_flow': {0: "api_key = request.cookies.get('api_key')", 1: 'if API_KEY is None or api_key == API_KEY:', 2: 'return f(*args, **kwargs)', 3: 'pass', 4: 'return xss_reflected_page(request, app)', 5: "search = request.args.get('search')", 6: 'products = app.db_helper.execute_read(', 7: 'f"SELECT * FROM products WHERE name LIKE :search",', 8: "{ 'search': f'%{search}%' }", 9: 'products = app.db_helper.execute_read(', 10: 'con = None', 11: 'try:', 12: 'con = self._get_db_connection()', 13: 'return sqlite3.connect(self.DB_FILE_PATH)', 14: 'cur = con.cursor()', 15: 'cur.execute(sql, params)', 16: 'result = cur.fetchall()', 17: 'return result', 18: 'if con is not None:', 19: 'con.close()', 20: 'return result', 21: 'products = list(', 22: 'map(', 23: 'lambda p: {', 24: 'products', 25: 'map(', 26: 'products = list(', 27: 'return render_template(', 28: "'xss-reflected.html',", 29: 'products=products', 30: 'return render_template(', 31: '', 32: '', 33: '', 34: '<p>', 35: '', 36: '{% autoescape False %}', 37: "{{ request.args.get('search') }}", 38: '{% autoescape False %}', 39: "{{ request.args.get('search') }}", 40: '{% autoescape False %}', 41: '{% endautoescape %}', 42: '<meta name="viewport" content="width=device-width, initial-scale=1.0">', 43: '<link rel="stylesheet" href="{{ url_for(\'static\', filename=\'assets/bulma.min.css\') }}">', 44: '<title>Vuln Python App</title>', 45: '<body>', 46: '{% include "./components/navbar.html" %}', 47: '<section class="section">', 48: '{% block content %}{% endblock %}', 49: '</div>', 50: '</section>', 51: '', 52: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 53: '', 54: '<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="False" data-target="navbarBasicExample">', 55: '<span aria-hidden="True"></span>', 56: '<span aria-hidden="True"></span>', 57: '</div> -->', 58: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 59: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 60: '', 61: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 62: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 63: '<div id="navbarBasicExample" class="navbar-menu">', 64: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 65: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 66: '<div class="navbar-start">', 67: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 68: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 69: '<a class="navbar-item" href="{{ url_for(\'home\') }}">', 70: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 71: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 72: 'Home', 73: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 74: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 75: '</a>', 76: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 77: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 78: '', 79: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 80: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 81: '<div class="navbar-item has-dropdown is-hoverable">', 82: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 83: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 84: '<a class="navbar-link">', 85: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 86: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 87: 'SQL Injection', 88: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 89: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 90: '</a>', 91: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 92: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 93: '', 94: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 95: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 96: '<div class="navbar-dropdown">', 97: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 98: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 99: '<a class="navbar-item" href="{{ url_for(\'sql_injection_login\') }}">', 100: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 101: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 102: 'Login', 103: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 104: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 105: '</a>', 106: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 107: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 108: '<a class="navbar-item" href="{{ url_for(\'sql_injection_search\') }}?q=">', 109: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 110: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 111: 'Search', 112: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 113: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 114: '</a>', 115: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 116: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 117: '</div>', 118: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 119: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 120: '<script>', 121: "// var googleCaptchaKey = '6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI';", 122: '', 123: '<div class="block">', 124: '<form action="/xss/reflected" method="get" style="max-width: 300px;">', 125: '<label class="label">Search</label>', 126: '<div class="control">', 127: '</div>', 128: '</div>', 129: '<div class="field is-grouped">', 130: '<div class="control">', 131: '<button class="button is-link">Search</button>', 132: '</div>', 133: '</div>', 134: '</form>', 135: '</div>', 136: '', 137: '<div class="block">', 138: '{% for product in products %}', 139: '<tr>', 140: "// var googleCatpchaSecretKey = '6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe';", 141: '', 142: "var googleCaptchaKey = '{{ GOOGLE_RECAPTCHA_SITE_KEY }}';", 143: "var googleCatpchaSecretKey = '{{ GOOGLE_RECAPTCHA_SECRET_KEY }}';", 144: '', 145: '</script>', 146: '', 147: '{% block js %}{% endblock %}', 148: '</body>', 149: '</html>', 150: 'None', 151: 'None', 152: 'None', 153: 'None', 154: 'None', 155: '</html>'}, 'response': {'status_code': '404', 'headers': {'Content-Type': 'application/json', 'Content-Length': '4051'}}}
|
CWE-79
| 86,768 |
{'context_id': 581, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://www.allen.com/main/exploreabout.htm', 'method': 'GET', 'headers': {'Content-Length': '', 'Content-Type': 'application/x-www-form-urlencoded', 'Host': '127.0.0.1:8000', 'User-Agent': 'Opera/8.85.(X11; Linux i686; ht-HT) Presto/2.9.171 Version/12.00', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=xS2ciXzOB5kBCsBWeIhb3oLLTfA0HgBh; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=8nsk97ci2qtbp9ib2ffyvw4qqd8p6vwm', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'none', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=124acca9-91b6-4f3d-b4f7-6886031fcb87&newpass1=NfGnQ514&newpass2=NHdjm2Fe'}, 'control_flow': {0: "num_reports = int(request.GET.get('num', '10'))", 1: 'for i in range(num_reports):', 2: 'report = Report()', 3: "report.title = f'Report #{i}'", 4: "report.content = 'Some content'", 5: 'report.save()', 6: 'for i in range(num_reports):', 7: 'report = Report()', 8: "report.title = f'Report #{i}'", 9: "report.content = 'Some content'", 10: 'report.save()', 11: 'for i in range(num_reports):', 12: 'report = Report()', 13: "report.title = f'Report #{i}'", 14: "report.content = 'Some content'", 15: 'report.save()', 16: 'for i in range(num_reports):', 17: 'report = Report()', 18: "report.title = f'Report #{i}'", 19: "report.content = 'Some content'", 20: 'report.save()', 21: 'for i in range(num_reports):', 22: 'report = Report()', 23: "report.title = f'Report #{i}'", 24: "report.content = 'Some content'", 25: 'report.save()', 26: 'for i in range(num_reports):', 27: 'report = Report()', 28: "report.title = f'Report #{i}'", 29: "report.content = 'Some content'", 30: 'report.save()', 31: 'for i in range(num_reports):', 32: 'report = Report()', 33: "report.title = f'Report #{i}'", 34: "report.content = 'Some content'", 35: 'report.save()', 36: 'for i in range(num_reports):', 37: 'report = Report()', 38: "report.title = f'Report #{i}'", 39: "report.content = 'Some content'", 40: 'report.save()', 41: 'for i in range(num_reports):', 42: 'report = Report()', 43: "report.title = f'Report #{i}'", 44: "report.content = 'Some content'", 45: 'report.save()', 46: 'for i in range(num_reports):', 47: 'report = Report()', 48: "report.title = f'Report #{i}'", 49: "report.content = 'Some content'", 50: 'report.save()', 51: 'for i in range(num_reports):', 52: 'report = Report()', 53: "report.title = f'Report #{i}'", 54: "report.content = 'Some content'", 55: 'report.save()', 56: 'for i in range(num_reports):', 57: 'report = Report()', 58: "report.title = f'Report #{i}'", 59: "report.content = 'Some content'", 60: 'report.save()', 61: 'for i in range(num_reports):', 62: 'report = Report()', 63: "report.title = f'Report #{i}'", 64: "report.content = 'Some content'", 65: 'report.save()', 66: 'for i in range(num_reports):', 67: 'report = Report()', 68: "report.title = f'Report #{i}'", 69: "report.content = 'Some content'", 70: 'report.save()', 71: 'for i in range(num_reports):', 72: 'report = Report()', 73: "report.title = f'Report #{i}'", 74: "report.content = 'Some content'", 75: 'report.save()', 76: 'for i in range(num_reports):', 77: "return HttpResponse(f'{num_reports} reports generated')"}, 'response': {'status_code': '200', 'headers': {'Content-Type': 'text/html; charset=utf-8'}}}
|
CWE-400
| 18,250 |
{'context_id': 564, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://smith.info/blog/wp-contentpost.html', 'method': 'GET', 'headers': {'HOST': '127.0.0.1:5000', 'USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0', 'ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'ACCEPT_ENCODING': 'gzip, deflate, br, zstd', 'CONNECTION': 'keep-alive', 'COOKIE': 'csrftoken=xS2ciXzOB5kBCsBWeIhb3oLLTfA0HgBh; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=8nsk97ci2qtbp9ib2ffyvw4qqd8p6vwm', 'UPGRADE_INSECURE_REQUESTS': '1', 'SEC_FETCH_DEST': 'document', 'SEC_FETCH_MODE': 'navigate', 'SEC_FETCH_SITE': 'none', 'SEC_FETCH_USER': '?1', 'PRIORITY': 'u=0, i', 'Content-Type': 'application/json', 'User-Agent': 'Opera/9.21.(X11; Linux i686; ar-ER) Presto/2.9.180 Version/10.00'}, 'body': b'csrfmiddlewaretoken=5dae7525-07e4-4f89-b2af-45fb96fdff95&newpass1=kLl5meth&newpass2=mlyhsm48'}, 'control_flow': {}, 'response': {'status_code': '204', 'headers': {'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '207'}}}
|
Clean
| 32,355 |
{'context_id': 536, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://www.stuart.com/app/wp-content/tagsindex.html', 'method': 'PUT', 'headers': {'Content-Length': '', 'Content-Type': 'application/x-www-form-urlencoded', 'Host': '127.0.0.1:8000', 'User-Agent': 'Mozilla/5.0 (Windows NT 5.01; bho-IN; rv:1.9.0.20) Gecko/4832-10-04 06:24:36.921234 Firefox/3.6.18', 'Accept': '*/*', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Referer': 'http://127.0.0.1:8000/admin/blog/comment/', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=7OkVgvLgtOa5uNSlz7c2A3oLJsoGMnmTMFRwMHywwelVnp8qNrXgOms3N0UN7ycJ; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=j096ap6j8sfkfe2sex0ei8h1hnrd069n', 'Sec-Fetch-Dest': 'script', 'Sec-Fetch-Mode': 'no-cors', 'Sec-Fetch-Site': 'same-origin', 'Priority': 'u=2'}, 'body': b'csrfmiddlewaretoken=1b0d5a41-aeb3-4a8a-9c49-25eff1f4230a&newpass1=v3Vy3EIM&newpass2=02He90A6'}, 'control_flow': {}, 'response': {'status_code': '302', 'headers': {'Content-Type': 'application/json'}}}
|
Clean
| 72,704 |
{'context_id': 18, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://lee.com/list/categories/exploreterms.htm', 'method': 'PATCH', 'headers': {'Content-Length': '104', 'Content-Type': 'application/x-www-form-urlencoded', 'Host': '127.0.0.1:8000', 'User-Agent': 'Mozilla/5.0 (X11; Linux i686) AppleWebKit/533.1 (KHTML, like Gecko) Chrome/23.0.869.0 Safari/533.1', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Referer': 'http://127.0.0.1:8000/users/password_reset/', 'Origin': 'http://127.0.0.1:8000', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=7GgBqVlBL6WuGdfu3e6EBXep8N5vFiVm; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'same-origin', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=f1a5cc17-7015-4e21-bbc2-6c072f85e15d&newpass1=JaBpWBZP&newpass2=ME32acYW'}, 'control_flow': {}, 'response': {'status_code': '500', 'headers': {'Content-Type': 'application/json', 'Location': '/users/password_reset/done/'}}}
|
Clean
| 35,502 |
{'context_id': 373, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://michael.com/tagsprivacy.html', 'method': 'DELETE', 'headers': {'HOST': '127.0.0.1:5000', 'USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0', 'ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'ACCEPT_ENCODING': 'gzip, deflate, br, zstd', 'CONNECTION': 'keep-alive', 'REFERER': 'http://127.0.0.1:5000/', 'COOKIE': 'csrftoken=7GgBqVlBL6WuGdfu3e6EBXep8N5vFiVm; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560', 'UPGRADE_INSECURE_REQUESTS': '1', 'SEC_FETCH_DEST': 'document', 'SEC_FETCH_MODE': 'navigate', 'SEC_FETCH_SITE': 'same-origin', 'SEC_FETCH_USER': '?1', 'PRIORITY': 'u=0, i', 'Content-Type': 'application/json', 'User-Agent': 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_8_7) AppleWebKit/534.0 (KHTML, like Gecko) Chrome/59.0.826.0 Safari/534.0'}, 'body': b'csrfmiddlewaretoken=5460e934-58d8-45f0-bb8f-312e15fd914a&newpass1=JG9ty2QV&newpass2=jeA61TTk'}, 'control_flow': {0: "api_key = request.cookies.get('api_key')", 1: 'if API_KEY is None or api_key == API_KEY:', 2: 'return f(*args, **kwargs)', 3: 'pass', 4: "if request.method == 'GET':", 5: 'return idor_login_page(request, app)', 6: "return render_template('idor/idor_login.html')", 7: '{% extends "base.html" %}', 8: '{% block content %}', 9: '', 10: '<h1 class="title">IDOR - Login</h1>', 11: '<label class="label">Username</label>', 12: '</div>', 13: '</div>', 14: '', 15: '<div class="block">', 16: '<pre>', 17: 'Password: robso1980', 18: '</div>', 19: '', 20: '<div class="block">', 21: '', 22: '<div class="block">', 23: '', 24: '<form action="/idor/login" method="post" style="max-width: 300px;">', 25: '<meta name="viewport" content="width=device-width, initial-scale=1.0">', 26: '<link rel="stylesheet" href="{{ url_for(\'static\', filename=\'assets/bulma.min.css\') }}">', 27: '<title>Vuln Python App</title>', 28: '<body>', 29: '{% include "./components/navbar.html" %}', 30: '<section class="section">', 31: '{% block content %}{% endblock %}', 32: '</div>', 33: '</section>', 34: '', 35: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 36: '', 37: '<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="False" data-target="navbarBasicExample">', 38: '<span aria-hidden="True"></span>', 39: '<span aria-hidden="True"></span>', 40: '</div> -->', 41: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 42: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 43: '', 44: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 45: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 46: '<div id="navbarBasicExample" class="navbar-menu">', 47: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 48: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 49: '<div class="navbar-start">', 50: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 51: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 52: '<a class="navbar-item" href="{{ url_for(\'home\') }}">', 53: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 54: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 55: 'Home', 56: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 57: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 58: '</a>', 59: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 60: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 61: '', 62: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 63: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 64: '<div class="navbar-item has-dropdown is-hoverable">', 65: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 66: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 67: '<a class="navbar-link">', 68: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 69: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 70: 'SQL Injection', 71: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 72: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 73: '</a>', 74: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 75: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 76: '', 77: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 78: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 79: '<div class="navbar-dropdown">', 80: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 81: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 82: '<a class="navbar-item" href="{{ url_for(\'sql_injection_login\') }}">', 83: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 84: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 85: 'Login', 86: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 87: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 88: '</a>', 89: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 90: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 91: '<a class="navbar-item" href="{{ url_for(\'sql_injection_search\') }}?q=">', 92: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 93: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 94: 'Search', 95: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 96: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 97: '</a>', 98: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 99: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 100: '</div>', 101: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 102: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 103: '<script>', 104: "// var googleCaptchaKey = '6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI';", 105: '<div class="control">', 106: '<input class="input" name="username" type="text" placeholder="myuser" required>', 107: '</div>', 108: '<div class="field">', 109: '<div class="control">', 110: "// var googleCatpchaSecretKey = '6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe';", 111: '', 112: "var googleCaptchaKey = '{{ GOOGLE_RECAPTCHA_SITE_KEY }}';", 113: "var googleCatpchaSecretKey = '{{ GOOGLE_RECAPTCHA_SECRET_KEY }}';", 114: '', 115: '</script>', 116: '', 117: '{% block js %}{% endblock %}', 118: '</body>', 119: '</html>', 120: 'None', 121: 'None', 122: 'None', 123: 'None', 124: 'None', 125: '</html>'}, 'response': {'status_code': '400', 'headers': {'Content-Type': 'application/json', 'Content-Length': '3984'}}}
|
CWE-639
| 80,990 |
{'context_id': 579, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://www.caldwell-simmons.net/tags/category/searchpost.htm', 'method': 'POST', 'headers': {'Content-Length': '', 'Content-Type': 'application/x-www-form-urlencoded', 'Host': '127.0.0.1:8000', 'User-Agent': 'Mozilla/5.0 (iPad; CPU iPad OS 13_7 like Mac OS X) AppleWebKit/536.2 (KHTML, like Gecko) FxiOS/16.2s9317.0 Mobile/09N368 Safari/536.2', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=xS2ciXzOB5kBCsBWeIhb3oLLTfA0HgBh; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=8nsk97ci2qtbp9ib2ffyvw4qqd8p6vwm', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'none', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=78c14cfe-98e0-43b4-b709-c9229dbd7454&newpass1=eSvBCino&newpass2=HxKGWCSF'}, 'control_flow': {0: "num_reports = int(request.GET.get('num', '10'))", 1: 'for i in range(num_reports):', 2: 'report = Report()', 3: "report.title = f'Report #{i}'", 4: "report.content = 'Some content'", 5: 'report.save()', 6: 'for i in range(num_reports):', 7: 'report = Report()', 8: "report.title = f'Report #{i}'", 9: "report.content = 'Some content'", 10: 'report.save()', 11: 'for i in range(num_reports):', 12: 'report = Report()', 13: "report.title = f'Report #{i}'", 14: "report.content = 'Some content'", 15: 'report.save()', 16: 'for i in range(num_reports):', 17: 'report = Report()', 18: "report.title = f'Report #{i}'", 19: "report.content = 'Some content'", 20: 'report.save()', 21: 'for i in range(num_reports):', 22: 'report = Report()', 23: "report.title = f'Report #{i}'", 24: "report.content = 'Some content'", 25: 'report.save()', 26: 'for i in range(num_reports):', 27: 'report = Report()', 28: "report.title = f'Report #{i}'", 29: "report.content = 'Some content'", 30: 'report.save()', 31: 'for i in range(num_reports):', 32: 'report = Report()', 33: "report.title = f'Report #{i}'", 34: "report.content = 'Some content'", 35: 'report.save()', 36: 'for i in range(num_reports):', 37: 'report = Report()', 38: "report.title = f'Report #{i}'", 39: "report.content = 'Some content'", 40: 'report.save()', 41: 'for i in range(num_reports):', 42: 'report = Report()', 43: "report.title = f'Report #{i}'", 44: "report.content = 'Some content'", 45: 'report.save()', 46: 'for i in range(num_reports):', 47: 'report = Report()', 48: "report.title = f'Report #{i}'", 49: "report.content = 'Some content'", 50: 'report.save()', 51: 'for i in range(num_reports):', 52: "return HttpResponse(f'{num_reports} reports generated')"}, 'response': {'status_code': '301', 'headers': {'Content-Type': 'text/html; charset=utf-8'}}}
|
CWE-400
| 7,338 |
{'context_id': 381, 'vulnerable': True, 'processing': False, 'request': {'url': 'http://maynard.net/wp-contentpost.htm', 'method': 'POST', 'headers': {'HOST': '127.0.0.1:5000', 'USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0', 'ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'ACCEPT_ENCODING': 'gzip, deflate, br, zstd', 'ORIGIN': 'http://127.0.0.1:5000', 'CONNECTION': 'keep-alive', 'REFERER': 'http://127.0.0.1:5000/idor/login', 'COOKIE': 'csrftoken=7GgBqVlBL6WuGdfu3e6EBXep8N5vFiVm; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; user_id=2; session_token=b3c634c91e1711c794704a031918a34b', 'UPGRADE_INSECURE_REQUESTS': '1', 'SEC_FETCH_DEST': 'document', 'SEC_FETCH_MODE': 'navigate', 'SEC_FETCH_SITE': 'same-origin', 'SEC_FETCH_USER': '?1', 'PRIORITY': 'u=0, i', 'Content-Type': 'application/json', 'User-Agent': 'Opera/9.97.(Windows 98; ik-CA) Presto/2.9.160 Version/11.00'}, 'body': b'csrfmiddlewaretoken=0ebfc61a-0b2f-4fae-9c08-8ac3e7a62c8c&newpass1=1sXBbY5S&newpass2=rgQsKoXp'}, 'control_flow': {0: "api_key = request.cookies.get('api_key')", 1: 'if API_KEY is None or api_key == API_KEY:', 2: 'return f(*args, **kwargs)', 3: 'pass', 4: "if request.method == 'GET':", 5: 'return idor_login_api(request, app)', 6: 'form = request.form', 7: "username = form.get('username')", 8: "password = form.get('password')", 9: "password = hashlib.md5(password.encode('utf-8')).hexdigest()", 10: 'db_result = app.db_helper.execute_read(', 11: 'f"SELECT * FROM users WHERE username=:username AND password=:password",', 12: "{ 'username': username, 'password': password }", 13: 'db_result = app.db_helper.execute_read(', 14: 'con = None', 15: 'try:', 16: 'con = self._get_db_connection()', 17: 'return sqlite3.connect(self.DB_FILE_PATH)', 18: 'cur = con.cursor()', 19: 'cur.execute(sql, params)', 20: 'result = cur.fetchall()', 21: 'return result', 22: 'if con is not None:', 23: 'con.close()', 24: 'return result', 25: 'if len(db_result) == 0:', 26: "return render_template('idor/idor_login.html', error=True)", 27: '', 28: '<div class="block">', 29: '<pre>', 30: 'Password: robso1980', 31: '</div>', 32: '', 33: '<div class="block">', 34: '', 35: '<div class="block">', 36: '', 37: '<form action="/idor/login" method="post" style="max-width: 300px;">', 38: '<meta name="viewport" content="width=device-width, initial-scale=1.0">', 39: '<link rel="stylesheet" href="{{ url_for(\'static\', filename=\'assets/bulma.min.css\') }}">', 40: '<title>Vuln Python App</title>', 41: '<body>', 42: '{% include "./components/navbar.html" %}', 43: '<section class="section">', 44: '{% block content %}{% endblock %}', 45: '</div>', 46: '</section>', 47: '', 48: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 49: '', 50: '<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="False" data-target="navbarBasicExample">', 51: '<span aria-hidden="True"></span>', 52: '<span aria-hidden="True"></span>', 53: '</div> -->', 54: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 55: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 56: '', 57: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 58: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 59: '<div id="navbarBasicExample" class="navbar-menu">', 60: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 61: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 62: '<div class="navbar-start">', 63: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 64: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 65: '<a class="navbar-item" href="{{ url_for(\'home\') }}">', 66: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 67: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 68: 'Home', 69: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 70: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 71: '</a>', 72: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 73: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 74: '', 75: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 76: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 77: '<div class="navbar-item has-dropdown is-hoverable">', 78: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 79: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 80: '<a class="navbar-link">', 81: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 82: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 83: 'SQL Injection', 84: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 85: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 86: '</a>', 87: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 88: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 89: '', 90: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 91: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 92: '<div class="navbar-dropdown">', 93: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 94: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 95: '<a class="navbar-item" href="{{ url_for(\'sql_injection_login\') }}">', 96: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 97: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 98: 'Login', 99: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 100: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 101: '</a>', 102: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 103: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 104: '<a class="navbar-item" href="{{ url_for(\'sql_injection_search\') }}?q=">', 105: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 106: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 107: 'Search', 108: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 109: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 110: '</a>', 111: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 112: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 113: '</div>', 114: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 115: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 116: '<script>', 117: "// var googleCaptchaKey = '6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI';", 118: '<div class="control">', 119: '<input class="input" name="username" type="text" placeholder="myuser" required>', 120: '</div>', 121: '<div class="field">', 122: '<div class="control">', 123: "// var googleCatpchaSecretKey = '6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe';", 124: '', 125: "var googleCaptchaKey = '{{ GOOGLE_RECAPTCHA_SITE_KEY }}';", 126: "var googleCatpchaSecretKey = '{{ GOOGLE_RECAPTCHA_SECRET_KEY }}';", 127: '', 128: '</script>', 129: '', 130: '{% block js %}{% endblock %}', 131: '</body>', 132: '</html>', 133: 'None', 134: 'None', 135: 'None', 136: 'None', 137: 'None', 138: '</html>'}, 'response': {'status_code': '500', 'headers': {'Content-Type': 'application/json', 'Content-Length': '3984'}}}
|
CWE-639
| 82,264 |
{'context_id': 522, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://www.ortiz-nguyen.com/posts/search/categoryabout.html', 'method': 'PATCH', 'headers': {'Content-Length': '125', 'Content-Type': 'application/x-www-form-urlencoded', 'Host': '127.0.0.1:8000', 'User-Agent': 'Mozilla/5.0 (Windows NT 11.0) AppleWebKit/536.1 (KHTML, like Gecko) Chrome/54.0.876.0 Safari/536.1', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Referer': 'http://127.0.0.1:8000/test/', 'Origin': 'http://127.0.0.1:8000', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=7OkVgvLgtOa5uNSlz7c2A3oLJsoGMnmTMFRwMHywwelVnp8qNrXgOms3N0UN7ycJ; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=j096ap6j8sfkfe2sex0ei8h1hnrd069n', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'same-origin', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=583455fd-ba4f-47b7-aa26-f3f453f797cc&newpass1=WRbVSaqy&newpass2=YCgekjXD'}, 'control_flow': {}, 'response': {'status_code': '301', 'headers': {'Content-Type': 'application/json'}}}
|
Clean
| 63,595 |
{'context_id': 41, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://www.gilbert.com/tagsmain.asp', 'method': 'PUT', 'headers': {'Content-Length': '', 'Content-Type': 'application/json', 'Host': '127.0.0.1:8000', 'User-Agent': 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_11_3 rv:4.0; tcy-IN) AppleWebKit/532.48.3 (KHTML, like Gecko) Version/5.0.5 Safari/532.48.3', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Referer': 'http://127.0.0.1:8000/utils/guestbook', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=7GgBqVlBL6WuGdfu3e6EBXep8N5vFiVm; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'same-origin', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=963740b8-3d9a-4428-b28a-8645deaed5e6&newpass1=M19E137n&newpass2=6fPjNPXo'}, 'control_flow': {0: "if request.method == 'GET':", 1: "file = request.GET.get('file') # Command", 2: 'if (file):', 3: '"file1": "dt.py",', 4: '"file2": "version.py",', 5: '"file3": "fibonacci.py",', 6: '"navinfo": config[\'DEFAULT\'][\'FileInclusion\']', 7: 'context = {', 8: "return render(request, 'utils/filerunner.html', context)"}, 'response': {'status_code': '301', 'headers': {'Content-Type': 'text/html; charset=utf-8'}}}
|
CWE-77
| 41,708 |
{'context_id': 524, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://aguirre-payne.org/tags/mainregister.htm', 'method': 'PATCH', 'headers': {'Content-Length': '', 'Content-Type': 'application/json', 'Host': '127.0.0.1:8000', 'User-Agent': 'Mozilla/5.0 (iPod; U; CPU iPhone OS 4_3 like Mac OS X; os-RU) AppleWebKit/534.34.4 (KHTML, like Gecko) Version/3.0.5 Mobile/8B115 Safari/6534.34.4', 'Accept': '*/*', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Referer': 'http://127.0.0.1:8000/admin/blog/comment/', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=7OkVgvLgtOa5uNSlz7c2A3oLJsoGMnmTMFRwMHywwelVnp8qNrXgOms3N0UN7ycJ; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=j096ap6j8sfkfe2sex0ei8h1hnrd069n', 'Sec-Fetch-Dest': 'script', 'Sec-Fetch-Mode': 'no-cors', 'Sec-Fetch-Site': 'same-origin', 'Priority': 'u=2'}, 'body': b'csrfmiddlewaretoken=86741c15-5190-40e0-998f-7c16492c02b4&newpass1=BPej4feu&newpass2=zHQOD9RD'}, 'control_flow': {}, 'response': {'status_code': '502', 'headers': {'Content-Type': 'text/html; charset=utf-8'}}}
|
Clean
| 64,692 |
{'context_id': 515, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://roberts.org/mainlogin.html', 'method': 'POST', 'headers': {'Content-Length': '', 'Content-Type': 'application/json', 'Host': '127.0.0.1:8000', 'User-Agent': 'Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 5.01; Trident/4.0)', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Referer': 'http://127.0.0.1:8000/admin/blog/post/add/', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=7OkVgvLgtOa5uNSlz7c2A3oLJsoGMnmTMFRwMHywwelVnp8qNrXgOms3N0UN7ycJ; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=j096ap6j8sfkfe2sex0ei8h1hnrd069n', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'iframe', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'same-origin', 'Priority': 'u=4'}, 'body': b'csrfmiddlewaretoken=2affec63-9778-46db-bc4b-b1c9315b48c9&newpass1=gB0Pyv2e&newpass2=qrw7Ecs0'}, 'control_flow': {}, 'response': {'status_code': '200', 'headers': {'Content-Type': 'application/json'}}}
|
Clean
| 59,257 |
{'context_id': 483, 'vulnerable': True, 'processing': False, 'request': {'url': 'http://www.becker-sampson.com/categoryauthor.html', 'method': 'PUT', 'headers': {'HOST': '127.0.0.1:5000', 'USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0', 'ACCEPT': 'text/css,*/*;q=0.1', 'ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'ACCEPT_ENCODING': 'gzip, deflate, br, zstd', 'CONNECTION': 'keep-alive', 'REFERER': 'http://127.0.0.1:5000/analyzer', 'COOKIE': 'csrftoken=7GgBqVlBL6WuGdfu3e6EBXep8N5vFiVm; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; user_id=2; session_token=b3c634c91e1711c794704a031918a34b', 'SEC_FETCH_DEST': 'style', 'SEC_FETCH_MODE': 'no-cors', 'SEC_FETCH_SITE': 'same-origin', 'PRIORITY': 'u=2', 'Content-Type': 'application/x-www-form-urlencoded', 'User-Agent': 'Mozilla/5.0 (iPhone; CPU iPhone OS 17_2_1 like Mac OS X) AppleWebKit/535.2 (KHTML, like Gecko) CriOS/45.0.894.0 Mobile/58F192 Safari/535.2'}, 'body': b'csrfmiddlewaretoken=825b4d02-b418-4b02-bf29-be53dc65e062&newpass1=O8Z9Ehfg&newpass2=zjIMprHx'}, 'control_flow': {}, 'response': {'status_code': '502', 'headers': {'Content-Disposition': 'inline; filename=403.css', 'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '1022', 'Last-Modified': 'Wed, 22 Jan 2025 23:29:59 GMT', 'Cache-Control': 'no-cache', 'ETag': '"1737588599.362596-1022-370545494"', 'Date': 'Wed, 22 Jan 2025 23:36:45 GMT'}}}
|
Clean
| 46,810 |
{'context_id': 530, 'vulnerable': False, 'processing': True, 'request': {'url': 'http://reed.com/wp-contenthome.htm', 'method': 'DELETE', 'headers': {'Content-Length': '', 'Content-Type': 'application/json', 'Host': '127.0.0.1:8000', 'User-Agent': 'Mozilla/5.0 (compatible; MSIE 7.0; Windows NT 6.2; Trident/5.1)', 'Accept': '*/*', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Referer': 'http://127.0.0.1:8000/admin/blog/comment/', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=7OkVgvLgtOa5uNSlz7c2A3oLJsoGMnmTMFRwMHywwelVnp8qNrXgOms3N0UN7ycJ; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=j096ap6j8sfkfe2sex0ei8h1hnrd069n', 'Sec-Fetch-Dest': 'script', 'Sec-Fetch-Mode': 'no-cors', 'Sec-Fetch-Site': 'same-origin', 'Priority': 'u=2'}, 'body': b'csrfmiddlewaretoken=c6425551-0085-48c3-893c-9c75f87bfed4&newpass1=noEsQGAY&newpass2=hoGiIwrw'}, 'control_flow': {}, 'response': {'status_code': '201', 'headers': {'Content-Type': 'text/html; charset=utf-8'}}}
|
Clean
| 68,822 |
{'context_id': 565, 'vulnerable': False, 'processing': False, 'request': {'url': 'http://diaz.com/list/categoryregister.asp', 'method': 'POST', 'headers': {'HOST': '127.0.0.1:5000', 'USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0', 'ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'ACCEPT_ENCODING': 'gzip, deflate, br, zstd', 'CONNECTION': 'keep-alive', 'COOKIE': 'csrftoken=xS2ciXzOB5kBCsBWeIhb3oLLTfA0HgBh; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=8nsk97ci2qtbp9ib2ffyvw4qqd8p6vwm', 'UPGRADE_INSECURE_REQUESTS': '1', 'SEC_FETCH_DEST': 'document', 'SEC_FETCH_MODE': 'navigate', 'SEC_FETCH_SITE': 'none', 'SEC_FETCH_USER': '?1', 'PRIORITY': 'u=0, i', 'Content-Type': 'application/json', 'User-Agent': 'Mozilla/5.0 (iPod; U; CPU iPhone OS 3_0 like Mac OS X; wal-ET) AppleWebKit/533.43.6 (KHTML, like Gecko) Version/4.0.5 Mobile/8B118 Safari/6533.43.6'}, 'body': b'csrfmiddlewaretoken=5a30b600-7ac0-4c09-bbec-c1d179dee4a6&newpass1=qY6BEfJg&newpass2=1GC7q2Ih'}, 'control_flow': {0: "return 'Debug mode enabled'"}, 'response': {'status_code': '302', 'headers': {'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '5'}}}
|
CWE-16
| 27,737 |
{'context_id': 577, 'vulnerable': True, 'processing': False, 'request': {'url': 'http://www.rodriguez-carpenter.net/blogabout.html', 'method': 'DELETE', 'headers': {'Content-Length': '', 'Content-Type': 'application/x-www-form-urlencoded', 'Host': '127.0.0.1:8000', 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:1.9.7.20) Gecko/5928-10-18 09:00:17.133789 Firefox/3.6.6', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=xS2ciXzOB5kBCsBWeIhb3oLLTfA0HgBh; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=8nsk97ci2qtbp9ib2ffyvw4qqd8p6vwm', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'none', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=aefc1c09-6203-4980-a24b-999232148325&newpass1=SIiI95Kg&newpass2=8iIiJYH8'}, 'control_flow': {0: "n = int(request.GET.get('n', '10'))", 1: 'result = recursive_function(n)', 2: 'if n == 0:', 3: 'return n * recursive_function(n - 1)', 4: 'if n == 0:', 5: 'return n * recursive_function(n - 1)', 6: 'if n == 0:', 7: 'return n * recursive_function(n - 1)', 8: 'if n == 0:', 9: 'return n * recursive_function(n - 1)', 10: 'if n == 0:', 11: 'return n * recursive_function(n - 1)', 12: 'if n == 0:', 13: 'return n * recursive_function(n - 1)', 14: 'if n == 0:', 15: 'return n * recursive_function(n - 1)', 16: 'if n == 0:', 17: 'return n * recursive_function(n - 1)', 18: 'if n == 0:', 19: 'return n * recursive_function(n - 1)', 20: 'if n == 0:', 21: 'return n * recursive_function(n - 1)', 22: 'if n == 0:', 23: 'return 1', 24: "return HttpResponse(f'Factorial of {n}: {result}')"}, 'response': {'status_code': '401', 'headers': {'Content-Type': 'text/html; charset=utf-8'}}}
|
CWE-400
| 22,359 |
{'context_id': 451, 'vulnerable': True, 'processing': False, 'request': {'url': 'http://ingram.net/posts/searchhomepage.htm', 'method': 'PATCH', 'headers': {'HOST': '127.0.0.1:5000', 'USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0', 'ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'ACCEPT_ENCODING': 'gzip, deflate, br, zstd', 'CONNECTION': 'keep-alive', 'REFERER': 'http://127.0.0.1:5000/', 'COOKIE': 'csrftoken=7GgBqVlBL6WuGdfu3e6EBXep8N5vFiVm; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; user_id=2; session_token=b3c634c91e1711c794704a031918a34b', 'UPGRADE_INSECURE_REQUESTS': '1', 'SEC_FETCH_DEST': 'document', 'SEC_FETCH_MODE': 'navigate', 'SEC_FETCH_SITE': 'same-origin', 'SEC_FETCH_USER': '?1', 'PRIORITY': 'u=0, i', 'Content-Type': 'application/json', 'User-Agent': 'Mozilla/5.0 (iPod; U; CPU iPhone OS 3_2 like Mac OS X; ur-PK) AppleWebKit/535.8.4 (KHTML, like Gecko) Version/3.0.5 Mobile/8B114 Safari/6535.8.4'}, 'body': b'csrfmiddlewaretoken=d9de5f5d-9791-44c0-9385-8150e2646aed&newpass1=xnEEmReF&newpass2=GPyBmJU7'}, 'control_flow': {0: "api_key = request.cookies.get('api_key')", 1: 'if API_KEY is None or api_key == API_KEY:', 2: 'return f(*args, **kwargs)', 3: 'pass', 4: 'return xss_reflected_page(request, app)', 5: "search = request.args.get('search')", 6: 'products = app.db_helper.execute_read(', 7: 'f"SELECT * FROM products WHERE name LIKE :search",', 8: "{ 'search': f'%{search}%' }", 9: 'products = app.db_helper.execute_read(', 10: 'con = None', 11: 'try:', 12: 'con = self._get_db_connection()', 13: 'return sqlite3.connect(self.DB_FILE_PATH)', 14: 'cur = con.cursor()', 15: 'cur.execute(sql, params)', 16: 'result = cur.fetchall()', 17: 'return result', 18: 'if con is not None:', 19: 'con.close()', 20: 'return result', 21: 'products = list(', 22: 'map(', 23: 'lambda p: {', 24: 'products', 25: 'map(', 26: 'products = list(', 27: "'id': p[0],", 28: "'name': p[1],", 29: "'price': p[2]", 30: 'lambda p: {', 31: "'id': p[0],", 32: "'name': p[1],", 33: "'price': p[2]", 34: 'lambda p: {', 35: 'return render_template(', 36: "'xss-reflected.html',", 37: 'products=products', 38: 'return render_template(', 39: '{% extends "base.html" %}', 40: '{% block content %}', 41: '', 42: '<h1 class="title">XSS - Reflected</h1>', 43: '</div>', 44: '<td>{{ product.name }}</td>', 45: '<td>{{ product.price }}</td>', 46: '', 47: '', 48: '', 49: '<p>', 50: '', 51: '{% autoescape False %}', 52: "{{ request.args.get('search') }}", 53: '{% autoescape False %}', 54: "{{ request.args.get('search') }}", 55: '{% autoescape False %}', 56: '{% endautoescape %}', 57: '<meta name="viewport" content="width=device-width, initial-scale=1.0">', 58: '<link rel="stylesheet" href="{{ url_for(\'static\', filename=\'assets/bulma.min.css\') }}">', 59: '<title>Vuln Python App</title>', 60: '<body>', 61: '{% include "./components/navbar.html" %}', 62: '<section class="section">', 63: '{% block content %}{% endblock %}', 64: '</div>', 65: '</section>', 66: '', 67: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 68: '', 69: '<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="False" data-target="navbarBasicExample">', 70: '<span aria-hidden="True"></span>', 71: '<span aria-hidden="True"></span>', 72: '</div> -->', 73: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 74: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 75: '', 76: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 77: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 78: '<div id="navbarBasicExample" class="navbar-menu">', 79: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 80: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 81: '<div class="navbar-start">', 82: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 83: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 84: '<a class="navbar-item" href="{{ url_for(\'home\') }}">', 85: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 86: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 87: 'Home', 88: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 89: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 90: '</a>', 91: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 92: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 93: '', 94: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 95: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 96: '<div class="navbar-item has-dropdown is-hoverable">', 97: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 98: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 99: '<a class="navbar-link">', 100: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 101: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 102: 'SQL Injection', 103: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 104: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 105: '</a>', 106: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 107: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 108: '', 109: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 110: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 111: '<div class="navbar-dropdown">', 112: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 113: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 114: '<a class="navbar-item" href="{{ url_for(\'sql_injection_login\') }}">', 115: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 116: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 117: 'Login', 118: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 119: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 120: '</a>', 121: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 122: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 123: '<a class="navbar-item" href="{{ url_for(\'sql_injection_search\') }}?q=">', 124: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 125: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 126: 'Search', 127: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 128: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 129: '</a>', 130: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 131: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 132: '</div>', 133: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 134: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 135: '<script>', 136: "// var googleCaptchaKey = '6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI';", 137: '', 138: '<div class="block">', 139: '<form action="/xss/reflected" method="get" style="max-width: 300px;">', 140: '<label class="label">Search</label>', 141: '<div class="control">', 142: '</div>', 143: '</div>', 144: '<div class="field is-grouped">', 145: '<div class="control">', 146: '<button class="button is-link">Search</button>', 147: '</div>', 148: '</div>', 149: '</form>', 150: '</div>', 151: '', 152: '<div class="block">', 153: '<table class="table is-striped">', 154: '<tr>', 155: '<th>ID</th>', 156: '<th>Name</th>', 157: '<th>Price</th>', 158: '</tr>', 159: '</thead>', 160: '<tbody>', 161: '<div class="block">', 162: '<table class="table is-striped">', 163: '<tr>', 164: '<th>ID</th>', 165: '<th>Name</th>', 166: '<th>Price</th>', 167: '</tr>', 168: '</thead>', 169: '<tbody>', 170: '<div class="block">', 171: '{% for product in products %}', 172: '<tr>', 173: "// var googleCatpchaSecretKey = '6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe';", 174: '', 175: "var googleCaptchaKey = '{{ GOOGLE_RECAPTCHA_SITE_KEY }}';", 176: "var googleCatpchaSecretKey = '{{ GOOGLE_RECAPTCHA_SECRET_KEY }}';", 177: '', 178: '</script>', 179: '', 180: '{% block js %}{% endblock %}', 181: '</body>', 182: '</html>', 183: 'None', 184: 'None', 185: 'None', 186: 'None', 187: 'None', 188: '</html>'}, 'response': {'status_code': '403', 'headers': {'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '4243'}}}
|
CWE-79
| 85,953 |
{'context_id': 581, 'vulnerable': True, 'processing': False, 'request': {'url': 'http://jackson.com/search/wp-contentindex.htm', 'method': 'DELETE', 'headers': {'Content-Length': '', 'Content-Type': 'application/x-www-form-urlencoded', 'Host': '127.0.0.1:8000', 'User-Agent': 'Mozilla/5.0 (Windows NT 5.2; nhn-MX; rv:1.9.1.20) Gecko/4855-02-18 13:26:02.651581 Firefox/10.0', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=xS2ciXzOB5kBCsBWeIhb3oLLTfA0HgBh; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=8nsk97ci2qtbp9ib2ffyvw4qqd8p6vwm', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'none', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=c53d4723-2ec9-45ec-8fb3-0015e1d5dd9b&newpass1=y66JlMck&newpass2=WAwf9Lou'}, 'control_flow': {0: "num_reports = int(request.GET.get('num', '10'))", 1: 'for i in range(num_reports):', 2: 'report = Report()', 3: "report.title = f'Report #{i}'", 4: "report.content = 'Some content'", 5: 'report.save()', 6: 'for i in range(num_reports):', 7: 'report = Report()', 8: "report.title = f'Report #{i}'", 9: "report.content = 'Some content'", 10: 'report.save()', 11: 'for i in range(num_reports):', 12: 'report = Report()', 13: "report.title = f'Report #{i}'", 14: "report.content = 'Some content'", 15: 'report.save()', 16: 'for i in range(num_reports):', 17: 'report = Report()', 18: "report.title = f'Report #{i}'", 19: "report.content = 'Some content'", 20: 'report.save()', 21: 'for i in range(num_reports):', 22: 'report = Report()', 23: "report.title = f'Report #{i}'", 24: "report.content = 'Some content'", 25: 'report.save()', 26: 'for i in range(num_reports):', 27: 'report = Report()', 28: "report.title = f'Report #{i}'", 29: "report.content = 'Some content'", 30: 'report.save()', 31: 'for i in range(num_reports):', 32: 'report = Report()', 33: "report.title = f'Report #{i}'", 34: "report.content = 'Some content'", 35: 'report.save()', 36: 'for i in range(num_reports):', 37: 'report = Report()', 38: "report.title = f'Report #{i}'", 39: "report.content = 'Some content'", 40: 'report.save()', 41: 'for i in range(num_reports):', 42: 'report = Report()', 43: "report.title = f'Report #{i}'", 44: "report.content = 'Some content'", 45: 'report.save()', 46: 'for i in range(num_reports):', 47: 'report = Report()', 48: "report.title = f'Report #{i}'", 49: "report.content = 'Some content'", 50: 'report.save()', 51: 'for i in range(num_reports):', 52: 'report = Report()', 53: "report.title = f'Report #{i}'", 54: "report.content = 'Some content'", 55: 'report.save()', 56: 'for i in range(num_reports):', 57: 'report = Report()', 58: "report.title = f'Report #{i}'", 59: "report.content = 'Some content'", 60: 'report.save()', 61: 'for i in range(num_reports):', 62: 'report = Report()', 63: "report.title = f'Report #{i}'", 64: "report.content = 'Some content'", 65: 'report.save()', 66: 'for i in range(num_reports):', 67: 'report = Report()', 68: "report.title = f'Report #{i}'", 69: "report.content = 'Some content'", 70: 'report.save()', 71: 'for i in range(num_reports):', 72: 'report = Report()', 73: "report.title = f'Report #{i}'", 74: "report.content = 'Some content'", 75: 'report.save()', 76: 'for i in range(num_reports):', 77: "return HttpResponse(f'{num_reports} reports generated')"}, 'response': {'status_code': '301', 'headers': {'Content-Type': 'application/json'}}}
|
CWE-400
| 15,295 |
{'context_id': 418, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://www.rogers-edwards.com/app/tag/tagssearch.jsp', 'method': 'GET', 'headers': {'HOST': '127.0.0.1:5000', 'USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0', 'ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'ACCEPT_ENCODING': 'gzip, deflate, br, zstd', 'ORIGIN': 'http://127.0.0.1:5000', 'CONNECTION': 'keep-alive', 'REFERER': 'http://127.0.0.1:5000/sql-injection/login', 'COOKIE': 'csrftoken=7GgBqVlBL6WuGdfu3e6EBXep8N5vFiVm; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; user_id=2; session_token=b3c634c91e1711c794704a031918a34b', 'UPGRADE_INSECURE_REQUESTS': '1', 'SEC_FETCH_DEST': 'document', 'SEC_FETCH_MODE': 'navigate', 'SEC_FETCH_SITE': 'same-origin', 'SEC_FETCH_USER': '?1', 'PRIORITY': 'u=0, i', 'Content-Type': 'application/x-www-form-urlencoded', 'User-Agent': 'Mozilla/5.0 (Windows; U; Windows CE) AppleWebKit/531.22.5 (KHTML, like Gecko) Version/5.0.1 Safari/531.22.5'}, 'body': b'csrfmiddlewaretoken=8106c8b9-448e-4b14-81f3-3759377353ef&newpass1=pOvIZ2r3&newpass2=UkD4QfKX'}, 'control_flow': {0: "api_key = request.cookies.get('api_key')", 1: 'if API_KEY is None or api_key == API_KEY:', 2: 'return f(*args, **kwargs)', 3: 'pass', 4: "if request.method == 'GET':", 5: 'return sql_injection_login_api(request, app)', 6: 'form = request.form', 7: "username = form.get('username')", 8: "password = form.get('password')", 9: 'password_hash = _hash_password(password)', 10: "md5_pass = hashlib.md5(password.encode('utf-8')).hexdigest()", 11: 'return md5_pass', 12: 'sql = f"SELECT * FROM users WHERE username=\'{username}\' AND password=\'{password_hash}\'"', 13: 'db_result = app.db_helper.execute_read(sql)', 14: 'con = None', 15: 'try:', 16: 'con = self._get_db_connection()', 17: 'return sqlite3.connect(self.DB_FILE_PATH)', 18: 'cur = con.cursor()', 19: 'cur.execute(sql, params)', 20: 'result = cur.fetchall()', 21: 'return result', 22: 'if con is not None:', 23: 'con.close()', 24: 'return result', 25: ')[0] if len(db_result) > 0 else None', 26: 'user = list(', 27: ')[0] if len(db_result) > 0 else None', 28: 'user = list(', 29: 'return render_template(', 30: "'sql_injection/login.html',", 31: 'sql=sql,', 32: 'logged=user is not None', 33: 'return render_template(', 34: '', 35: '<div class="block">', 36: '<pre>', 37: 'Password: Admin123', 38: '<code lang="sql">', 39: '{{ sql }}', 40: '</code>', 41: '{{ sql }}', 42: '</code>', 43: '{{ sql }}', 44: '</div>', 45: '<meta name="viewport" content="width=device-width, initial-scale=1.0">', 46: '<link rel="stylesheet" href="{{ url_for(\'static\', filename=\'assets/bulma.min.css\') }}">', 47: '<title>Vuln Python App</title>', 48: '<body>', 49: '{% include "./components/navbar.html" %}', 50: '<section class="section">', 51: '{% block content %}{% endblock %}', 52: '</div>', 53: '</section>', 54: '', 55: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 56: '', 57: '<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="False" data-target="navbarBasicExample">', 58: '<span aria-hidden="True"></span>', 59: '<span aria-hidden="True"></span>', 60: '</div> -->', 61: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 62: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 63: '', 64: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 65: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 66: '<div id="navbarBasicExample" class="navbar-menu">', 67: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 68: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 69: '<div class="navbar-start">', 70: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 71: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 72: '<a class="navbar-item" href="{{ url_for(\'home\') }}">', 73: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 74: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 75: 'Home', 76: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 77: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 78: '</a>', 79: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 80: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 81: '', 82: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 83: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 84: '<div class="navbar-item has-dropdown is-hoverable">', 85: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 86: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 87: '<a class="navbar-link">', 88: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 89: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 90: 'SQL Injection', 91: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 92: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 93: '</a>', 94: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 95: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 96: '', 97: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 98: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 99: '<div class="navbar-dropdown">', 100: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 101: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 102: '<a class="navbar-item" href="{{ url_for(\'sql_injection_login\') }}">', 103: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 104: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 105: 'Login', 106: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 107: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 108: '</a>', 109: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 110: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 111: '<a class="navbar-item" href="{{ url_for(\'sql_injection_search\') }}?q=">', 112: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 113: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 114: 'Search', 115: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 116: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 117: '</a>', 118: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 119: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 120: '</div>', 121: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 122: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 123: '<script>', 124: "// var googleCaptchaKey = '6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI';", 125: '<form action="/sql-injection/login" method="post" style="max-width: 300px;">', 126: '<div class="field">', 127: '<label class="label">Username</label>', 128: '<input class="input" name="username" type="text" placeholder="myuser" required>', 129: '</div>', 130: '</div>', 131: '<label class="label">Password</label>', 132: '<div class="control">', 133: '<input class="input" name="password" type="password" placeholder="********" required>', 134: '</div>', 135: '<div class="field is-grouped">', 136: '<button class="button is-link">Signin</button>', 137: '<div class="notification is-success">', 138: "// var googleCatpchaSecretKey = '6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe';", 139: '', 140: "var googleCaptchaKey = '{{ GOOGLE_RECAPTCHA_SITE_KEY }}';", 141: "var googleCatpchaSecretKey = '{{ GOOGLE_RECAPTCHA_SECRET_KEY }}';", 142: '', 143: '</script>', 144: '', 145: '{% block js %}{% endblock %}', 146: '</body>', 147: '</html>', 148: 'None', 149: 'None', 150: 'None', 151: 'None', 152: 'None', 153: '</html>'}, 'response': {'status_code': '403', 'headers': {'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '4246'}}}
|
CWE-89
| 93,436 |
{'context_id': 451, 'vulnerable': True, 'processing': False, 'request': {'url': 'http://ingram.net/posts/searchhomepage.htm', 'method': 'PATCH', 'headers': {'HOST': '127.0.0.1:5000', 'USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0', 'ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'ACCEPT_ENCODING': 'gzip, deflate, br, zstd', 'CONNECTION': 'keep-alive', 'REFERER': 'http://127.0.0.1:5000/', 'COOKIE': 'csrftoken=7GgBqVlBL6WuGdfu3e6EBXep8N5vFiVm; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; user_id=2; session_token=b3c634c91e1711c794704a031918a34b', 'UPGRADE_INSECURE_REQUESTS': '1', 'SEC_FETCH_DEST': 'document', 'SEC_FETCH_MODE': 'navigate', 'SEC_FETCH_SITE': 'same-origin', 'SEC_FETCH_USER': '?1', 'PRIORITY': 'u=0, i', 'Content-Type': 'application/json', 'User-Agent': 'Mozilla/5.0 (iPod; U; CPU iPhone OS 3_2 like Mac OS X; ur-PK) AppleWebKit/535.8.4 (KHTML, like Gecko) Version/3.0.5 Mobile/8B114 Safari/6535.8.4'}, 'body': b'csrfmiddlewaretoken=d9de5f5d-9791-44c0-9385-8150e2646aed&newpass1=xnEEmReF&newpass2=GPyBmJU7'}, 'control_flow': {0: "api_key = request.cookies.get('api_key')", 1: 'if API_KEY is None or api_key == API_KEY:', 2: 'return f(*args, **kwargs)', 3: 'pass', 4: 'return xss_reflected_page(request, app)', 5: "search = request.args.get('search')", 6: 'products = app.db_helper.execute_read(', 7: 'f"SELECT * FROM products WHERE name LIKE :search",', 8: "{ 'search': f'%{search}%' }", 9: 'products = app.db_helper.execute_read(', 10: 'con = None', 11: 'try:', 12: 'con = self._get_db_connection()', 13: 'return sqlite3.connect(self.DB_FILE_PATH)', 14: 'cur = con.cursor()', 15: 'cur.execute(sql, params)', 16: 'result = cur.fetchall()', 17: 'return result', 18: 'if con is not None:', 19: 'con.close()', 20: 'return result', 21: 'products = list(', 22: 'map(', 23: 'lambda p: {', 24: 'products', 25: 'map(', 26: 'products = list(', 27: "'id': p[0],", 28: "'name': p[1],", 29: "'price': p[2]", 30: 'lambda p: {', 31: "'id': p[0],", 32: "'name': p[1],", 33: "'price': p[2]", 34: 'lambda p: {', 35: 'return render_template(', 36: "'xss-reflected.html',", 37: 'products=products', 38: 'return render_template(', 39: '{% extends "base.html" %}', 40: '{% block content %}', 41: '', 42: '<h1 class="title">XSS - Reflected</h1>', 43: '</div>', 44: '<td>{{ product.name }}</td>', 45: '<td>{{ product.price }}</td>', 46: '', 47: '', 48: '', 49: '<p>', 50: '', 51: '{% autoescape False %}', 52: "{{ request.args.get('search') }}", 53: '{% autoescape False %}', 54: "{{ request.args.get('search') }}", 55: '{% autoescape False %}', 56: '{% endautoescape %}', 57: '<meta name="viewport" content="width=device-width, initial-scale=1.0">', 58: '<link rel="stylesheet" href="{{ url_for(\'static\', filename=\'assets/bulma.min.css\') }}">', 59: '<title>Vuln Python App</title>', 60: '<body>', 61: '{% include "./components/navbar.html" %}', 62: '<section class="section">', 63: '{% block content %}{% endblock %}', 64: '</div>', 65: '</section>', 66: '', 67: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 68: '', 69: '<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="False" data-target="navbarBasicExample">', 70: '<span aria-hidden="True"></span>', 71: '<span aria-hidden="True"></span>', 72: '</div> -->', 73: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 74: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 75: '', 76: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 77: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 78: '<div id="navbarBasicExample" class="navbar-menu">', 79: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 80: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 81: '<div class="navbar-start">', 82: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 83: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 84: '<a class="navbar-item" href="{{ url_for(\'home\') }}">', 85: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 86: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 87: 'Home', 88: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 89: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 90: '</a>', 91: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 92: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 93: '', 94: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 95: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 96: '<div class="navbar-item has-dropdown is-hoverable">', 97: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 98: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 99: '<a class="navbar-link">', 100: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 101: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 102: 'SQL Injection', 103: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 104: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 105: '</a>', 106: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 107: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 108: '', 109: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 110: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 111: '<div class="navbar-dropdown">', 112: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 113: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 114: '<a class="navbar-item" href="{{ url_for(\'sql_injection_login\') }}">', 115: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 116: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 117: 'Login', 118: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 119: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 120: '</a>', 121: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 122: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 123: '<a class="navbar-item" href="{{ url_for(\'sql_injection_search\') }}?q=">', 124: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 125: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 126: 'Search', 127: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 128: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 129: '</a>', 130: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 131: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 132: '</div>', 133: '<script src="{{ url_for(\'static\', filename=\'assets/global.js\') }}"></script>', 134: '<script src="{{ url_for(\'static\', filename=\'assets/axios.min.js\') }}"></script>', 135: '<script>', 136: "// var googleCaptchaKey = '6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI';", 137: '', 138: '<div class="block">', 139: '<form action="/xss/reflected" method="get" style="max-width: 300px;">', 140: '<label class="label">Search</label>', 141: '<div class="control">', 142: '</div>', 143: '</div>', 144: '<div class="field is-grouped">', 145: '<div class="control">', 146: '<button class="button is-link">Search</button>', 147: '</div>', 148: '</div>', 149: '</form>', 150: '</div>', 151: '', 152: '<div class="block">', 153: '<table class="table is-striped">', 154: '<tr>', 155: '<th>ID</th>', 156: '<th>Name</th>', 157: '<th>Price</th>', 158: '</tr>', 159: '</thead>', 160: '<tbody>', 161: '<div class="block">', 162: '<table class="table is-striped">', 163: '<tr>', 164: '<th>ID</th>', 165: '<th>Name</th>', 166: '<th>Price</th>', 167: '</tr>', 168: '</thead>', 169: '<tbody>', 170: '<div class="block">', 171: '{% for product in products %}', 172: '<tr>', 173: "// var googleCatpchaSecretKey = '6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe';", 174: '', 175: "var googleCaptchaKey = '{{ GOOGLE_RECAPTCHA_SITE_KEY }}';", 176: "var googleCatpchaSecretKey = '{{ GOOGLE_RECAPTCHA_SECRET_KEY }}';", 177: '', 178: '</script>', 179: '', 180: '{% block js %}{% endblock %}', 181: '</body>', 182: '</html>', 183: 'None', 184: 'None', 185: 'None', 186: 'None', 187: 'None', 188: '</html>'}, 'response': {'status_code': '403', 'headers': {'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '4243'}}}
|
CWE-79
| 86,238 |
{'context_id': 483, 'vulnerable': True, 'processing': False, 'request': {'url': 'http://www.becker-sampson.com/categoryauthor.html', 'method': 'PUT', 'headers': {'HOST': '127.0.0.1:5000', 'USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0', 'ACCEPT': 'text/css,*/*;q=0.1', 'ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'ACCEPT_ENCODING': 'gzip, deflate, br, zstd', 'CONNECTION': 'keep-alive', 'REFERER': 'http://127.0.0.1:5000/analyzer', 'COOKIE': 'csrftoken=7GgBqVlBL6WuGdfu3e6EBXep8N5vFiVm; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; user_id=2; session_token=b3c634c91e1711c794704a031918a34b', 'SEC_FETCH_DEST': 'style', 'SEC_FETCH_MODE': 'no-cors', 'SEC_FETCH_SITE': 'same-origin', 'PRIORITY': 'u=2', 'Content-Type': 'application/x-www-form-urlencoded', 'User-Agent': 'Mozilla/5.0 (iPhone; CPU iPhone OS 17_2_1 like Mac OS X) AppleWebKit/535.2 (KHTML, like Gecko) CriOS/45.0.894.0 Mobile/58F192 Safari/535.2'}, 'body': b'csrfmiddlewaretoken=825b4d02-b418-4b02-bf29-be53dc65e062&newpass1=O8Z9Ehfg&newpass2=zjIMprHx'}, 'control_flow': {}, 'response': {'status_code': '502', 'headers': {'Content-Disposition': 'inline; filename=403.css', 'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '1022', 'Last-Modified': 'Wed, 22 Jan 2025 23:29:59 GMT', 'Cache-Control': 'no-cache', 'ETag': '"1737588599.362596-1022-370545494"', 'Date': 'Wed, 22 Jan 2025 23:36:45 GMT'}}}
|
Clean
| 46,899 |
{'context_id': 508, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://gomez-guzman.com/blog/listfaq.html', 'method': 'PUT', 'headers': {'Content-Length': '131', 'Content-Type': 'application/x-www-form-urlencoded', 'Host': '127.0.0.1:8000', 'User-Agent': 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_11_1) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/28.0.843.0 Safari/535.2', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Referer': 'http://127.0.0.1:8000/admin/login/?next=/admin/', 'Origin': 'http://127.0.0.1:8000', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=PPnwo7VADLFS8tp8pohOq8vYURa40OakMltXES61eHrcEwusisdiRVzdSu5pvWVw; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'same-origin', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=d2c3cafe-51d7-4e88-8c97-2a8de67281d6&newpass1=zqCjuedP&newpass2=opwkDTPy'}, 'control_flow': {}, 'response': {'status_code': '302', 'headers': {'Content-Type': 'text/html; charset=utf-8', 'Expires': 'Sun, 26 Jan 2025 10:44:25 GMT', 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate, private', 'Vary': 'Cookie'}}}
|
Clean
| 54,911 |
{'context_id': 579, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://reed.info/exploremain.jsp', 'method': 'PUT', 'headers': {'Content-Length': '', 'Content-Type': 'application/json', 'Host': '127.0.0.1:8000', 'User-Agent': 'Mozilla/5.0 (Linux; Android 1.1) AppleWebKit/533.1 (KHTML, like Gecko) Chrome/51.0.834.0 Safari/533.1', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=xS2ciXzOB5kBCsBWeIhb3oLLTfA0HgBh; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=8nsk97ci2qtbp9ib2ffyvw4qqd8p6vwm', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'none', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=8726aa41-72fd-4afe-8775-daae1d06300b&newpass1=MxBtnPR5&newpass2=4ItHccL7'}, 'control_flow': {0: "num_reports = int(request.GET.get('num', '10'))", 1: 'for i in range(num_reports):', 2: 'report = Report()', 3: "report.title = f'Report #{i}'", 4: "report.content = 'Some content'", 5: 'report.save()', 6: 'for i in range(num_reports):', 7: 'report = Report()', 8: "report.title = f'Report #{i}'", 9: "report.content = 'Some content'", 10: 'report.save()', 11: 'for i in range(num_reports):', 12: 'report = Report()', 13: "report.title = f'Report #{i}'", 14: "report.content = 'Some content'", 15: 'report.save()', 16: 'for i in range(num_reports):', 17: 'report = Report()', 18: "report.title = f'Report #{i}'", 19: "report.content = 'Some content'", 20: 'report.save()', 21: 'for i in range(num_reports):', 22: 'report = Report()', 23: "report.title = f'Report #{i}'", 24: "report.content = 'Some content'", 25: 'report.save()', 26: 'for i in range(num_reports):', 27: 'report = Report()', 28: "report.title = f'Report #{i}'", 29: "report.content = 'Some content'", 30: 'report.save()', 31: 'for i in range(num_reports):', 32: 'report = Report()', 33: "report.title = f'Report #{i}'", 34: "report.content = 'Some content'", 35: 'report.save()', 36: 'for i in range(num_reports):', 37: 'report = Report()', 38: "report.title = f'Report #{i}'", 39: "report.content = 'Some content'", 40: 'report.save()', 41: 'for i in range(num_reports):', 42: 'report = Report()', 43: "report.title = f'Report #{i}'", 44: "report.content = 'Some content'", 45: 'report.save()', 46: 'for i in range(num_reports):', 47: 'report = Report()', 48: "report.title = f'Report #{i}'", 49: "report.content = 'Some content'", 50: 'report.save()', 51: 'for i in range(num_reports):', 52: "return HttpResponse(f'{num_reports} reports generated')"}, 'response': {'status_code': '201', 'headers': {'Content-Type': 'application/json'}}}
|
CWE-400
| 8,976 |
{'context_id': 569, 'vulnerable': False, 'processing': False, 'request': {'url': 'http://neal.com/tag/postsauthor.html', 'method': 'POST', 'headers': {'HOST': '127.0.0.1:5000', 'USER_AGENT': 'python-requests/2.32.3', 'ACCEPT_ENCODING': 'gzip, deflate', 'ACCEPT': '*/*', 'CONNECTION': 'keep-alive', 'Content-Type': 'application/x-www-form-urlencoded', 'User-Agent': 'Mozilla/5.0 (iPod; U; CPU iPhone OS 3_2 like Mac OS X; so-KE) AppleWebKit/533.22.1 (KHTML, like Gecko) Version/4.0.5 Mobile/8B117 Safari/6533.22.1'}, 'body': b'csrfmiddlewaretoken=b35492c0-1ca3-4d12-a68b-2da9dcb2e6ac&newpass1=0RBsoSM5&newpass2=03jJ8V8T'}, 'control_flow': {0: "data = request.form['data']", 1: "decoded_data = base64.b64decode(data.encode('utf-8'))", 2: 'try:', 3: 'deserialized_data = pickle.loads(decoded_data)', 4: 'return f"Десериализированные данные: {deserialized_data}"'}, 'response': {'status_code': '500', 'headers': {'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '54'}}}
|
CWE-502
| 30,190 |
{'context_id': 544, 'vulnerable': True, 'processing': False, 'request': {'url': 'http://benson-miller.net/tags/blog/blogmain.jsp', 'method': 'PATCH', 'headers': {'Content-Length': '', 'Content-Type': 'application/x-www-form-urlencoded', 'Host': '127.0.0.1:8000', 'User-Agent': 'Mozilla/5.0 (iPod; U; CPU iPhone OS 4_0 like Mac OS X; nb-NO) AppleWebKit/532.28.6 (KHTML, like Gecko) Version/3.0.5 Mobile/8B114 Safari/6532.28.6', 'Accept': '*/*', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Referer': 'http://127.0.0.1:8000/admin/django_summernote/attachment/', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=7OkVgvLgtOa5uNSlz7c2A3oLJsoGMnmTMFRwMHywwelVnp8qNrXgOms3N0UN7ycJ; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=j096ap6j8sfkfe2sex0ei8h1hnrd069n', 'Sec-Fetch-Dest': 'script', 'Sec-Fetch-Mode': 'no-cors', 'Sec-Fetch-Site': 'same-origin', 'Priority': 'u=2'}, 'body': b'csrfmiddlewaretoken=02e123e0-f364-4653-ab3b-87d7f7a6d7d1&newpass1=1s1Wggf2&newpass2=9rO78MTq'}, 'control_flow': {}, 'response': {'status_code': '500', 'headers': {'Content-Type': 'text/html; charset=utf-8'}}}
|
Clean
| 77,900 |
{'context_id': 581, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://www.allen.com/main/exploreabout.htm', 'method': 'GET', 'headers': {'Content-Length': '', 'Content-Type': 'application/x-www-form-urlencoded', 'Host': '127.0.0.1:8000', 'User-Agent': 'Opera/8.85.(X11; Linux i686; ht-HT) Presto/2.9.171 Version/12.00', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=xS2ciXzOB5kBCsBWeIhb3oLLTfA0HgBh; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=8nsk97ci2qtbp9ib2ffyvw4qqd8p6vwm', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'none', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=124acca9-91b6-4f3d-b4f7-6886031fcb87&newpass1=NfGnQ514&newpass2=NHdjm2Fe'}, 'control_flow': {0: "num_reports = int(request.GET.get('num', '10'))", 1: 'for i in range(num_reports):', 2: 'report = Report()', 3: "report.title = f'Report #{i}'", 4: "report.content = 'Some content'", 5: 'report.save()', 6: 'for i in range(num_reports):', 7: 'report = Report()', 8: "report.title = f'Report #{i}'", 9: "report.content = 'Some content'", 10: 'report.save()', 11: 'for i in range(num_reports):', 12: 'report = Report()', 13: "report.title = f'Report #{i}'", 14: "report.content = 'Some content'", 15: 'report.save()', 16: 'for i in range(num_reports):', 17: 'report = Report()', 18: "report.title = f'Report #{i}'", 19: "report.content = 'Some content'", 20: 'report.save()', 21: 'for i in range(num_reports):', 22: 'report = Report()', 23: "report.title = f'Report #{i}'", 24: "report.content = 'Some content'", 25: 'report.save()', 26: 'for i in range(num_reports):', 27: 'report = Report()', 28: "report.title = f'Report #{i}'", 29: "report.content = 'Some content'", 30: 'report.save()', 31: 'for i in range(num_reports):', 32: 'report = Report()', 33: "report.title = f'Report #{i}'", 34: "report.content = 'Some content'", 35: 'report.save()', 36: 'for i in range(num_reports):', 37: 'report = Report()', 38: "report.title = f'Report #{i}'", 39: "report.content = 'Some content'", 40: 'report.save()', 41: 'for i in range(num_reports):', 42: 'report = Report()', 43: "report.title = f'Report #{i}'", 44: "report.content = 'Some content'", 45: 'report.save()', 46: 'for i in range(num_reports):', 47: 'report = Report()', 48: "report.title = f'Report #{i}'", 49: "report.content = 'Some content'", 50: 'report.save()', 51: 'for i in range(num_reports):', 52: 'report = Report()', 53: "report.title = f'Report #{i}'", 54: "report.content = 'Some content'", 55: 'report.save()', 56: 'for i in range(num_reports):', 57: 'report = Report()', 58: "report.title = f'Report #{i}'", 59: "report.content = 'Some content'", 60: 'report.save()', 61: 'for i in range(num_reports):', 62: 'report = Report()', 63: "report.title = f'Report #{i}'", 64: "report.content = 'Some content'", 65: 'report.save()', 66: 'for i in range(num_reports):', 67: 'report = Report()', 68: "report.title = f'Report #{i}'", 69: "report.content = 'Some content'", 70: 'report.save()', 71: 'for i in range(num_reports):', 72: 'report = Report()', 73: "report.title = f'Report #{i}'", 74: "report.content = 'Some content'", 75: 'report.save()', 76: 'for i in range(num_reports):', 77: "return HttpResponse(f'{num_reports} reports generated')"}, 'response': {'status_code': '200', 'headers': {'Content-Type': 'text/html; charset=utf-8'}}}
|
CWE-400
| 18,376 |
{'context_id': 515, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://roberts.org/mainlogin.html', 'method': 'POST', 'headers': {'Content-Length': '', 'Content-Type': 'application/json', 'Host': '127.0.0.1:8000', 'User-Agent': 'Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 5.01; Trident/4.0)', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Referer': 'http://127.0.0.1:8000/admin/blog/post/add/', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=7OkVgvLgtOa5uNSlz7c2A3oLJsoGMnmTMFRwMHywwelVnp8qNrXgOms3N0UN7ycJ; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=j096ap6j8sfkfe2sex0ei8h1hnrd069n', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'iframe', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'same-origin', 'Priority': 'u=4'}, 'body': b'csrfmiddlewaretoken=2affec63-9778-46db-bc4b-b1c9315b48c9&newpass1=gB0Pyv2e&newpass2=qrw7Ecs0'}, 'control_flow': {}, 'response': {'status_code': '200', 'headers': {'Content-Type': 'application/json'}}}
|
Clean
| 59,213 |
{'context_id': 481, 'vulnerable': True, 'processing': False, 'request': {'url': 'http://www.morrow-wilson.com/tagspost.asp', 'method': 'POST', 'headers': {'HOST': '127.0.0.1:5000', 'USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0', 'ACCEPT': 'text/css,*/*;q=0.1', 'ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'ACCEPT_ENCODING': 'gzip, deflate, br, zstd', 'CONNECTION': 'keep-alive', 'REFERER': 'http://127.0.0.1:5000/', 'COOKIE': 'csrftoken=7GgBqVlBL6WuGdfu3e6EBXep8N5vFiVm; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; user_id=2; session_token=b3c634c91e1711c794704a031918a34b', 'SEC_FETCH_DEST': 'style', 'SEC_FETCH_MODE': 'no-cors', 'SEC_FETCH_SITE': 'same-origin', 'PRIORITY': 'u=2', 'Content-Type': 'application/json', 'User-Agent': 'Opera/9.26.(X11; Linux x86_64; quz-PE) Presto/2.9.164 Version/12.00'}, 'body': b'csrfmiddlewaretoken=6c6bee7e-5e2d-450c-b4dc-e356e8d898c8&newpass1=Rv6iz2qt&newpass2=7cFtCSRv'}, 'control_flow': {}, 'response': {'status_code': '400', 'headers': {'Content-Disposition': 'inline; filename=index.css', 'Content-Type': 'application/json', 'Content-Length': '1146', 'Last-Modified': 'Wed, 22 Jan 2025 23:29:59 GMT', 'Cache-Control': 'no-cache', 'ETag': '"1737588599.362596-1146-1135482071"', 'Date': 'Wed, 22 Jan 2025 23:36:36 GMT'}}}
|
Clean
| 46,261 |
{'context_id': 579, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://hickman.com/appfaq.jsp', 'method': 'POST', 'headers': {'Content-Length': '', 'Content-Type': 'application/x-www-form-urlencoded', 'Host': '127.0.0.1:8000', 'User-Agent': 'Opera/9.50.(Windows NT 5.0; kn-IN) Presto/2.9.180 Version/11.00', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=xS2ciXzOB5kBCsBWeIhb3oLLTfA0HgBh; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=8nsk97ci2qtbp9ib2ffyvw4qqd8p6vwm', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'none', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=ee766830-b550-4982-961f-b48812b17e8e&newpass1=AVUN2dOf&newpass2=thNMv6s2'}, 'control_flow': {0: "num_reports = int(request.GET.get('num', '10'))", 1: 'for i in range(num_reports):', 2: 'report = Report()', 3: "report.title = f'Report #{i}'", 4: "report.content = 'Some content'", 5: 'report.save()', 6: 'for i in range(num_reports):', 7: 'report = Report()', 8: "report.title = f'Report #{i}'", 9: "report.content = 'Some content'", 10: 'report.save()', 11: 'for i in range(num_reports):', 12: 'report = Report()', 13: "report.title = f'Report #{i}'", 14: "report.content = 'Some content'", 15: 'report.save()', 16: 'for i in range(num_reports):', 17: 'report = Report()', 18: "report.title = f'Report #{i}'", 19: "report.content = 'Some content'", 20: 'report.save()', 21: 'for i in range(num_reports):', 22: 'report = Report()', 23: "report.title = f'Report #{i}'", 24: "report.content = 'Some content'", 25: 'report.save()', 26: 'for i in range(num_reports):', 27: 'report = Report()', 28: "report.title = f'Report #{i}'", 29: "report.content = 'Some content'", 30: 'report.save()', 31: 'for i in range(num_reports):', 32: 'report = Report()', 33: "report.title = f'Report #{i}'", 34: "report.content = 'Some content'", 35: 'report.save()', 36: 'for i in range(num_reports):', 37: 'report = Report()', 38: "report.title = f'Report #{i}'", 39: "report.content = 'Some content'", 40: 'report.save()', 41: 'for i in range(num_reports):', 42: 'report = Report()', 43: "report.title = f'Report #{i}'", 44: "report.content = 'Some content'", 45: 'report.save()', 46: 'for i in range(num_reports):', 47: 'report = Report()', 48: "report.title = f'Report #{i}'", 49: "report.content = 'Some content'", 50: 'report.save()', 51: 'for i in range(num_reports):', 52: "return HttpResponse(f'{num_reports} reports generated')"}, 'response': {'status_code': '204', 'headers': {'Content-Type': 'text/html; charset=utf-8'}}}
|
CWE-400
| 8,607 |
{'context_id': 579, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://james-francis.org/tags/categorieslogin.htm', 'method': 'PUT', 'headers': {'Content-Length': '', 'Content-Type': 'application/json', 'Host': '127.0.0.1:8000', 'User-Agent': 'Mozilla/5.0 (Linux; Android 4.1) AppleWebKit/534.2 (KHTML, like Gecko) Chrome/15.0.864.0 Safari/534.2', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=xS2ciXzOB5kBCsBWeIhb3oLLTfA0HgBh; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=8nsk97ci2qtbp9ib2ffyvw4qqd8p6vwm', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'none', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=89179b6b-f20c-4edf-b071-00a6045d9cd5&newpass1=tqc0YwCf&newpass2=I1m1VSrp'}, 'control_flow': {0: "num_reports = int(request.GET.get('num', '10'))", 1: 'for i in range(num_reports):', 2: 'report = Report()', 3: "report.title = f'Report #{i}'", 4: "report.content = 'Some content'", 5: 'report.save()', 6: 'for i in range(num_reports):', 7: 'report = Report()', 8: "report.title = f'Report #{i}'", 9: "report.content = 'Some content'", 10: 'report.save()', 11: 'for i in range(num_reports):', 12: 'report = Report()', 13: "report.title = f'Report #{i}'", 14: "report.content = 'Some content'", 15: 'report.save()', 16: 'for i in range(num_reports):', 17: 'report = Report()', 18: "report.title = f'Report #{i}'", 19: "report.content = 'Some content'", 20: 'report.save()', 21: 'for i in range(num_reports):', 22: 'report = Report()', 23: "report.title = f'Report #{i}'", 24: "report.content = 'Some content'", 25: 'report.save()', 26: 'for i in range(num_reports):', 27: 'report = Report()', 28: "report.title = f'Report #{i}'", 29: "report.content = 'Some content'", 30: 'report.save()', 31: 'for i in range(num_reports):', 32: 'report = Report()', 33: "report.title = f'Report #{i}'", 34: "report.content = 'Some content'", 35: 'report.save()', 36: 'for i in range(num_reports):', 37: 'report = Report()', 38: "report.title = f'Report #{i}'", 39: "report.content = 'Some content'", 40: 'report.save()', 41: 'for i in range(num_reports):', 42: 'report = Report()', 43: "report.title = f'Report #{i}'", 44: "report.content = 'Some content'", 45: 'report.save()', 46: 'for i in range(num_reports):', 47: 'report = Report()', 48: "report.title = f'Report #{i}'", 49: "report.content = 'Some content'", 50: 'report.save()', 51: 'for i in range(num_reports):', 52: "return HttpResponse(f'{num_reports} reports generated')"}, 'response': {'status_code': '502', 'headers': {'Content-Type': 'application/json'}}}
|
CWE-400
| 4,486 |
{'context_id': 570, 'vulnerable': False, 'processing': False, 'request': {'url': 'http://www.wright.com/wp-content/tags/searchhomepage.jsp', 'method': 'POST', 'headers': {'Content-Length': '93', 'Content-Type': 'application/x-www-form-urlencoded', 'Host': '127.0.0.1:8000', 'User-Agent': 'Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.0 (KHTML, like Gecko) Chrome/50.0.852.0 Safari/535.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'}, 'body': b'csrfmiddlewaretoken=fc10ce40-5b1e-4044-96ab-a8f58fed703e&newpass1=zm5x1gww&newpass2=x7mYF4kM'}, 'control_flow': {0: "if request.method == 'POST':", 1: "data = request.POST.get('data')", 2: "decoded_data = base64.b64decode(data.encode('utf-8'))", 3: 'deserialized_data = pickle.loads(decoded_data)', 4: "return HttpResponse(f'Deserialized data: {deserialized_data}')"}, 'response': {'status_code': '500', 'headers': {'Content-Type': 'application/json'}}}
|
CWE-502
| 23,333 |
{'context_id': 564, 'vulnerable': True, 'processing': False, 'request': {'url': 'https://smith.info/blog/wp-contentpost.html', 'method': 'GET', 'headers': {'HOST': '127.0.0.1:5000', 'USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0', 'ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'ACCEPT_ENCODING': 'gzip, deflate, br, zstd', 'CONNECTION': 'keep-alive', 'COOKIE': 'csrftoken=xS2ciXzOB5kBCsBWeIhb3oLLTfA0HgBh; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=8nsk97ci2qtbp9ib2ffyvw4qqd8p6vwm', 'UPGRADE_INSECURE_REQUESTS': '1', 'SEC_FETCH_DEST': 'document', 'SEC_FETCH_MODE': 'navigate', 'SEC_FETCH_SITE': 'none', 'SEC_FETCH_USER': '?1', 'PRIORITY': 'u=0, i', 'Content-Type': 'application/json', 'User-Agent': 'Opera/9.21.(X11; Linux i686; ar-ER) Presto/2.9.180 Version/10.00'}, 'body': b'csrfmiddlewaretoken=5dae7525-07e4-4f89-b2af-45fb96fdff95&newpass1=kLl5meth&newpass2=mlyhsm48'}, 'control_flow': {}, 'response': {'status_code': '204', 'headers': {'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '207'}}}
|
Clean
| 32,036 |
{'context_id': 516, 'vulnerable': False, 'processing': False, 'request': {'url': 'http://www.mitchell-lindsey.biz/postshome.asp', 'method': 'POST', 'headers': {'Content-Length': '179', 'Content-Type': 'application/json', 'Host': '127.0.0.1:8000', 'User-Agent': 'Opera/9.76.(X11; Linux x86_64; cy-GB) Presto/2.9.190 Version/12.00', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Referer': 'http://127.0.0.1:8000/admin/blog/post/add/', 'Origin': 'http://127.0.0.1:8000', 'Connection': 'keep-alive', 'Cookie': 'csrftoken=7OkVgvLgtOa5uNSlz7c2A3oLJsoGMnmTMFRwMHywwelVnp8qNrXgOms3N0UN7ycJ; grafana_session=54c841e9cb2f4956a7c791efd284d120; grafana_session_expiry=1735995560; sessionid=j096ap6j8sfkfe2sex0ei8h1hnrd069n', 'Upgrade-Insecure-Requests': '1', 'Sec-Fetch-Dest': 'document', 'Sec-Fetch-Mode': 'navigate', 'Sec-Fetch-Site': 'same-origin', 'Sec-Fetch-User': '?1', 'Priority': 'u=0, i'}, 'body': b'csrfmiddlewaretoken=587d82d4-ed33-4c1c-8a31-eff7734232c6&newpass1=THFXN5ku&newpass2=qC5ohWzx'}, 'control_flow': {'0': 'return self.title', '1': 'return self.title'}, 'response': {'status_code': '204', 'headers': {'Content-Type': 'application/json', 'Location': '/admin/blog/post/', 'Expires': 'Sun, 26 Jan 2025 10:46:13 GMT', 'Cache-Control': 'max-age=0, no-cache, no-store, must-revalidate, private'}}}
|
Clean
| 59,834 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.