CVE-2026-71237 (GCVE-0-2026-71237)

Vulnerability from cvelistv5 – Published: 2026-08-05 10:56 – Updated: 2026-08-10 11:45
VLAI
Title
Miantang IoT-PHP - Unauthenticated SQL Injection in /userlogin
Summary
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.
SSVC
Exploitation: none Automatable: yes Technical Impact: total
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-08-05 12:46 UTC
CWE
References
URL Tags
https://github.com/Miantang/IoT-PHP third-party-advisory
Impacted products
Vendor Product Version CPE status
Miantang IoT-PHP Affected: 0
guessed Create a notification for this product.
Date Public
2026-08-05 10:56
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-71237",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-08-05T12:46:46.300170Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-08-05T12:48:00.140Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unknown",
          "product": "IoT-PHP",
          "programFiles": [
            "index.php"
          ],
          "vendor": "Miantang",
          "versions": [
            {
              "status": "affected",
              "version": "0"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "Mirdavlatov Mira\u0027zam"
        }
      ],
      "datePublic": "2026-08-05T10:56:31.037Z",
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eMiantang/IoT-PHP\u0027s index.php implements a POST /userlogin route that reads the password directly from [\u0027pwd\u0027] with no sanitization and concatenates it into a raw SQL string: mysql_query(\"select * from userlists where username=\u0027\u0027 and password=\u0027\u0027 limit 1\"). An unauthenticated attacker can submit a payload such as pwd=\u0027 OR \u00271\u0027=\u00271 to bypass authentication and, via UNION-based injection, extract arbitrary data from the database.\u003c/p\u003e"
            }
          ],
          "value": "Miantang/IoT-PHP\u0027s index.php implements a POST /userlogin route that reads the password directly from [\u0027pwd\u0027] with no sanitization and concatenates it into a raw SQL string: mysql_query(\"select * from userlists where username=\u0027\u0027 and password=\u0027\u0027 limit 1\"). An unauthenticated attacker can submit a payload such as pwd=\u0027 OR \u00271\u0027=\u00271 to bypass authentication and, via UNION-based injection, extract arbitrary data from the database."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 9.8,
            "baseSeverity": "CRITICAL",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-89",
              "description": "CWE-89 SQL Injection",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-10T11:45:40.322Z",
        "orgId": "309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c",
        "shortName": "TuranSec"
      },
      "references": [
        {
          "tags": [
            "third-party-advisory"
          ],
          "url": "https://github.com/Miantang/IoT-PHP"
        }
      ],
      "source": {
        "discovery": "EXTERNAL"
      },
      "title": "Miantang IoT-PHP - Unauthenticated SQL Injection in /userlogin"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c",
    "assignerShortName": "TuranSec",
    "cveId": "CVE-2026-71237",
    "datePublished": "2026-08-05T10:56:31.037Z",
    "dateReserved": "2026-08-05T10:53:53.175Z",
    "dateUpdated": "2026-08-10T11:45:40.322Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-71237",
      "date": "2026-10-01",
      "epss": "0.00781",
      "percentile": "0.54339"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unknown",
                "product": "IoT-PHP",
                "programFiles": [
                  "index.php"
                ],
                "vendor": "Miantang",
                "versions": [
                  {
                    "status": "affected",
                    "version": "0"
                  }
                ]
              }
            ],
            "source": "309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "Miantang/IoT-PHP\u0027s index.php implements a POST /userlogin route that reads the password directly from [\u0027pwd\u0027] with no sanitization and concatenates it into a raw SQL string: mysql_query(\"select * from userlists where username=\u0027\u0027 and password=\u0027\u0027 limit 1\"). An unauthenticated attacker can submit a payload such as pwd=\u0027 OR \u00271\u0027=\u00271 to bypass authentication and, via UNION-based injection, extract arbitrary data from the database."
          }
        ],
        "id": "CVE-2026-71237",
        "lastModified": "2026-08-26T17:13:24.800",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 9.8,
                "baseSeverity": "CRITICAL",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 3.9,
              "impactScore": 5.9,
              "source": "309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c",
              "type": "Secondary"
            }
          ],
          "ssvcV203": [
            {
              "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "ssvcData": {
                "id": "CVE-2026-71237",
                "options": [
                  {
                    "exploitation": "none"
                  },
                  {
                    "automatable": "yes"
                  },
                  {
                    "technicalImpact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-08-05T12:46:46.300170Z",
                "version": "2.0.3"
              }
            }
          ]
        },
        "published": "2026-08-05T11:16:26.503",
        "references": [
          {
            "source": "309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c",
            "url": "https://github.com/Miantang/IoT-PHP"
          }
        ],
        "sourceIdentifier": "309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c",
        "vulnStatus": "Deferred",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-89"
              }
            ],
            "source": "309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c",
            "type": "Secondary"
          }
        ]
      }
    },
    "vulnrichment": {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-71237",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "yes"
                      },
                      {
                        "Technical Impact": "total"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-08-05T12:46:46.300170Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-08-05T12:47:40.506Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "defaultStatus": "unknown",
              "product": "IoT-PHP",
              "programFiles": [
                "index.php"
              ],
              "vendor": "Miantang",
              "versions": [
                {
                  "status": "affected",
                  "version": "0"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Mirdavlatov Mira\u0027zam"
            }
          ],
          "datePublic": "2026-08-05T10:56:31.037Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eMiantang/IoT-PHP\u0027s index.php implements a POST /userlogin route that reads the password directly from [\u0027pwd\u0027] with no sanitization and concatenates it into a raw SQL string: mysql_query(\"select * from userlists where username=\u0027\u0027 and password=\u0027\u0027 limit 1\"). An unauthenticated attacker can submit a payload such as pwd=\u0027 OR \u00271\u0027=\u00271 to bypass authentication and, via UNION-based injection, extract arbitrary data from the database.\u003c/p\u003e"
                }
              ],
              "value": "Miantang/IoT-PHP\u0027s index.php implements a POST /userlogin route that reads the password directly from [\u0027pwd\u0027] with no sanitization and concatenates it into a raw SQL string: mysql_query(\"select * from userlists where username=\u0027\u0027 and password=\u0027\u0027 limit 1\"). An unauthenticated attacker can submit a payload such as pwd=\u0027 OR \u00271\u0027=\u00271 to bypass authentication and, via UNION-based injection, extract arbitrary data from the database."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 9.8,
                "baseSeverity": "CRITICAL",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-89",
                  "description": "CWE-89 SQL Injection",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-08-10T11:45:40.322Z",
            "orgId": "309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c",
            "shortName": "TuranSec"
          },
          "references": [
            {
              "tags": [
                "third-party-advisory"
              ],
              "url": "https://github.com/Miantang/IoT-PHP"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "Miantang IoT-PHP - Unauthenticated SQL Injection in /userlogin"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c",
        "assignerShortName": "TuranSec",
        "cveId": "CVE-2026-71237",
        "datePublished": "2026-08-05T10:56:31.037Z",
        "dateReserved": "2026-08-05T10:53:53.175Z",
        "dateUpdated": "2026-08-10T11:45:40.322Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…