# CVE-2022-2086: SourceCodester Bank Management System login.php sql injection

- Severity: Medium 6.3 (CVSS:3.1, scored by VulDB) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 19.6%, higher than 97% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-06-15T13:10:12.000Z
- Modified: 2026-06-17T04:41:15.420Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A vulnerability, which was classified as critical, has been found in SourceCodester Bank Management System 1.0. Affected by this issue is login.php. The manipulation of the argument password with the input 1'and 1=2 union select 1,sleep(10),3,4,5 --+ leads to sql injection. The attack may be launched remotely. The exploit has been disclosed to the public and may be used.

(As written by CVE List.)

## Affected

- SourceCodester Bank Management System: 1.0
- bank_management_system_project bank_management_system: 1.0

## Every score

- VulDB: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://github.com/joinia/webray.com.cn/blob/main/php-bank/phpbanksql.md> (exploit, third-party-advisory)
- <https://vuldb.com/?id.202034> (permissions-required, third-party-advisory)

## Sources

- CVE List: [CVE-2022-2086](https://www.cve.org/CVERecord?id=CVE-2022-2086), CVE Terms of Use, modified 2025-04-15
- NVD: [CVE-2022-2086](https://nvd.nist.gov/vuln/detail/CVE-2022-2086), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-2086 · Whole record: https://cve.day/CVE-2022-2086.json · Rebuilt by cve.day 2026-11-25T22:58:12.333Z
