PT-2026-68103 · Miantang · Iot-Php
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Miantang/IoT-PHP (affected versions not specified)
Description
The
index.php file implements a POST '/userlogin' endpoint that is susceptible to SQL injection. The application reads the password from the pwd variable without sanitization and concatenates it into a raw SQL query. While the username is processed via htmlspecialchars(), this function does not encode single quotes by default, failing to prevent injection. An unauthenticated attacker can use a payload in the pwd variable to bypass authentication or employ UNION-based injection to extract arbitrary data from the database.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Avoid using the
pwd parameter in the '/userlogin' endpoint until the issue is resolved.SQL injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Iot-Php