PT-2018-13537 · Topthink · Thinkphp

Published

2018-09-03

·

Updated

2022-05-14

·

CVE-2018-16385

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions ThinkPHP versions prior to 5.1.23
Description The issue allows SQL Injection via the "public/index/index/test/index" query string. This enables an attacker to inject malicious SQL code, potentially leading to unauthorized access or modification of sensitive data.
Recommendations For versions prior to 5.1.23, update to version 5.1.23 or later to resolve the issue. As a temporary workaround, consider restricting access to the "public/index/index/test/index" endpoint until a patch is applied. Avoid using user-supplied input in SQL queries to minimize the risk of exploitation.

Exploit

Fix

SQL injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2018-16385
GHSA-VCM7-88JX-3R39

Affected Products

Thinkphp