/?pid=firefox-popup-blocker-has-security-hole-v1-5-0-9-2001

Updated:07:28 AM EST Dec 24


this is ggmania.com subsite Firefox Popup Blocker has security hole (v1.5.0.9.) - TechAmok

Firefox Popup Blocker has security hole (v1.5.0.9.) - [security]
06:36 AM EST - Feb,07 2007 - post a comment

There is an interesting vulnerability in the default behavior of Firefox built-in popup blocker. This vulnerability, coupled with an additional trick, allows the attacker to read arbitrary user-accessible files on the system, and thus steal some fairly sensitive information. The problem seems to affect Firefox version 1.5.0.9.
For security reasons, Firefox does not allow Internet-originating websites to access the file:// namespace. When the user chooses to manually allow a blocked popup however, normal URL permission checks are bypassed. The attacker may fool the browser to parse a chosen HTML document stored on the local filesystem, and because Firefox security manager treats all file:/// URLs as having "same origin", such a document could read other local files at its discretion with the use of XMLHttpRequest, and relay that information to a remote server.

Now, to make the attack effective, the attacker would need to plant a predictably named file with exploit code on the target system. This sounds hard, but isn't: Firefox sometimes creates outright deterministic temporary filenames in system-wide temporary directory when opening files with external applications; even if we ignore this possibility (since it requires the user to take an additional step that may be difficult to justify), "random" temporary files are created using a flawed algorithm in nsExternalAppHandler::SetUpTempFile and other locations.

The problem here is that stdlib linear congruential PRNG (srand/rand) is seeded immediately prior to file creation with current time in seconds (actually, microseconds, but divided by 1e6); rand() is then used in direct succession to produce an "unpredictable" file name. Normally, were the PRNG seeded once on program start and then subsequently invoked, results would be deterministic, but difficult to blindly predict in the real world; but here, the job is much easier: we know when the download start, we know what the seed would be, and how many subsequent calls to it are made - we know the output.

Short overview of recent news articles

NVIDIA GeForce Hotfix Driver 591.67 Released (Dec,24 2025 )

Finally! A Battery That's Better Than Energizer and Duracell! (Dec,23 2025 )

NVIDIA Killing Cheap 16GB Local AI GPUs? (Dec,22 2025 )

Top 10 Movie Sequels of All Time (Dec,21 2025 )

He Built a Privacy Tool. Now He's Going to Prison (Kone Rodriguez, (Dec,21 2025 )

Insane Moves! B-Boy Shigekix vs. B-Boy Issin - Red Bull BC One World (Dec,20 2025 )

9800X3D & RTX 5070 Ti Gaming PC - MSI Project Zero Done Right (Dec,20 2025 )

The XG27AQWMG Sets a New Standard for 1440p OLED (Dec,19 2025 )

OnePlus 15R Boasts Huge 7,400 mAh Battery (Dec,19 2025 )

Motorola Refreshes moto g power for 2026 (Dec,19 2025 )

NVIDIA GeForce 591.59 WHQL Driver (Dec,18 2025 )

Are We Quitting YouTube Due To DRAM Apocalypse? (Dec,18 2025 )

The Samsung TriFold is AWESOME! (Dec,16 2025 )

$30 vs $30,000 TV (Dec,16 2025 )

Stranger Things 5 - Volume 2 Trailer (Dec,16 2025 )

Google Brings Live Video Sharing to 911 Calls on Android (Dec,14 2025 )

Samsung One UI 8.5 Will Offer New Features (Dec,14 2025 )

Dell AW3225QF Review - 32-inch curved gaming monitor (Dec,14 2025 )

HW News - AMD Says AI Definitely, Absolutely Not A Bubble, New (Dec,13 2025 )

The BEST Smartphones of 2025! (Dec,13 2025 )

10 Atmospheric Games That Might CHANGE YOUR LIFE (Dec,11 2025 )

Samsung Galaxy S26 Ultra - Samsung Isn't Hiding It Anymore (Dec,11 2025 )

AMD Releases Adrenalin Edition 25.12.1 WHQL Drivers (Dec,10 2025 )

S25 Ultra VS 17 Pro Max (Dec,10 2025 )

All You Need Is Kill - Official Trailer (Dec,09 2025 )

Why can’t you be NORMAL?!? Roasting Staff Setups (Dec,09 2025 )

A Ryzen Cooling MONSTER - be quiet Silent Loop 3 Review (Dec,09 2025 )

The Boys - Official Final Season Trailer (Dec,07 2025 )

Unemployed in your 30's (Dec,06 2025 )

Play Store Customers to Receive Automatic Payments from $700 Million (Dec,05 2025 )

Google's Second Release of Android 16 Brings Smart Notifications (Dec,05 2025 )

Netflix To Buy Warner Bros for $82.7 Billion (Dec,05 2025 )

Micron to Exit Crucial Consumer Business, Ending Retail SSD and DRAM (Dec,03 2025 )

Samsung Galaxy Z TriFold Unboxing! (Dec,02 2025 )

Top 5 Best CPUs of 2025 (Nov,30 2025 )

Google Adding AirDrop to Android (Nov,30 2025 )

20 TOP ALIEXPRESS products for BLACK FRIDAY (Nov,29 2025 )

Stop Wasting Money on Premium Monitors (Nov,26 2025 )

The Blackest Friday - Tech News Nov 23 (Nov,23 2025 )

T-Roc: Will this new VW be the best car of 2026? (Nov,23 2025 )

Can I build my own Steam Machine? (Nov,23 2025 )

50 NEXT-LEVEL Gadgets Every Man NEEDS to See (Nov,22 2025 )

RETURN TO SILENT HILL Trailer (2026) (Nov,22 2025 )

I was WRONG about the Porsche 911 GT3 (or was I?) (Nov,20 2025 )

Pi GPT Tool Turns Raspberry Pi into a ChatGPT-Powered Smart Device (Nov,20 2025 )

Rainbow Six Siege X - Official 'Team Rainbow's Last Mission' (Nov,17 2025 )

Stranger Things Seasons 1-4 Recap (Nov,17 2025 )

Kill Bill: The Whole Bloody Affair - Official Trailer (2025) Uma (Nov,16 2025 )

The Devil Wears Prada 2 - Official Teaser Trailer (2026) Meryl (Nov,15 2025 )

Valve’s New Console and Controller - STEAM Machine & STEAM (Nov,15 2025 )

>> News Archive <<

TechAmok - Privacy Policy        loading time:0.01secs