PT-2018-14497 · Thinkphp · Thinkphp

Kingkk

·

Publicado

2018-10-19

·

Atualizado

2022-05-14

·

CVE-2018-18530

CVSS v3.1

9.8

Crítica

VetorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions ThinkPHP version 5.1.25
Description The issue is related to SQL Injection via the count parameter. This occurs because the library/think/db/Query.php aggregate function mishandles the aggregate variable. The attack requires a backquote character in the attack URI.
Recommendations For ThinkPHP version 5.1.25, consider restricting access to the count parameter in the affected API endpoint until a patch is available. As a temporary workaround, avoid using the count parameter in queries to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

SQL injection

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

CVE-2018-18530
GHSA-7XFJ-4JPG-58VF

Produtos afetados

Thinkphp