/plushcap/analysis/sonar/sonar-why-code-security-matters-even-in-hardened-environments

Why Code Security Matters - Even in Hardened Environments

What's this blog post about?

Infrastructure hardening can make applications more resilient to attacks but cannot replace fundamental code security. Attackers can still leverage vulnerabilities in the source code, even with infrastructure hardening measures in place. This blog post highlights a technique that turns a file write vulnerability in a Node.js application into remote code execution, even when the target's file system is mounted read-only. The technique exploits exposed pipe file descriptors to gain code execution and can be applied to other software using libuv, like Julia. This demonstrates why code security is crucial and why vulnerabilities should be fixed at their source: the source code.

Company
Sonar

Date published
Oct. 8, 2024

Author(s)
Stefan Schiller

Word count
2681

Hacker News points
None found.

Language
English


By Matt Makai. 2021-2024.