Bypass video capture limit on Ray-Ban Stories
The Ray-Ban Stories smart glasses allowed changing hidden firmware settings through the companion app by hooking a method that sends integer commands. An attacker could replace a benign setting with the video capture duration, extending recordings beyond the advertised 30-second limit.
Published on philippeharewood.com
Meta Rayban Stories has lower-level settings to change via the View (Assistant app) for example
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the app did not validate that the setting identifier sent to the glasses matched the user's intended action, allowing any setting to be changed by modifying the command.
Impact
The next time the owner uses video capture, the default length will be 60 seconds instead of the advertised 30 seconds, bypassing the limit.
What the attacker needed
Physical access to the glasses; ability to run Frida on the companion app; paired View app
The fix
Meta patched the issue client-side, likely by adding validation to prevent arbitrary setting changes.
How it was found
- Hook the STLMcuSettingHandler function that sends commands via Int32 values.
- Replace the setting identifier and value with those for video capture duration.
- Run the Frida script on the View app.
- In the View app settings, toggle an option such as LED notification brightness.
- The app sends the modified command, changing the video capture duration instead.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
The glasses have a companion app that can change settings like LED brightness. The app sends numbers to the glasses to identify which setting to change. By intercepting and altering those numbers, someone could make the app change a different setting, like how long a video records, bypassing the normal limit.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.