Skip to content
Access control Disclosed report CVE-2014-1535

pdfjs privilege escalation round 2

Cody Crews Follow

Originally disclosed on Mozilla

  • Fixed in 9 days
  • Paid in 9 days
  • Disclosed after 9 days
Text
Created attachment 8428290
pdfPluginRound2-testcase-new.html

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0 (Beta/Release)
Build ID: 20140506152807

Steps to reproduce:

I created an embed object to load the pdfjs implementation as a plugin and then used setTimeout(pseudo race condition) to load a privileged xul document.


Actual results:

Even though the window isn't actually visible a chrome URI xul document is loaded and can be accessed as a sub-frame of the content window by doing window[0].


Expected results:

I should have received an exception since once again this is loading data of a type that is not expected.  I think this one slipped through the cracks before because I used an iframe to do this.  This time its the actual anonymous iframe that's a child of the embed element doing the work.

The original report as published on Mozilla's Bugzilla, by Cody Crews. 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 access control bug in PDF Viewer. Mozilla made it public on 2 June 2014 as CVE-2014-1535.

About Access control

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

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

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by Cody Crews

View all

13 more disclosed reports, best first.

More from Mozilla

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.