Issue metadata
Sign in to add a comment
|
Security: bypass dev mode block
Reported by
32299...@gmail.com,
Sep 29 2016
|
||||||||||||||||||||||
Issue descriptionThis template is ONLY for reporting security bugs. If you are reporting a Download Protection Bypass bug, please use the "Security - Download Protection" template. For all other reports, please use a different template. Please READ THIS FAQ before filing a bug: https://www.chromium.org/Home /chromium-security/security-faq Please see the following link for instructions on filing security bugs: http://www.chromium.org/Home/chromium-security/reporting-security-bugs NOTE: Security bugs are normally made public once a fix has been widely deployed. VULNERABILITY DETAILS Please provide a brief explanation of the security issue. Possible Linux terminal on low battery screen. VERSION Chrome Version: [x.x.x.x] + [stable, beta, or dev] Operating System: [Please indicate OS, version, and service pack level] 53 REPRODUCTION CASE Please include a demonstration of the security bug, such as an attached HTML or binary file that reproduces the bug when loaded in Chrome. PLEASE make the file as small as possible and remove any content not required to demonstrate the bug. 1. Run down chromebook to very low battery. 2.wait for it to shut down from low battery. 3.Turn back on and wait for screen with red battery in middle 4. Use a micro controller to execute terminal commands with dev mode blocked(I am not really sure, all I noticed was that tapping certain keys respond with the same text as it would with the terminal) FOR CRASHES, PLEASE INCLUDE THE FOLLOWING ADDITIONAL INFORMATION Type of crash: [tab, browser, etc.] Crash State: [see link above: stack trace, registers, exception record] Client ID (if relevant): [see link above]
,
Sep 30 2016
I am seeing that when I type keyboard shortcuts (ctrl+ c specifically) I get the screen showing "^C" and and font and size is the same as a Linux terminal, and ad chrome OS is Linux based this may be a way to get a terminal without authorization for ~7 sec which, with a micro controller, possible to do damage. This may also affect the "admin does not allow dev mode screen" when the battery is almost out of charge.
,
Oct 1 2016
Did I clarify #4?
,
Oct 3 2016
mnissler@: Are you able to comment on this? I think just means some keystrokes are getting echoed, which likely isn't an issue, but I would appreciate somebody with more knowledge of ChromeOS to have a look.
,
Oct 4 2016
Hm, I'm not aware of such a screen present in the later boot stages, so it's most likely shown by early firmware. Adding firmware people to clarify what that screen is, what code draws it, and whether the console is active at that point. 322997am: Can you clarify which device model you're seeing this with?
,
Oct 4 2016
Was tested on a dell chromebook 11 3120.
,
Oct 4 2016
Also, this screen is present when the OS has booted ( or tries to boot but the battery is low)
,
Oct 4 2016
Re comment #7: So is this shown before or after the chrome logo boot screen? Maybe we still have our wires crossed, can you describe the screen in more detail? White background, battery icon in the center? Any text?
,
Oct 4 2016
So after the chrome boot screen("chrome" in the center) the flashing red battery appears where if I type ctrl+c for example(or any other shortcut) it returns ^C (or the shortcut return that happens in a terminal)in the same font and size as a terminal would. I was wondering if this could be somehow exploited
,
Oct 4 2016
,
Oct 5 2016
rspangler@: can you enlighten me on what screen we're talking about here?
,
Oct 5 2016
I'm pretty sure this is frecon accepting console input when it's displaying a bitmap/animation. I don't think it's connected to a tty, which limits the damage it can do. We noticed similar behavior when we ported the recovery installer to use frecon. It's also likely visible at the dev wipe screen. In some modes, frecon now accepts escape sequences to load bitmaps and draw on the screen. Normally that's driven from the init script via a pty, but we noticed it was also possible to spam those sequences in from the keyboard (we actually used that to debug some issues.) It's pretty good about sanity-checking those inputs, but I don't think we've had formal security review of that code. +dbehr (frecon owner) and shchen (ported the recovery installer).
,
Oct 6 2016
rspangler@: Thanks for providing more context. After looking a bit more, I'm pretty sure we're talking about the display_low_battery_alert script, which relies on frecon to animate a red battery icon on black background. I've confirmed that it indeed echos input. Looking at the frecon code, it looks like we don't have a shell attached, so this is not a security issue. That said, for UX reasons and in order to avoiding unnecessary exposure due to parsing untrusted input we should not process any keyboard input when frecon is merely used to display images on screen. I'll file separate bugs for that.
,
Oct 6 2016
Filed issue 653466 for improving frecon to ignore input when appropriate. Closing this bug now since nobody has come up with a plausible way to exploit this. |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by kenrb@chromium.org
, Sep 30 2016Labels: Needs-Feedback