PT-2004-1608 · Php+2 · Php+2
Publicado
2004-06-03
·
Atualizado
2017-07-11
·
CVE-2004-0490
CVSS v2.0
7.2
Alta
| Vetor | AV:L/AC:L/Au:N/C:C/I:C/A:C |
Name of the Vulnerable Software and Affected Versions
cPanel versions 1.3.29
Description
The issue arises when cPanel compiles Apache 1.3.29 and PHP with the mod phpsuexec option, without setting the --enable-discard-path option. This causes PHP to use the
SCRIPT FILENAME variable instead of the PATH TRANSLATED variable to find and execute scripts. As a result, local users can execute arbitrary PHP code as other users by referencing the attacker's script after the user's script in a URL, allowing the attacker's script to run with the user's privileges.Recommendations
For cPanel version 1.3.29, consider setting the --enable-discard-path option when compiling Apache and PHP to prevent the misuse of the
SCRIPT FILENAME variable. As a temporary workaround, restrict access to the mod phpsuexec option until a proper fix can be applied.Exploit
Correção
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Identificadores relacionados
Produtos afetados
Apache
Php
Cpanel