125 points · by phantom_oracle · 7y ago · 71 comments
This illustrates a point that now, in 2019, there is literally no OS designed for security. I mean, security was never a real goal. Even software specifically written to address security requirements could easily have gaping holes (re Heartbleed)...
What I painfully learned is that hardly anybody save sometimes the US government is willing to compromise on features or pay 1 cent more for a secure RTOS.
Look at it another way. The market for cybersecurity is supposed to hit $300 billion by 2024, according to a recent report. If we only released secure software, that $300 billion market wouldn't exist. In that sense, it is vastly more economically viable to release insecure software than to spend any effort on securing it.
Yeah, but that's a huge opportunity b/c they have tons of money and constantly overpay massively for things.
> If we only released secure software, that $300 billion market wouldn't exist
This is the broken window fallacy [1]. In fact, what you are saying is that there is $300 billion of value to be created by making secure software.
1: https://www.investopedia.com/ask/answers/08/broken-window-fa...
The other important difference is that the software vendor, unlike the glazier, doesn't directly benefit from folks breaking its software.
A better analogy is the introduction of the iPhone creating the iPhone accessories market. For lots of reasons, Apple decided not to make the iPhone crush proof, allowing Otter and others to sell protective cases for it.
> The URGENT/11 vulnerabilities affect the noted VxWorks versions since version 6.5, but not the versions of the product designed for safety certification – VxWorks 653 and VxWorks Cert Edition, which are used by selected critical infrastructure industries such as transportation.
Seems to me more like meaning that a "certified" "safe" version exist but that a lot of companies used (most probably to save money) the "normal" edition, and - indirectly - that the differences between the "normal" and the "certified" editions were known, at least to the developers/company actually making VxWorks.
It would be "queer" that the "certified" editions have "different" mechanisms implemented (for completely different reasons) and only coincidentally they are more secure.
For example you can get a "medical grade" QNX but the certificate only covers the kernel, so you have to write and verify the entire userspace yourself.
>... which are used by selected critical infrastructure industries such as transportation ...
... as they do not contain the vulnerable TCP/IP stack.
If an entire "family" of versions of the OS is vulnerable to these 11 (eleven) bugs whilst the "certified" versions are vulnerable to none (of these specific 11 ones, not necessarily not vulnerable to other 11, maybe 12, other ones), it means that the certified versions are different.
Small volume and thus less attractive targeting might explain why - since no time has been spent to find the hypothetical "other 12" vulnerabilities in the "certified" versions - noone found them (yet).
> Stack overflow in the parsing of IPv4 options (CVE-2019-12256)
>
> Four memory corruption vulnerabilities stemming from erroneous handling of TCP’s Urgent Pointer field (CVE-2019-12255, CVE-2019-12260, CVE-2019-12261, CVE-2019-12263)
>
> Heap overflow in DHCP Offer/ACK parsing in ipdhcpc (CVE-2019-12257)
DoS via NULL dereference in IGMP parsing (CVE-2019-12259)
While a safer language wouldn't make the remaining logical ones disappear, there would be 7 vulnerabilities less.
Highly constrained OSes and languages that do so in order to minimize attack surface tend to be challenging to work in. As a result they constrain productivity which increases time to market and the folks who got something out, even insecure, would "win" the market. It was a sad thing to see happen.
The other aspect was that IPC via message passing is a very natural way to program.
That it has never taken off is more evidence that there's no money in securing software, just cleaning up the mess insecure software leaves behind.
I am under the impression that the people behind seL4 have managed to successfully commercialize earlier other versions of L4 before seL4 was created.
Anyway, even if we grant the premise that seL4 has not taken off, that does not seem to justify saying that there is no money in securing software.
I might hazard to say that (in my opinion) no OS written in a memory unsafe language is secure by design.
EDIT: bzlg. SYSGO GmBH
Correctness is a goal of many operating systems.
Common Criteria distinguishes security in security functions and assurance (the effort spent in the verification of the implementation).
You may not always foresee the requirements for 'correctness'.
https://www.mikroe.com/, Pascal and Basic
https://www.astrobe.com/default.htm, Oberon
https://www.aicas.com/cms/, RealTime Java
https://www.ptc.com, RealTime Java and Ada
https://www.ghs.com, Ada and INTEGRITY RTOS
So yeah, this is really, really bad.
[0] This is well-established infosec fact. It's not controversial. Latest case I know of was at JPL a few weeks ago.
The better ones have awareness of their network and have systems monitoring their networks, etc. There are afterall the equivalents of Qualys in the IA world.
Busy kitting out my place with (consumer - jikes) IoT...and basically just connecting the stuff long enough to get it online via Home Assistant.
...next step...firewall all the IOT IPs. Once they're connected to Home Assistant they don't need internet access.
Why are web developers constantly reimplementing native browser functionality? This site for instance has their own scroll implementation that's laggy, adds unwanted smoothing, and of course has less functionality (middle-click scrolling doesn't work, nor does autoscrolling). Fortunately I can get the native implementation by disabling scripts, but I've seen sites that are `overflow: hidden` so you're forced to use their scrolling logic.
There are so many sites now where you can't Ctrl-click, middle-click or right-click links and get proper behavior, where inputs don't work the way they should, where sites try to hijack keyboard shortcuts (and of course assume everyone's using the default ones), where scrolling with the keyboard messes up layouts because they assume you're going to gradually scroll down with a mouse or swipe, where browser extensions can't affect element types because everything is just a <div>, etc.
It's a gigantic pain in the ass for consistent usability across sites, and a complete disaster for accessibility as well.
There's a couple extensions that are supposed to target and disable this behavior, but I've found them flakey at best.
as many already said: not at all surprised.