Skip to content
Race condition Disclosed report CVE-2015-8511

Firefox OS Lockscreen passcode bypass due to race condition

Shally Li(leave Follow

Originally disclosed on Mozilla

  • Fixed in 49 days
  • Paid in 54 days
  • Disclosed after 49 days
Text
[1.Description]:
[Flame v3.0][Nexus 5 v3.0][Lock Screen]Enable the passcode, restart device, slide to left for unlocking screen, but sometimes it will not prompt user to input the passcode and directly enter homescreen.

Found time: 20:47
Attach: passcode.mp4 and logcat_2047.txt

[2.Testing Steps]: 
1. Enable passcode lock in Settings/Screen Lock.
2. Restart device.
3. Try to unlock screen.

[3.Expected Result]: 
3. It should prompt user to input passcode for unlocking sceen.

[4.Actual Result]: 
3. It will not prompt user to input passcode.

[5.Reproduction build]: 

Device: Flame v2.2 build(unaffected)
Build ID               20150609162508
Gaia Revision          06edb0f8db7c2f45cde54401a8593663059861a4
Gaia Date              2015-06-08 14:29:09
Gecko Revision         https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/a3d7b08fb0ec
Gecko Version          37.0
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20150609.211329
Firmware Date          Tue Jun  9 21:13:39 EDT 2015
Bootloader             L1TC000118D0

Device: Nexus 5 v2.2 build(unaffected)
Build ID               20150609081832
Gaia Revision          06edb0f8db7c2f45cde54401a8593663059861a4
Gaia Date              2015-06-08 14:29:09
Gecko Revision         https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/239c59921129
Gecko Version          37.0
Device Name            hammerhead
Firmware(Release)      5.1
Firmware(Incremental)  eng.cltbld.20150609.121628
Firmware Date          Tue Jun  9 12:16:44 EDT 2015
Bootloader             HHZ12f

Device: Flame v3.0 build(affected)
Build ID               20150609160220
Gaia Revision          31ef8deec7a04a988eb92309178b87cc0bde8220
Gaia Date              2015-06-08 14:48:40
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/8be8deb10e4f
Gecko Version          41.0a1
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20150609.193617
Firmware Date          Tue Jun  9 19:36:29 EDT 2015
Bootloader             L1TC000118D0

Device: Nexus 5 v3.0 build(affected)
Build ID               20150609081840
Gaia Revision          ea27c4ed5b6083c9e21d233d4804372ac4d5d353
Gaia Date              2015-06-08 03:06:41
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/e10e2e8d8bf2
Gecko Version          41.0a1
Device Name            hammerhead
Firmware(Release)      5.1
Firmware(Incremental)  eng.cltbld.20150609.121002
Firmware Date          Tue Jun  9 12:10:19 EDT 2015
Bootloader             HHZ11k


[6.Reproduction Frequency]: 
occasionally Recurrence,6/20

[7.TCID]: 
Free Test

The original report as published on Mozilla's Bugzilla, by Shally Li(leave from Mozilla). Images and videos are our own copies; raw HTML is shown as text. View it on Mozilla's Bugzilla.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is known

A high-severity race condition bug in Gaia::System::Lockscreen. Mozilla made it public on 29 July 2015 as CVE-2015-8511.

About Race condition

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is Race condition?

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.

More from Mozilla

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Race conditions

The lesson behind this report.

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.