Binary planting potential in ThinkPadSensor::Startup
Originally disclosed on Mozilla
- Fixed in 28 days
- Paid in 2.3 years
- Disclosed after 28 days
Mitja Kolsek reported this today as a follow up to CVE-2010-3131.
-----
Our colleague noticed that one of the binary planting issues we reported to you last year during the "binary planting sweep" hasn't been fixed yet - or it has subsequently returned to the code. I have attached our report so you don't have to dig through the archives.
The test was done on Firefox 3.6.15. Soon-to-be-released Firefox 4 mitigates this issue to some extent by calling SetDllDirectory(""), but due to a bug in Windows, this mitigation is not fully effective (see
http://blog.acrossecurity.com/2010/10/breaking-setdlldirectory-protection.html). We confirmed that a "problematic" PATH entry, as described in this blog post, makes FF4 again vulnerable to binary planting through sensor.dll.
-----
A quick mxr search for sensor.dll turns up:
PRBool
ThinkPadSensor::Startup()
{
mLibrary = LoadLibraryW(L"sensor.dll");
if (!mLibrary)
return PR_FALSE;
gShockproofGetAccelerometerData = (ShockproofGetAccelerometerData)
GetProcAddress(mLibrary, "ShockproofGetAccelerometerData");
if (!gShockproofGetAccelerometerData) {
FreeLibrary(mLibrary);
mLibrary = nsnull;
return PR_FALSE;
}
return PR_TRUE;
}
I'm copying Ehsan since he fixed a more recent version of one of these.
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 security bug in DOM: Navigation. Mozilla made it public on 14 April 2011 as CVE-2011-2980.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.