Skip to main content
EPSS 0.4%top 64%

CVE-2026-71237: CWE-89 SQL Injection in Miantang IoT-PHP

0
Critical
Published: 08/05/2026 (08/05/2026, 10:56:31 UTC)
Source: CVE Database V5
Vendor/Project: Miantang
Product: IoT-PHP

Description

Miantang/IoT-PHP's index.php implements a POST /userlogin route that reads the password directly from ['pwd'] with no sanitization and concatenates it into a raw SQL string: mysql_query("select * from userlists where username='' and password='' limit 1"). An unauthenticated attacker can submit a payload such as pwd=' OR '1'='1 to bypass authentication and, via UNION-based injection, extract arbitrary data from the database.

CVSS v3.1

Score 9.8critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

Miantang

IoT-PHP

Affected versions
=0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/12/2026, 14:27:46 UTC

Technical Analysis

Miantang IoT-PHP's index.php implements a POST /userlogin route that reads the password directly from the 'pwd' POST parameter without any sanitization. This value is concatenated into a raw SQL query string executed by mysql_query, enabling an attacker to inject SQL code. An attacker can submit a payload such as pwd=' OR '1'='1 to bypass authentication and use UNION-based SQL injection to extract arbitrary data from the database. The vulnerability is identified as CWE-89 (SQL Injection) and has a CVSS 3.1 score of 9.8, indicating critical severity. No patch or official remediation is currently documented.

Potential Impact

An unauthenticated attacker can bypass authentication controls and gain unauthorized access. Additionally, the attacker can perform UNION-based SQL injection to extract arbitrary data from the backend database, potentially exposing sensitive information and compromising confidentiality, integrity, and availability of the system.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a patch is available, it is recommended to implement input validation and parameterized queries to prevent SQL injection. Avoid direct concatenation of user input into SQL statements.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
TuranSec
Date Reserved
2026-08-05T10:53:53.175Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a731a81bf8831d539c95c9c

Added to database: 08/05/2026, 11:12:01 UTC

Last enriched: 08/12/2026, 14:27:46 UTC

Last updated: 09/18/2026, 10:01:33 UTC

Views: 48

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses