r/programmer • • 4d ago

Vulnerability or backdoor?

My conspiracy theory is that these recent vulnerabilities on many systems\architectures (Java, PHP, nginx.. and so on) found were existing for even more than a decade may be intentional backdoors, and not just unknown mistakes.

Is this just a hot and stupid take?

2 Upvotes

19 comments sorted by

6

u/eboob1179 4d ago

You think a malicious actor built back doors into languages and compilers and kept them dormant for decades? Lol

1

u/anonymsorceror 4d ago

I'm gonna take another stupid one here, but my phrasing would be: a national agency telling and paying a group of devs: "hey, develop this free tool which we will advertise and distribute, and put these backdoors into them."

-1

u/eboob1179 4d ago

So you do understand that sun/oracle weren't the only vendor that makes a jdk right. Tell me you aren't a developer without telling me you aren't a developer.

2

u/Economy_Bedroom3902 4d ago

My understanding is there has been several times a National Security entity has demanded a back door be placed in communication systems, many of which were accommodated.

The compilers I'm less suspicious of, they're just really hard to secure because of the complexity.

I think AI is good at finding security issues though, and that's one of the big reasons why it feels like everything is exploding all at once.

3

u/eboob1179 4d ago

It's true nation state actors have requested back doors into software. But the jdk isn't software in a traditional sense, and after Gossling created it at Sun, other vendors also came out with competiting jdks. It's a lot more likely that Gossling, being a human, didn't realize the base64 hole the jdk created. I doubt anyone in gov really understood that you could Pad input and force the compiler to miscalculate lengths, allowing the exploit. No, this particular jdk zero day was not a nation state backdoor.

1

u/Economy_Bedroom3902 3d ago

Sure, I agree with that.

0

u/Beginning-Junket8979 4d ago

You think nation state backed cyber warfare has gotten less advanced than prism, stuxnet, etc lmao?

1

u/eboob1179 4d ago

The recent zero day found in the jdk is a lot older than those exploits lol tell me you aren't in the cybersec field without telling me you aren't in the cybersec field. Lol

1

u/Beginning-Junket8979 4d ago

OPs comment did not refer the particular JDK (I think you mean JRE?) you're talking about.

And yeah, incredibly subtle bugs are planted deliberately sometimes.

Tell me you work in cybersecurity yet underestimate the lengths nations are willing to go through to deliberately compromise cyber security without telling me uhhh... that.

2

u/eboob1179 4d ago

So here's the thing. You're absolutely right about nation states going to great lengths to find exploits. But, the fact these actors armed with a fork of Artex harness are turning up undiscovered decades old zero days does not mean anyone was smart enough to leave those back doors decades ago. The fact it's taken swarms of autonomous agents to find them pretty much says "this was not something a nation state developed and implemented and forgot about for 3 or 4 decades."

And I did mean jdk, as the assembler and how it works when it sees input padded a certain way is how the jre becomes vulnerable at runtime to a base64 exploit.

5

u/Smooth_Fault_787 4d ago

For most of them, it's a stupid take.

What's not stupid is to think that some of these are the types of vulnerabilities that would have previously required the resources of nation states to find and exploit.

It's mostly just the result of complicated systems with a bunch of untested and unthought of edge cases.

1

u/anonymsorceror 4d ago

fair enough. my conspiracy would be based on to question whether these are really untested and unthought for such a long time.

3

u/Beginning-Junket8979 4d ago

It's not totally unheard of to have intentionally planted backdoors in open source software but it's incredibly rare. Check out the libxz story if interested in a known example we all found out about. Or check out the "Ken Thompson Hack" for an old idea on how it might actually be possible.

In practice: open source software has a ton of eyes on it, a ton of users, a ton of security researchers prodding at it.

So the far better places for a state funded actor to hide malicious/intrusive code is proprietary software, hardware/firmware, com infrastructure, and proprietary coprocessors.

Software running in user space on a generic OS has too many eyes on it.

1

u/anonymsorceror 4d ago

really interesting, thanks for the input!

4

u/TedsGloriousPants 4d ago

Yeah, I think this is just a stupid take. There is no software of any meaningful complexity that doesn't have any bugs or vulnerabilities. I'm as anti-AI as they come, but there's no reason to believe that AI isn't finding bugs that people weren't finding.

1

u/oVuzZ 4d ago

El repunte de vulnerabilidades en los últimos meses no quiere decir que tenian puertas traseras, sino que por fin estamos encontrando fallos que llevaban años escondidos. Antes, auditar proyectos gigantes (llenos de deuda técnica, poco presupuesto y equipos agotados) tomaba semanas o meses, lo que frenaba tanto a atacantes como a defensores.

La IA cambió las reglas del juego al automatizar análisis profundos y multiplicar la capacidad de los investigadores, sacando a la luz errores complejos que antes eran demasiado caros de rastrear. Aunque los medios suelen exagerar el impacto real de cada nuevo CVE porque no todo fallo crítico es fácil de explotar en la práctica, el verdadero cuello de botella actual es otro: la IA descubre fallos mucho más rápido de lo que los desarrolladores pueden parcharlos.

1

u/anonymsorceror 4d ago

fair point, thanks for the reply.

1

u/DMmeYourMCbuilds 4d ago

No, not hot.

1

u/HongPong 4d ago

look into the history with RSA and crypto ag long ago before that