4 ms·
> For one it had to originate from app.opencode.com No, that was the initial mitigation! Before the vulnerability was reported, the server was accessible to th
by rafram 9mo ago
> For one it had to originate from app.opencode.com
No, that was the initial mitigation! Before the vulnerability was reported, the server was accessible to the entire world with a wide-open CORS policy.
https://github.com/anomalyco/opencode/commit/7d2d87fa2c44e32314015980bb4e59a9386e858c https://github.com/anomalyco/opencode/commit/7d2d87fa2c44e32...
- deleted 9mo ago[deleted]
- ofrzeta 9mo agoHow is it wide open? Does everything go through a localhost proxy?
- rafram 9mo agoNot sure what you mean by that, but before they implemented any mitigations, it had a CORS policy that allowed requests from any origin. As far as I know, Chromium is the only browser platform that has blocked sites from connecting to localhost, so users of other browsers would be vulnerable, and so would Chrome users if they could be convinced to allow a localhost connection.