cve/2023/CVE-2023-28430.md
2024-06-18 02:51:15 +02:00

18 lines
1.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

### [CVE-2023-28430](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-28430)
![](https://img.shields.io/static/v1?label=Product&message=react-native-onesignal&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%20%3C%204.5.1%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-77%3A%20Improper%20Neutralization%20of%20Special%20Elements%20used%20in%20a%20Command%20('Command%20Injection')&color=brighgreen)
### Description
OneSignal is an email, sms, push notification, and in-app message service for mobile apps.The Zapier.yml workflow is triggered on issues (types: [closed]) (i.e., when an Issue is closed). The workflow starts with full write-permissions GitHub repository token since the default workflow permissions on Organization/Repository level are set to read-write. This workflow runs the following step with data controlled by the comment `(${{ github.event.issue.title }} the full title of the Issue)`, allowing an attacker to take over the GitHub Runner and run custom commands, potentially stealing any secret (if used), or altering the repository. This issue was found with CodeQL using javascripts Expression injection in Actions query. This issue has been addressed in the repositories github action. No actions are required by users. This issue is also tracked as `GHSL-2023-051`.
### POC
#### Reference
- https://securitylab.github.com/advisories/GHSL-2023-051_React_Native_OneSignal_SDK/
#### Github
No PoCs found on GitHub currently.