PT-2018-14506 · Thinkphp · Thinkphp

Liu21St

·

Publicado

2018-10-21

·

Atualizado

2022-05-14

·

CVE-2018-18546

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 3.2.4
Description The issue is related to SQL Injection via the order parameter. This occurs because the parseOrder function in the Library/Think/Db/Driver.class.php file mishandles the key variable.
Recommendations For ThinkPHP version 3.2.4, consider restricting access to the order parameter in the affected API endpoint until a patch is available. As a temporary workaround, avoid using the order parameter or ensure proper validation and sanitization of user input 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-18546
GHSA-J7G8-3QQG-8CVM

Produtos afetados

Thinkphp