CVE-2025-49141

HAX CMS PHP allows users to manage their microsite universe with a PHP backend. Prior to version 11.0.3, the `gitImportSite` functionality obtains a URL string from a POST request and insufficiently validates user input. The `set_remote` function later passes this input into `proc_open`, yielding OS command injection. An authenticated attacker can craft a URL string that bypasses the validation checks employed by the `filter_var` and `strpos` functions in order to execute arbitrary OS commands on the backend server. The attacker can exfiltrate command output via an HTTP request. Version 11.0.3 contains a patch for the issue.
Configurations

No configuration.

History

10 Jun 2025, 16:15

Type Values Removed Values Added
References () https://github.com/haxtheweb/issues/security/advisories/GHSA-g4cf-pp4x-hqgw - () https://github.com/haxtheweb/issues/security/advisories/GHSA-g4cf-pp4x-hqgw -
Summary
  • (es) HAX CMS PHP permite a los usuarios gestionar su universo de micrositios con un backend PHP. Antes de la versión 11.0.3, la función `gitImportSite` obtenía una URL de una solicitud POST y no validaba adecuadamente la entrada del usuario. La función `set_remote` posteriormente pasa esta entrada a `proc_open`, lo que provoca la inyección de comandos del sistema operativo. Un atacante autenticado puede manipular una URL que omita las comprobaciones de validación empleadas por las funciones `filter_var` y `strpos` para ejecutar comandos arbitrarios del sistema operativo en el servidor backend. El atacante puede extraer la salida del comando mediante una solicitud HTTP. La versión 11.0.3 incluye un parche para este problema.

09 Jun 2025, 21:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-06-09 21:15

Updated : 2025-06-12 16:06


NVD link : CVE-2025-49141

Mitre link : CVE-2025-49141

CVE.ORG link : CVE-2025-49141


JSON object : View

Products Affected

No product.

CWE
CWE-78

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