CVE-2012-10040

Openfiler v2.x contains a command injection vulnerability in the system.html page. The device parameter is used to instantiate a NetworkCard object, whose constructor in network.inc calls exec() with unsanitized input. An authenticated attacker can exploit this to execute arbitrary commands as the openfiler user. Due to misconfigured sudoers, the openfiler user can escalate privileges to root via sudo /bin/bash without a password.
CVSS

No CVSS.

Configurations

No configuration.

History

15 Apr 2026, 00:35

Type Values Removed Values Added
Summary
  • (es) Openfiler v2.x contiene una vulnerabilidad de inyección de comandos en la página system.html. El parámetro device se utiliza para instanciar un objeto NetworkCard, cuyo constructor en network.inc llama a exec() con una entrada no depurada. Un atacante autenticado puede explotar esto para ejecutar comandos arbitrarios como el usuario openfiler. Debido a la configuración incorrecta de sudoers, el usuario openfiler puede escalar privilegios a root mediante sudo /bin/bash sin contraseña.

11 Aug 2025, 15:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-08-11 15:15

Updated : 2026-04-15 00:35


NVD link : CVE-2012-10040

Mitre link : CVE-2012-10040

CVE.ORG link : CVE-2012-10040


JSON object : View

Products Affected

No product.

CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')