131 points · by isaacfrond · 2y ago · 117 comments
That's a strange way to disclose a security security issue.
Then having journalists in the conversation helps, as they can produce bad press if the lawyers play games.
Reporting via a third party isn't super unusual if you think that a organisation may be a bit legal threat happy from your report.
Hard for me to take this particular outfit seriously after they decided to optimise for engagement by running to Entertainment Tonight.
I hope nobody is stupid enough to ever engage with this firm after this publicity stunt.
https://www.theregister.com/2024/01/19/germany_fine_security...
https://www.darkreading.com/vulnerabilities-threats/another-...
That doesn't really sound like security best-practices would be applied. Why don't they use a credential store?
- Too much red tape/risk assessments/effort/time required to set up a credential store
- Devs working there may not know/understand the importance of it, and may not be up-to-date with modern software development practices.
- Assumption that Github repo will always be private, correctly configured, never leaked.
- Assumption that employee computers with code checked out will always be full disk encrypted and source code never read by a malicious program/transmitted somewhere else.
If you work in a company that makes software for a living, it's worth bearing in mind you are probably nearer the forefront of modern best practices and there are many companies in other industries that do some software as part of, but not the main part of the product, and these do not necessarily focus on software development and therefore may be "as hot" with best practices, to put it mildly.
For what it's worth, there's some peace of mind in that this software is probably tested much more thoroughly than the average piece of Web software or whatever. Version control / security best practices / clean code may be too abstract for these old companies, but testing isn't. You'd hope.
It is a major source of revenue and allows for markups to be optimized for brand.
A lot of parts are shared across lines within a manufacturer and across manufacturers.
MB wants their customers buying MB parts with an MB markup. Even if it's a Bosch part that is identical in a Ford.
Those old cars were clearly designed by engineers who cared; the hood had simple latches on the hinges that when opened would let it open to vertical.
https://www.classiccarstodayonline.com/2022/04/22/mercedes-1...
Some tiny fraction of source code has value as intellectual property, but most of it is probably not valuable or sensitive. Passwords/Keys/PII/Documents on the other hand could be very bad if they got lost.
If it’s the case, each clown garage shop would be able to modify key characteristics of any car. And oh boy they will do it.
Would you fly on aircraft knowing mechanic servicing it last night could have added something funny to the plane you are taking?
Car workshops would modify and compile their own distribution of the car source code? I can't say I have ever been to a workshop where I would imagine anything like that.
Open source here would clearly be a big win for security and bug identifications in cars. Better quality laws to go along with it to protect researchers would naturally be a big positive as well.
For a comparison look to Android. AOSP is open source, and whilst alternative, non-OEM, flavours of Android do exist (GrapheneOS, LineageOS, etc). But you don't see shops that fix or sell phones putting any of these on the phone. And if you did, would it be a security downgrade? I don't think so!
> Would you fly on aircraft knowing mechanic servicing it last night could have added something funny to the plane you are taking?
But... they could have done. Maybe not the software, but mechanically, of course it's possible. Why doesn't it happen though? I guess the same reasons why in general people act responsibly in society.
In fact, it's a core thing in aviation for maintenance, repair, but also modification/changes to be decoupled from vendor.
It's pretty normal for a vendor to not exist for a generation or two while the plane is still in productive work.
In a perfect world, you want to be able to safely ~hack~investigate every part of your car, including the logic that controls its servos, hydraulics, propulsion, etc.
So the whole OS and controler firmware should be open source, right?
It would be awesome but problems arise with qualifying which "devices" this should apply to. Are all self propelled four whelers cars? What about three wheelers? And why make a distinction on wheels? And if propulsion is the driver then I can see dealers suddenly selling you (proprietary) carriages and an added service of mountig an engine on them.
Soon enough you come to the point where absolutely everything needs to be open source. And while I would be happy to be part of that world, I don't really see a tangible way towards it. It just seems there is too much vested interest in defending the right for proprietary software.
The one avenue where there might be a sliver of hope for such an idea is maybe commercial aviation. That field is already overly regulated so it might be doable. There still will be a huge loophole in terms of military vehicles but it still seems vastly more rwalistic than forcing all car companies to opensource everything.
I really don't think the standard "safely ~hack~investigate~" is reasonable, for both practical and policy reasons.
By focusing on an imaginary perfect world, you take focus away from the real word, where we know people do unsafe hacks to their car already, even without touching software, like https://honda-tech.com/articles/crash-kills-man-in-home-buil... .
There is no way to prevent those unsafe hacks that wouldn't also prevent huge numbers of safe hacks which people accept and support as reasonable, and place a huge and undue amount of control into the auto manufacturer.
In the old days of Ma Bell, AT&T tried to prevent Hush-A-Phone from selling a mouthpiece cover designed to make it harder for others to overhear your conversation. AT&T argued that a foreign attachment like that could damage the phone network. A decade later AT&T sued Carterfone for selling an acoustic coupler to a radio, using the same justification of possible damage. AT&T lost both cases, and the latter case is why early personal computer modems were acoustically, not electrically, coupled.
We should not extend that same power to auto manufacturers.
> but problems arise with qualifying which "devices" this should apply to
Which is why this sort of legislation is done in steps. Focus on where it makes the most sense, get experience on how useful it is and what the negative consequences are, and use that experience to judge if anything else should be included.
That's why the Motor Vehicle Owners' Right to Repair Act (see https://en.wikipedia.org/wiki/Motor_Vehicle_Owners'_Right_to... focuses only on motor vehicles, and not the right to repair all machinery and devices.
I was more thinking in terms of:
1. Hacking something close source is inherently "unsafe" as you have to reverse engineer it, fuzz it or do something other that could randomly backfire. 2. Hacking something open source is safe(er) as in, you can see the code and the developers intent, maybe even some insightful commentary.
Also, there might be an argument about open source projects being more easy to replace pieces of as you typically can see the whole build stack.
Why?
Same with aviation software.
Anything that deals with public safety should be audited by the public.
General folks and even most devs do not have the skills to audit code.
Whenever the output of software is offered as evidence against you in court, you should be entitled to the source code of the software.
Imagine people had the option when buying a car, truck or minivan of having it be open and tinkerable?
Most people won't care, but some hobbyists will. Some companies will love it, some startups might be founded for it. But eventually there will be a killer app, or huge benefit, and it will become more common until it is standard.
I'd imagine certain groups like farmers would jump on buying open source trucks, hoping they can get them to last longer, or repair them cheaper.
There are places for safe experimentation like tracks, so I don’t see why this fear isn’t irrational or a ploy for control.
As much as it would be nice for hobbyists, this is one can 2.0A of worms that needs to be kept as shut as possible by lawmakers.
The map of cars around us having cars jumping to new locations and flipping between motorcycles and buses for the same neighboring vehicle did not inspire confidence. The car seemed confused on its surroundings.
An exiting lane to our left on the freeway came to a stop during autopilot and thought our lane stopped so it slammed on the breaks nearly causing the car behind us to crash into us.
Any senior developer or a security researcher knows this kind of secrets should not be part of the source code repository. Has Mercedes-Benz a rotten software development culture?
If exposure of a string of characters is all that stops your source code from being accessible then you’re just not concerned about security whatsoever. Can’t complain about your house being robbed when you left the door open and the lights on.
I would guess MB simply didn't enable it on their Enterprise instance, maybe because they push too many secrets.
https://docs.github.com/en/code-security/secret-scanning/pus...