CVE-2023-28430 OneSignal repository github action command injection
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
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 javascript’s 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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| onesignal react-native-onesignal | < 4.5.1; = < 4.5.1 | 4.5.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| onesignal react-native-onesignal | = < 4.5.1 | No fix listed |
| onesignal react-native-onesignal | < 4.5.1 | 4.5.1 |
References
- https://securitylab.github.com/advisories/GHSL-2023-051_React_Native_OneSignal_SDK/ exploit third-party-advisory
- https://github.com/OneSignal/react-native-onesignal/commit/4a66f4237fb51dcc2236889038d488cd49b0f433 patch
- https://github.com/OneSignal/react-native-onesignal/commit/4e43bda4ce1eb395f36bb8a5640002523c051085 patch