CVE-2024-11236: an overflow in PHP's Firebird and dblib PDO drivers

The score on this one looks scary, but only a small slice of PHP setups are actually in its path. Here’s how to tell if you’re one of them. At a glance CVE: CVE-2024-11236 Severity: 9.8 (Critical) at NVD. PHP’s own advisory rates it medium. Affected: PHP 8.1 before 8.1.31, 8.2 before 8.2.26, and 8.3 before 8.3.14, but only if you use the PDO Firebird or PDO dblib driver, and mainly on 32-bit builds. Known exploited: No. It’s not on CISA’s KEV list. What’s going on First, a heads-up: NVD’s description of this CVE talks about ldap_escape() on 32-bit systems. That’s actually a different bug, which PHP tracks as CVE-2024-8932 and fixed in the same releases. PHP’s advisory and ChangeLog tie CVE-2024-11236 to the Firebird and dblib PDO drivers, so that’s what this post covers. Either way, the fixed versions are the same. ...

November 28, 2024 · 3 min · Harshvardhan Malpani

CVE-2024-50302: a Linux USB input bug exploited against Android phones

This one’s on CISA’s exploited list, but for most web servers it’s a low-drama, patch-it-with-everything-else bug. At a glance CVE: CVE-2024-50302 Severity: 5.5 (Medium) on NVD, and Red Hat rates it Moderate (6.1). It’s an information leak, not code execution on its own. Affected: Linux 3.12 up to (but not including) 4.19.324, 5.4.286, 5.10.230, 5.15.172, 6.1.117, 6.6.61 and 6.11.8; it’s fixed in 6.12. In other words, pretty much every distro kernel from before late 2024. Known exploited: Yes. Google’s March 2025 Android bulletin flagged signs of limited, targeted exploitation, and CISA added it to its Known Exploited Vulnerabilities (KEV) catalog on 2025-03-04. What’s going on HID (Human Interface Device) is the kernel layer that handles keyboards, mice, game controllers and similar gadgets, mostly over USB. When one of those devices sends a “report”, the kernel stores it in a buffer. That buffer wasn’t zeroed out when it was allocated, so a specially crafted device could get the kernel to hand back bits of whatever was in that memory before. ...

November 26, 2024 · 3 min · Harshvardhan Malpani

CVE-2024-47685: a 'critical' Linux netfilter bug that's less scary than its score

A 9.1 “Critical” score on a kernel bug gets attention. Here’s why this one deserves a calm patch rather than a panic. At a glance CVE: CVE-2024-47685 Severity: NVD says 9.1 (Critical), mostly because it can be triggered over the network. Others see it differently: Red Hat rates it Moderate (6.5), and Ubuntu gives it High priority. The kernel’s own CVE team didn’t publish a score. Affected: Linux 3.18 up to (but not including) 4.19.323, 5.4.285, 5.10.227, 5.15.168, 6.1.113, 6.6.54, 6.10.13 and 6.11.2; it’s fixed in 6.12. It only comes into play when the kernel’s firewall (netfilter) rejects IPv6 TCP traffic by sending back a reset. Known exploited: No. It’s not on CISA’s Known Exploited Vulnerabilities (KEV) list, and CISA’s assessment on the CVE record found no known exploitation. What’s going on When your firewall blocks a TCP connection, it can either silently drop the packet or “reject” it by sending back a TCP reset. For IPv6, the kernel code that builds that reset, nf_reject_ip6_tcphdr_put(), didn’t clear four reserved bits in the TCP header, so they could carry leftover data. Google’s syzbot fuzzer caught it, and the fix simply zeroes the whole header, the way the IPv4 version already did. ...

October 28, 2024 · 3 min · Harshvardhan Malpani

CVE-2024-38476: when a backend's response headers can steer Apache

This Apache bug starts with your backend app and ends with Apache doing something it shouldn’t, and the first fix for it caused problems of its own. At a glance CVE: CVE-2024-38476, another of the Apache bugs Orange Tsai of DEVCORE reported in 2024 and presented at Black Hat USA 2024 as “Confusion Attacks”. Severity: 9.8 (Critical) at NVD and CISA. Apache rates it “important”. Affected: Apache HTTP Server 2.4.0 through 2.4.59. NVD also lists NetApp Clustered Data ONTAP 9.0, and Apple shipped a fix for the copy of Apache in macOS Sequoia 15.1. Known exploited: Not on CISA’s KEV list. What’s going on Apache’s core has some old behaviour: if nothing has set a handler for a request, it treats the response’s Content-Type as the handler name. Now add a backend, such as a CGI script, that answers with a local Location header and a 200 status. Apache follows that with an internal redirect and carries the Content-Type along with it. ...

July 8, 2024 · 3 min · Harshvardhan Malpani

CVE-2024-38475: the Apache mod_rewrite bug on CISA's exploited list

This bug is from 2024, but CISA says attackers are using it, so make sure none of your servers missed the fix. At a glance CVE: CVE-2024-38475, one of the Apache bugs Orange Tsai of DEVCORE reported in 2024 and later presented at Black Hat USA 2024 as “Confusion Attacks”. Severity: 9.1 (Critical) at NVD and CISA. Apache rates it “important”. Affected: Apache HTTP Server 2.4.0 through 2.4.59. NVD also lists SonicWall SMA 100-series firmware (SMA 200, 210, 400, 410 and 500v) before 10.2.1.14-75sv, plus NetApp ONTAP 9. Known exploited: Yes. CISA added it to its KEV list on 2025-05-01. What’s going on This one lives in mod_rewrite, the module behind RewriteRule. It hits rules in server context (your main config or a <VirtualHost> block, not .htaccess) whose substitution starts with a backreference or variable, such as $1. In Apache 2.4.59 and earlier, if the rewritten result happened to match a real path on disk, Apache could use that path directly instead of treating it as something under your DocumentRoot. ...

July 8, 2024 · 3 min · Harshvardhan Malpani

CVE-2024-38474: an encoded question mark that trips up Apache's mod_rewrite

If your Apache config leans on RewriteRule, this older bug is worth a quick check. At a glance CVE: CVE-2024-38474, one of a batch of Apache bugs Orange Tsai of DEVCORE reported in 2024 and later presented at Black Hat USA 2024 as “Confusion Attacks”. Severity: 9.8 (Critical) at NVD. Apache itself rates it “important”, and CISA’s score is lower, at 8.1 (High). Affected: Apache HTTP Server 2.4.0 through 2.4.59. NVD also lists NetApp Clustered Data ONTAP 9.0. Known exploited: Not on CISA’s KEV list. (Its mod_rewrite sibling, CVE-2024-38475, is.) What’s going on mod_rewrite is the module behind most RewriteRule lines: pretty URLs, front-controller routing, redirects. A lot of those rules capture part of the request URL and drop it into a new path or query string. In Apache 2.4.59 and earlier, an encoded question mark (%3F) inside that captured bit wasn’t handled safely. Once it’s substituted back in, it can act like a real ?, so everything after it gets treated as a query string and the path is cut short. ...

July 8, 2024 · 3 min · Harshvardhan Malpani

CVE-2024-34102 (CosmicSting): the Magento XXE bug that leaks your crypt key

This one’s not new — it dates back to June 2024 — but if a Magento store of yours skipped that summer’s patches, it’s still wide open. At a glance CVE: CVE-2024-34102 — better known as “CosmicSting”. Adobe’s bulletin is APSB24-40. Severity: 9.8 (Critical). No login and no admin rights needed. Affected: Adobe Commerce and Magento Open Source 2.4.7 and earlier, 2.4.6-p5 and earlier, 2.4.5-p7 and earlier, and 2.4.4-p8 and earlier. Adobe Commerce Extended Support customers on 2.4.3-ext-7 / 2.4.2-ext-7 and earlier are affected too. Known exploited: Yes — Adobe confirmed attacks against Commerce merchants, and CISA added it to its KEV list on 2024-07-17. What’s going on CosmicSting is an XXE bug. XXE (“XML External Entity”) means the app parses XML that can point at other files, and Magento would happily fetch them. An attacker sends a crafted request to the store’s REST API and gets back the contents of files on your server — no account needed. Sansec, who tracked the attacks closely, says the usual first target is app/etc/env.php, because that’s where your secret crypt key lives. ...

June 18, 2024 · 3 min · Harshvardhan Malpani

CVE-2024-36971: a Linux networking use-after-free first caught on Android

The attacks were on Android phones, but the bug lives in the same Linux kernel your servers run. At a glance CVE: CVE-2024-36971 Severity: 7.8 (High) on NVD and from the kernel’s own CVE team, and Red Hat rates it Important. Android’s bulletin and CISA’s KEV entry call it “remote code execution”, but NVD and the kernel CVE record both score it as a local attack: the attacker has to be running code on the device. Affected: Linux 4.6 up to (but not including) 4.19.316, 5.4.278, 5.10.219, 5.15.161, 6.1.94, 6.6.34 and 6.9.4; it’s fixed in 6.10. That takes in Ubuntu 18.04 through 24.04, Debian 10 through 12, and RHEL 8 and 9 (plus RHEL 7 under extended support). Known exploited: Yes. Google’s August 2024 Android bulletin said there were signs of limited, targeted exploitation, and CISA added it to its Known Exploited Vulnerabilities (KEV) catalog on 2024-08-07. What’s going on Each network socket keeps a cached route, basically a note of where its packets should go. When a connection looks unhealthy, a helper called __dst_negative_advice() throws that cached route away. It did things in the wrong order: it released the old route before clearing the socket’s pointer to it. Another thread using the same socket could grab the stale pointer in that tiny window, and the kernel ends up using memory that’s already been freed. The bug had been around for a while but became reachable with UDP sockets. Clement Lecigne at Google tracked it down. ...

June 17, 2024 · 3 min · Harshvardhan Malpani

CVE-2024-4577: the PHP-CGI bug that hit Windows and XAMPP servers

This one’s from 2024, but if PHP has ever run on a Windows box of yours, XAMPP included, it’s worth a quick check. At a glance CVE: CVE-2024-4577, a bypass of an old PHP-CGI bug (CVE-2012-1823). Orange Tsai of DEVCORE found it. Severity: 9.8 (Critical). No login needed, and it ends with an attacker’s code running on your server. Affected: PHP on Windows running as CGI, in versions before 8.1.29, 8.2.20 and 8.3.8. PHP on Linux and macOS isn’t affected. End-of-life branches (8.0, 7.x, 5.x) never got a fix. Known exploited: Yes. CISA added it to its KEV list on 2024-06-12, and the KEV entry says it’s been used in ransomware campaigns. What’s going on Back in 2012, PHP fixed a bug (CVE-2012-1823) where Apache could hand parts of a URL’s query string to php-cgi as command-line options. The fix was a simple check: if the query string starts with a hyphen, don’t treat it as options. ...

June 13, 2024 · 4 min · Harshvardhan Malpani

CVE-2024-1086: the nf_tables root bug that ransomware crews picked up

This one has a public, reliable exploit, and CISA says ransomware crews have used it. Worth double-checking your servers. At a glance CVE: CVE-2024-1086 Severity: 7.8 (High) on NVD, and Red Hat rates it Important. It’s local only: the attacker has to be running code on the machine first. Affected: Linux 3.15 up to (but not including) 5.15.149, 6.1.76, 6.6.15 and 6.7.3, plus 6.8 release candidates. That covers a lot of servers: Ubuntu 16.04 through 23.10, Debian 10 through 12, and RHEL 7, 8 and 9 all needed updates. Ubuntu 24.04 isn’t affected. Known exploited: Yes. CISA added it to its Known Exploited Vulnerabilities (KEV) catalog on 2024-05-30 and says it’s known to be used in ransomware campaigns. What’s going on This is a bug in nf_tables, the engine behind the nftables firewall. When a firewall rule decides to drop a packet, it can attach an error code to that “drop” verdict. The kernel expected either zero or a proper (negative) error code there, but it let positive values through too, including one that looks exactly like “accept”. The packet-handling code then got confused, freed memory and kept using it: a use-after-free (NVD’s description calls it a double free). ...

February 7, 2024 · 3 min · Harshvardhan Malpani