SecurityContext

CVE-2024-40402: Sourcecodester Simple Library Management System - SQL Injection

  • Cve: CVE-2024-40402
  • Name: Sourcecodester Simple Library Management System - SQL Injection
  • Description: A SQL injection vulnerability was found in 'ajax.php' of Sourcecodester Simple Library Management System 1.0. This vulnerability stems from insufficient user input validation of the 'username' parameter, allowing attackers to inject malicious SQL queries.
  • Impact: Attackers can execute arbitrary SQL queries, potentially leading to data disclosure or modification.
  • Remediation: Implement proper input validation and parameterized queries in ajax.php, and update to the latest version if available.
  • Vulnerability type: sql_injection
  • Vulnerability impact: information_disclosure, data_tampering
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.3
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
  • Epss score: 0.00367
  • Epss percentile: 0.31119
  • Assignee: [email protected]
  • Published at: 2024-07-17T20:15:06Z
  • Age in days: 860
  • Modified at: 2026-06-17T07:45:49Z
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-40402
  • Nvd status: analyzed
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-89Improper Neutralization of Special Elements used in an SQL Command

Public exploits

UrlSourceAdded date
https://github.com/CveSecLook/cve/issues/49nvd2024-07-17

References

UrlSourceTags
https://github.com/CveSecLook/cve/issues/49nvdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
nikhil-bhalerao:simple_library_management_system= 1.0nonvd/v1/products/nikhil-bhalerao/simple_library_management_system

Projects

RepositoryLink kindsIndexedUrl
CveSecLook/cveissuesyes/v1/repositories/CveSecLook/cve

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2024-07-17
  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts