Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
RomCom exploits Firefox and Windows zero days in the wild (welivesecurity.com)
58 points by croes on Nov 28, 2024 | hide | past | favorite | 28 comments


Good on Mozilla for the rapid response.


JavaScript file containing the exploit

Another reason to turn off JS by default.


[flagged]


> If you add new code to a sw project in c or c++ that should be a solid case for negligence when your customers sue for losses.

Sure, as long as you are ok being similarly sued next time you install or use windows, macos, or linux on some box you administer. Those are all written in C. I guess you're OS-less until you write one in something safe. Ditto for web browsers and bootloaders.


Wasn't the first cut at windows me written in c#, maybe we can start there. The servo browser on redox isn't even completely free of c I think.


I think you're thinking of Windows Longhorn (https://en.wikipedia.org/wiki/Development_of_Windows_Vista#M...). They used managed code and ended up partially scrapping it to restart development on top of Windows Server 2003.


Windows ME was just Win98SE in an ugly sweater. Mostly C/C++ with some assembly peppered in.



Servo relies on firefox's JS runtime spidermonkey, written in C++.


Moreover, a significant fraction of JS vulnerabilities are logic errors in the JIT, so even if the JIT itself is memory safe, that doesn't make the resulting code free of vulnerabilities.


Windows ME was the worst Windows though.


Hard agree.

Windows 98SE SP2 was the best


Vista was the worst in my book. And Vista was actually the real turning point when C# started to infect Windows.


> next time you install or use windows, macos, or linux on some box you administer.

I don't administer other people's boxes, I provide them with programs written in safe languages (as a bootable unikernel if they want). If they choose to run them on a buggy OS that's on them.


Are there unsafe blocks in the bootable unikernel?

And does it actually work?


> Are there unsafe blocks in the bootable unikernel?

Probably. If that bothers you you can also run it on Lambda or something and let amazon worry about booting.


It’s not negligent it use an unsafe OS if no safer options exist. It is negligent to use an unsafe language when safe alternatives exist.


Visual programming like Scratch is safer than Rust so it's negligent if we don't all use Scratch next.

Also, everyone should pee sitting down by law because some are known to pee to on their pants otherwise.

/s


I exaggerate alot but even by my standards this is ridiculous hyperbole. Rust just isn't supported on alot of platforms and libraries.


I didn't mention rust. If you were targeting something that only has a c compiler and it is critical infrastructure, f* could prove correctness and then generate c from that as an ir. A lot of safety crtical stuff uses a DSL to generate c that humans don't touch afterwards.


[flagged]


His name is galangalalgol. Fashionable, visionary leader of the rust evangelism strike force. And don't you forget it.

(Read in the voice of Tribore Menendez)


Ok that is pretty funny. It is the first time anyone has used any of those adjectives about me even in satire. Didn't mention rust though. I like it a lot, but it is just one tool. F*, agda etc all probably have a more fundamental part to play than rust does. Rust is just the one we can use at scale.


[flagged]


The headline is about Firefox on Windows for a good reason: that's where the regular users are.

If you want Rust on Nonstop, a niche proprietary platform, your large financial company is welcome to invest in it.


Fun fact, there has been some investigation into Rust for Nonstop, but it’s just not feasible. Like a lot of software. I hear they tried to port gcc multiple times and failed too…


> AIX, i/OS, z/OS, Nonstop OS, OpenVMS, or Stratus VOS

A list of which Firefox runs on precisely none.


Aren't most of these servers operating systems anyway, with no GUI desktops?


AFAIK X windows runs on AIX and VMS.


Sure, but does anyone do that, anywhere in the world?


I do run X on OpenVMS occasionally, as it happens. But there's not really anything to do there.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: