← voltar
CVE-2023-24805

Command injection in cups-filters

CVSS 8.8 HIGHEPSS 3.7%CWE-78
Em resumo

O serviço de impressão cups-filters possui uma falha de injeção de comando no seu manipulador de impressoras de rede que permite a atacantes executar comandos arbitrários no sistema remotamente. Um atacante com acesso à rede do servidor de impressão pode injetar comandos maliciosos que são executados com os privilégios do servidor.

Detalhe técnico

CVE-2023-24805 é uma vulnerabilidade de injeção de comando (CWE-78) em cups-filters no Backend Error Handler (beh.c), onde entrada controlada pelo usuário não sanitizada é passada diretamente para system() sem validação apropriada. Um atacante com acesso à rede do servidor de impressão pode injetar metacaracteres de shell em parâmetros de configuração da impressora para alcançar execução remota de código no contexto do processo servidor. A vulnerabilidade foi corrigida no commit 8f2740357.

Resumo gerado e traduzido por IA a partir da descrição oficial.
cups-filters contains backends, filters, and other software required to get the cups printing service working on operating systems other than macos. If you use the Backend Error Handler (beh) to create an accessible network printer, this security vulnerability can cause remote code execution. `beh.c` contains the line `retval = system(cmdline) >> 8;` which calls the `system` command with the operand `cmdline`. `cmdline` contains multiple user controlled, unsanitized values. As a result an attacker with network access to the hosted print server can exploit this vulnerability to inject system commands which are executed in the context of the running server. This issue has been addressed in commit `8f2740357` and is expected to be bundled in the next release. Users are advised to upgrade when possible and to restrict access to network printers in the meantime.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Quer saber se a sua infraestrutura está exposta a isto?

Falar com a TrueHacking →