s3 bucket takeover in obs-plugintemplate/ci/macos/install-build-obs-macos.sh and obs-plugintemplate/ci/macos/install-dependencies-macos.sh that can lead to rce #5494
-
Hey team, Summary:I have found that in the code of install-build-obs-macos.sh and install-dependencies-macos.sh in obs-plugintemplate/ci/macos on github(https://github.com/obsproject/obs-plugintemplate/blob/9f8e6d86a1bc287d4232db81561e65b34180cd83/ci/macos/install-build-obs-macos.sh , https://github.com/obsproject/obs-plugintemplate/blob/9f8e6d86a1bc287d4232db81561e65b34180cd83/ci/macos/install-dependencies-macos.sh) contains a s3 bucket which was unclaimed i.e (https://obs-nightly.s3-us-west-2.amazonaws.com) Steps To Reproduce:1.Create a s3 bucket with name obs-nightly and us west 2 region POC:
RemediatonYou should remove the unclaimed s3 bucket from the code and claim your official s3 bucket as soon as possible from both the codes as it possess a critical risk ImpactAn attacker can takeover the s3 bucket and can host his malicious content with the name (Packages.pkg, osx-deps-2018-08-09.tar.gz) as presented in the code and can achieve remote code execution and also can spread ransomware and many malicious files. This bug has a critical impact because the code of the tool that many people uses, contains unclaimed s3 bucket. NoteCan i get a cve for this ? Also let me know if you need a video poc for it. Regards, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
As far as I'm aware, this is just a the plugin template repo which is outdated and pointing to things we don't use anymore such as that shell script. We haven't hosted any real packages on those for a while, which is why they are unclaimed. This is already going to be fixed by obsproject/obs-plugintemplate#15, so there's really no sense in fussing over this, IMO. That PR just needs to be given a final review and merged. |
Beta Was this translation helpful? Give feedback.
-
Hey team, Regards, |
Beta Was this translation helpful? Give feedback.
-
Hey team, I have seen that u give bounties for submitting a bug like u did in this #5074 Also many companies like alibaba using obs-nightly bucket also you can read my report that I reported to reddit on hackerone |
Beta Was this translation helpful? Give feedback.
As far as I'm aware, this is just a the plugin template repo which is outdated and pointing to things we don't use anymore such as that shell script. We haven't hosted any real packages on those for a while, which is why they are unclaimed. This is already going to be fixed by obsproject/obs-plugintemplate#15, so there's really no sense in fussing over this, IMO. That PR just needs to be given a final review and merged.