提交 #970269: kishor-23 food-waste-management-system b3a70b2c492dc9904de5be1ad9389bd79b87f82c SQL Injection信息

标题kishor-23 food-waste-management-system b3a70b2c492dc9904de5be1ad9389bd79b87f82c SQL Injection
描述The unauthenticated user registration endpoint `signup.php` concatenates raw attacker input into SQL statements. The `email` parameter is embedded in the pre-check query at `signup.php:15` (`select * from login where email='$email'`), and `name`/`email`/`gender` are embedded in the `INSERT` at `signup.php:24`, with no prepared statements or escaping. The two code paths produce distinguishable responses, so an attacker can extract arbitrary database content (for example the admin password hash) with boolean-based blind injection. Because the connection runs as the MySQL `root` superuser with an empty password (see CVE-17), the injection provides full read/write control over every database on the server.
来源⚠️ https://github.com/kishor-23/food-waste-management-system/issues/5
用户
 wy17634604398_gmail.com (UID 101056)
提交2026-09-09 15時56分 (26 日前)
管理2026-10-04 15時58分 (25 days later)
状态已接受
VulDB条目413429 [kishor-23 food-waste-management-system User Registration Endpoint signup.php email/name/gender SQL注入]
积分20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!