提出 #897074: inventory-management-system v1.0.0 SQL Injection情報

タイトルinventory-management-system v1.0.0 SQL Injection
説明rabindralamsal/inventory-management-system has a SQL Injection leading to Authentication Bypass Vulnerability. The login logic in `index.php` directly concatenates user-controlled `username` and `password` values into SQL statements without parameterized queries or escaping. The login logic in `index.php` directly concatenates user-controlled `username` and `password` values into SQL statements without parameterized queries or escaping. Relevant code pattern: ```php $username = $_POST['username']; $password = $_POST['password']; $sql = "SELECT * FROM users WHERE username = '$username'"; $result = $connect->query($sql); $password = md5($password); $mainSql = "SELECT * FROM users WHERE username = '$username' AND password = '$password'"; $mainResult = $connect->query($mainSql); ``` The `username` parameter is not filtered in this process, resulting in SQL injection vulnerabilities.
ソース⚠️ https://github.com/yingxiujie/cve/issues/8
ユーザー
 yingxiujie (UID 96521)
送信2026年07月20日 08:34 (2 月 ago)
モデレーション2026年09月05日 20:44 (2 months later)
ステータス承諾済み
VulDBエントリ399347 [rabindralamsal inventory-management-system 1.0.0 Login index.php username/password SQLインジェクション]
ポイント20

Do you want to use VulDB in your project?

Use the official API to access entries easily!