Submit #548087: itsourcecode Library Management System Project In Java With Source Code v1.0 SQL Injectioninfo

Titelitsourcecode Library Management System Project In Java With Source Code v1.0 SQL Injection
BeschreibungDescription: A SQL injection vulnerability has been discovered in Library Management System Java Project (version <= v1.0). The vulnerability exists in the user verification functionality within library_management/src/Library_Management/Forgot.java. Due to direct concatenation of user input into SQL queries without proper parameterization and input validation, attackers can execute arbitrary SQL commands through maliciously crafted inputs. Impact: - Unauthorized access to database information - Exposure of sensitive information (including user passwords) - Potential database manipulation and corruption Technical Details: 1. Vulnerability Type: SQL Injection (CWE-89) 2. Affected Version: v1.0 and below 3. Proof of Concept: ```sql ' OR 1=1 LIMIT 1 # ' UNION SELECT 'admin','compromised','pass',4,5 LIMIT 1 # ' UNION SELECT NULL,(SELECT password FROM account WHERE username='jude'),NULL,NULL,null LIMIT 1 # ``` Remediation: 1. Implement prepared statements 2. Add input validation mechanisms 3. Consider using ORM frameworks 4. Apply principle of least privilege 5. Encrypt sensitive data storage Severity: High References: - OWASP SQL Injection Prevention Guide - CWE-89: SQL Injection - CERT Oracle Secure Coding Standard for Java
Quelle⚠️ https://github.com/wlingze/IRify_scan/issues/1
Benutzer
 lingze (UID 83608)
Einreichung01.04.2025 17:26 (vor 1 Jahr)
Moderieren03.04.2025 21:12 (2 days later)
StatusAkzeptiert
VulDB Eintrag303272 [itsourcecode Library Management System 1.0 Forgot.java search txtuname SQL Injection]
Punkte20

Do you know our Splunk app?

Download it now for free!