資安週報Security Weekly 攻擊手法通報 × 資安工具Advisories × Tooling

每週更新Updated weekly

資安週報Security Weekly

每週一整理過去七天值得注意的攻擊手法、漏洞通報,以及一到兩個實際用得上的資安工具。資料來源為 CISA、NVD、各家威脅情報團隊與資安媒體的公開報導。Every Monday: the attack techniques and vulnerabilities worth your attention from the past seven days, plus one or two security tools you can actually use. Sourced from CISA, NVD, vendor threat-intel teams, and security press.

閱讀本期Read this week →瀏覽工具庫Browse tools查術語Glossary

本期週報This week

往期Archive →

【專題】台灣網銀盜轉:驗證紀錄全部正常,錢卻在凌晨被轉走;同期基礎元件連環爆[Feature] Online banking transfers in Taiwan — every check passed, the money still moved at 3 a.m.; plus foundational components breaking in sequence

2026-W47 · 2026年10月15日Oct 15, 2026 – 2026年11月19日Nov 19, 2026 · 7 則通報7 advisories

本期專題:台灣網銀盜轉。 11 月 17 日至 19 日間,金管會表示已有 4 家銀行通報、合計 5 名客戶、金額 566,512 元;其中一起個案在一小時多內遭連續轉出 17 筆、損失約 23 萬元。弔詭的是銀行的說法——登入認證、雙重驗證與非約定轉帳 OTP 全部正常完成,而受害者完全沒收到驗證簡訊。

這兩件事為什麼能同時成立?專題解釋了其中的技術架構,並把它與同期性質不同的永豐銀事件(金管會稱為遭駭客攻擊,418 名客戶、4,176 萬元)區分開來——兩者的因應方式完全不同,混為一談會導向錯誤的結論。須特別說明:主管機關與銀行的調查仍在進行,惡意程式的實際涉入尚未獲官方證實。

本期涵蓋 10 月 15 日至 11 月 19 日共五週,CISA 新增 47 則已遭利用漏洞。

定義本期的不是任何單一事件,而是一連串基礎元件的重大漏洞:Java(Java4Shell,可在 Jenkins、Jira、Keycloak 上達成未授權遠端執行)、nginx(潛伏十年的 HTTP/2 漏洞,同樣未授權)、以及 PHP(影響所有支援版本)。SANS Internet Storm Center 在 11 月 18 日的日誌中把這段期間的連續事件並列討論,標題即為「Java4Shell、NGINX2Shell 以及更多」。

這三者的共同點是你沒有選擇它們。它們是應用程式底下的那一層,多數組織甚至不清楚自己有哪些系統跑著哪個版本——這也是本期工具選擇 osquery 的原因:漏洞公開當天能否列出受影響清單,決定了後續幾天是有序修補還是全面搜尋。

另一條線同樣重要。Google 指出攻擊者已從「手動下提示」進展到部署自主多代理攻擊框架;資安公司 Barracuda 揭露其雲端環境遭入侵,攻擊者使用 AI 滲透測試框架 ARTEX,在 44 小時內橫跨 10 個雲端帳戶蒐集憑證。值得注意的是入侵起點:一把委託外部 AI 公司專案時提供、事後未撤銷的雲端存取金鑰。

最後,上期收錄的法國超市冷藏攻擊有了後續——研究人員在同款 Danfoss 控制器上找到六個仍未修補的漏洞,可在未登入的情況下遠端接管,比利時、愛爾蘭與德國的主管機關已對業者發出要求。

This issue carries a feature on the online banking transfers in Taiwan. Between 17 and 19 November, the FSC said four banks had reported five customers with losses totalling NT$566,512; in one case 17 consecutive transfers took roughly NT$230,000 in a little over an hour. The puzzle is what the banks said — login authentication, dual verification and the non-designated transfer OTP all completed normally, while victims received no verification message at all.

How can both be true? The feature explains the architecture that makes it so, and separates it from the Sinopac incident in the same period (described by the FSC as a hacker attack, 418 customers, NT$41.76 million), which is different in kind and calls for a different response; conflating them leads to the wrong conclusions. To be clear: investigations by the regulator and the banks are ongoing, and malware involvement has not been officially confirmed.

This issue covers five weeks, 15 October to 19 November, during which CISA added 47 exploited vulnerabilities.

What defines the period is not any single event but a run of critical flaws in foundational components: Java (Java4Shell, enabling pre-auth remote execution on Jenkins, Jira and Keycloak), nginx (a decade-old HTTP/2 flaw, also pre-auth), and PHP (affecting all supported versions). The SANS Internet Storm Center discussed the sequence together in its 18 November diary, titled "Java4Shell, NGINX2Shell and more".

What these three share is that you did not choose them. They are the layer beneath your applications, and most organisations cannot say which of their systems run which version — which is why osquery is this issue's tool. Whether you can produce an affected-systems list on day one decides whether the following days are orderly patching or a full search.

A second thread matters as much. Google reported that attackers have moved beyond manual prompting to deploying autonomous multi-agent offensive frameworks; security firm Barracuda disclosed a cloud intrusion in which the attacker used the AI pentesting framework ARTEX to traverse 10 cloud accounts in 44 hours, harvesting credentials. The entry point is worth noting: a cloud access key issued for an outsourced AI project and never revoked afterwards.

Finally, last issue's French supermarket refrigeration attack has a sequel — researchers found six still-unpatched flaws in the same Danfoss controllers allowing remote takeover without logging in, and agencies in Belgium, Ireland and Germany have issued instructions to operators.

重大Critical 專題:台灣網銀盜轉 專題・調查進行中Feature · Investigation ongoing

【專題】台灣網銀盜轉:為什麼銀行說「所有驗證紀錄都正常」,錢還是在凌晨被轉走[Feature] Online banking transfers in Taiwan: why the bank's records show every check passing while money moved at 3 a.m.

受影響Affected 台灣使用 Android 行動銀行的個人用戶。截至 11 月 19 日,金管會表示已有 4 家銀行(富邦、玉山、中信、華南)通報,合計 5 名客戶、金額 566,512 元Individual Android mobile banking users in Taiwan. As of 19 November, the FSC said four banks (Fubon, E.SUN, CTBC, Hua Nan) had reported five customers with losses totalling NT$566,512

發生什麼事What happened

先把兩件常被混為一談的事分開。

第一類:銀行系統端。 永豐銀行於 11 月 3 日發生事件,金管會稱其為遭駭客攻擊,涉及 418 名客戶、427 筆異常交易、金額 4,176 萬元,該行已將款項全數歸還。

第二類:客戶裝置端。 11 月 17 日至 19 日間陸續通報的案件性質不同。金管會銀行局副局長張嘉魁於 11 月 19 日表示,已有 4 家銀行(富邦、玉山、中信、華南)通報、合計 5 名客戶、金額 566,512 元,並明確指出這些銀行「都沒有遭駭客入侵的情形」,依銀行初步查報,這些交易都是雙重驗證之後才完成。

個案的樣態:北富銀一名客戶的家人帳戶於 11 月 17 日凌晨一小時多內遭連續轉出 17 筆、損失約 23 萬元,資金流向多個陌生帳戶,家屬已報警。北富銀調查後表示登入認證、雙重驗證及非約定轉帳 OTP 驗證均正常完成,系統與安全控管機制無失效情形。

銀行盤點受害者後指出三個共通點:使用 Android 手機、曾點擊不明網站或連結、遭盜轉時未收到 OTP 簡訊。銀行研判「不排除」手機遭植入木馬程式。

本專題討論的是第二類。

First, separate two things that are routinely conflated.

Category one: the bank's own systems. On 3 November, Sinopac suffered an incident the FSC described as a hacker attack, involving 418 customers, 427 anomalous transactions and NT$41.76 million. The bank returned all funds.

Category two: the customer's device. The cases reported between 17 and 19 November are different in kind. On 19 November, FSC Banking Bureau deputy director-general Chang Chia-kuei said four banks (Fubon, E.SUN, CTBC, Hua Nan) had reported five customers totalling NT$566,512, stating explicitly that none of these banks "experienced any hacker intrusion", and that on the banks' preliminary findings the transactions were all completed after dual verification.

One case: a Fubon customer's family member had 17 consecutive transfers totalling roughly NT$230,000 in a little over an hour in the early morning of 17 November, with funds going to multiple unfamiliar accounts; the family filed a police report. Fubon stated after investigation that login authentication, dual verification and the non-designated transfer OTP all completed normally, with no failure of systems or controls.

Reviewing victims, banks identified three commonalities: Android phones, having clicked an unknown site or link, and receiving no OTP message at the time of the transfer. Banks assess that phone-resident malware "cannot be ruled out".

This feature addresses category two.

攻擊手法Attack technique

「驗證紀錄全部正常」與「受害者沒收到簡訊」看似矛盾,但在一種特定的攻擊架構下,兩者會同時成立。

早期的銀行木馬只偷帳密,攻擊者得在自己的機器上登入——這條路會被裝置指紋與 IP 異常擋下。現代的行動銀行木馬改用 ATS(自動化轉帳系統):轉帳直接在受害者本人的手機上完成,由惡意程式在背景模擬點擊與填表。

對銀行後端而言,這筆交易的裝置識別碼是受害者的手機、IP 是受害者家裡的網路、SIM 卡狀態正常、OTP 也確實被輸入並通過驗證——每一項檢查都是真的。風控沒有失效,它只是看不出這些動作不是本人做的。

至於「沒收到簡訊」:取得通知存取權的惡意程式可在通知跳出前讀取 OTP 並回傳,隨即刪除簡訊或靜音通知。驗證確實發生了,只是受害者不知道。

為什麼挑凌晨? 手機螢幕關閉、處於充電狀態,是判斷機主正在睡覺的簡單訊號。分成 17 筆小額而非一筆大額,則是為了避開單筆大額的人工照會門檻。

可能的感染途徑。 TVBS 報導指出,駭客以熱門短劇或影視應用作為偽裝,點名「紅果短劇」——正版的紅果、金魚短劇、黃果系列本身不含遠端操作網銀的元件,但 VirusTotal 上已有多個夾帶 SpyNote、SpyMax、BTMOB 的惡意樣本,以該名稱與圖示散布。這類短劇應用因版權或尺度問題無法上架 Google Play,使用者只能從第三方網站下載 APK——安裝後被引導開啟「受限制的設定」與「無障礙服務」權限。

無障礙服務是整條攻擊鏈的樞紐。 它是 Android 上權限最高的 UI 存取能力:可讀取螢幕上的一切、可代替手指點擊。授予之後,螢幕擷取、密碼側錄、黑屏遮罩、簡訊攔截全都成立——而這些用的是作業系統的合法能力,不是漏洞,所以沒有修補程式可以解決。

必須說清楚的界線:上述機制是這類攻擊在技術上已被充分記錄的標準樣態,與本案通報的症狀相符。但主管機關與各銀行的調查仍在進行,惡意程式的實際涉入尚未獲官方證實。本文不宣稱已查明成因。

"Every verification record is normal" and "the victim received no SMS" look contradictory, but one particular attack architecture makes both true at once.

Early banking trojans only stole credentials, leaving the attacker to log in from their own machine — a path blocked by device fingerprinting and IP anomaly checks. Modern mobile banking trojans use ATS (Automated Transfer System) instead: the transfer is completed on the victim's own phone, with malware simulating taps and filling forms in the background.

To the bank's back end, the device identifier is the victim's phone, the IP is their home network, the SIM state is normal, and the OTP was genuinely entered and verified — every check is real. Risk control did not fail; it simply cannot tell that a human did not perform these actions.

As for "no SMS received": malware holding notification access reads the OTP before the notification appears, relays it out, then deletes the message or silences the alert. Verification did happen; the victim just did not know.

Why the small hours? A screen that is off while the phone charges is a simple signal that the owner is asleep. Splitting the theft into 17 small transfers rather than one large one avoids the manual-confirmation threshold that large single transfers trigger.

A plausible infection path. TVBS reported that attackers disguise malware as popular short-drama or streaming apps, naming "Hongguo Duanju" — the genuine Hongguo, Jinyu Duanju and Huangguo apps contain no remote banking components, but VirusTotal already holds multiple samples carrying SpyNote, SpyMax and BTMOB distributed under that name and icon. Such apps cannot list on Google Play for copyright or content reasons, so users download APKs from third-party sites — and are then guided to enable restricted settings and accessibility services.

Accessibility service is the hinge of the whole chain. It is the highest-level UI access on Android: read everything on screen, tap in place of a finger. Once granted, screen capture, password logging, black-screen overlays and SMS interception all follow — using legitimate operating-system capability rather than a bug, so no patch resolves it.

A boundary that must be stated: the mechanism above is the well-documented standard pattern for this class of attack, and it matches the reported symptoms. But investigations by the regulator and the banks are ongoing, and malware involvement has not been officially confirmed. This article does not claim the cause has been established.

影響範圍Who is affected

台灣的 Android 行動銀行用戶。風險集中在曾從非官方管道安裝 APK、或曾為非輔助用途的應用開啟無障礙權限的裝置上。 iOS 因無法安裝 APK,不適用此一路徑。

對企業而言另有一層意義:若員工以個人 Android 裝置存取公司系統(BYOD),同一套無障礙權限濫用同樣可側錄公司帳密與攔截企業 MFA 簡訊。

Android mobile banking users in Taiwan. Risk concentrates on devices that have sideloaded an APK or granted accessibility permission to something that is not an assistive tool. iOS cannot install APKs and is not exposed via this path.

There is a second layer for organisations: where staff access corporate systems from personal Android devices (BYOD), the same accessibility abuse captures corporate credentials and intercepts enterprise MFA messages just as readily.

該怎麼做What to do

給個人使用者(依重要性排序)

1. 檢查無障礙服務的授權清單。 設定 → 協助工具 → 已下載的應用程式。除了你確實需要的輔助工具,其餘一律關閉。 這是本則最直接有效的一項。
2. 檢查通知存取權限(設定 → 通知 → 裝置與應用程式通知),移除不認得的應用。
3. 移除非官方商店安裝的應用,特別是影視、短劇、破解版工具類。
4. 啟用銀行的生物辨識登入、交易驗證與帳務通知。 帳務通知走應用程式推播而非簡訊,較不易被單一通道攔截。
5. 若已發生盜轉:用另一台裝置或市話聯繫銀行凍結帳戶,不要用可能已遭入侵的手機操作,並儘速報警。

給銀行與企業

6. 裝置綁定是目前較實際的方向。 北富銀表示預計 11 月底推出新選項:僅透過行動銀行應用接收驗證通知,並綁定指定裝置;從非綁定裝置登入時需由原綁定裝置確認。
7. 把偵測重心從「單筆交易是否可疑」移到「行為節奏」:一小時內 17 筆連續轉帳、凌晨時段、收款方全為陌生帳戶——單看每一筆都通過驗證,合起來看才是異常。
8. BYOD 環境應檢視 Android 裝置的無障礙權限授權狀況,並評估是否納入行動裝置管理政策。
9. 金管會表示現階段仍維持 OTP 認證方式,但將與銀行檢討機制是否精進——OTP 經由簡訊傳遞這條路徑,在裝置已遭控制時不提供實質保護,這一點值得在機制檢討中正視。

For individuals (in order of importance)

1. Review which apps hold accessibility permission. Settings → Accessibility → Downloaded apps. Turn off everything except genuine assistive tools you rely on. This is the single most effective step here.
2. Review notification access (Settings → Notifications → Device & app notifications) and remove anything unrecognised.
3. Remove apps installed outside the official store, especially streaming, short-drama and cracked utility apps.
4. Enable your bank's biometric login, transaction verification and account notifications. Notifications delivered by app push rather than SMS are harder to intercept on a single channel.
5. If a transfer has already happened: contact the bank from another device or a landline to freeze the account rather than using the possibly compromised phone, and report to police promptly.

For banks and organisations

6. Device binding is the more practical direction right now. Fubon said it expects to offer a new option by end of November: receive verification only through the mobile banking app, with a designated bound device, and require confirmation from that bound device when signing in from another.
7. Shift detection from "is this transaction suspicious" to "what is the tempo": 17 consecutive transfers within an hour, in the small hours, all to unfamiliar recipients. Each passes verification individually; only together do they look wrong.
8. In BYOD environments, review accessibility permissions on Android devices and consider bringing them into mobile device management policy.
9. The FSC said OTP authentication remains in place for now while the mechanism is reviewed with banks — OTP delivered over SMS offers no real protection once the device itself is controlled, a point worth confronting directly in that review.

偵測建議Detection

銀行側:以時間窗內的行為密度為判斷依據,而非單筆交易。短時間內連續多筆、收款方皆為新增對象、發生在使用者歷史行為罕見的時段——這組合在每一筆都通過驗證的情況下仍可辨識。

使用者側:手機出現不明耗電、畫面短暫閃爍或黑屏、銀行應用開啟時有延遲感,都可能是覆蓋層運作的跡象。但這些訊號微弱且不可靠,不應作為主要防線——主要防線是不要讓無障礙權限落到不該有的應用手上。

Bank side: judge on behavioural density within a time window rather than per transaction. Several transfers in quick succession, all recipients newly added, at an hour unusual for that user's history — that combination remains detectable even when every individual transfer passed verification.

User side: unexplained battery drain, brief screen flicker or blackouts, or a lag when opening a banking app can indicate an overlay at work. But these signals are weak and unreliable and should not be the primary defence — the primary defence is not letting accessibility permission reach an app that should not have it.

本則涉及的術語Jargon in this advisory

  • 台灣相關Taiwan-relevant
  • 行動銀行Mobile banking
  • 無障礙權限濫用Accessibility abuse
  • 調查進行中Under investigation
重大Critical CVE-2026-114938 CISA 促請立即修補CISA urges immediate patching CVSS 8.1

Java4Shell:OpenJDK 記憶體毀損漏洞可在 Jenkins、Jira、Keycloak 上達成未授權遠端執行Java4Shell: an OpenJDK memory-corruption flaw enables pre-auth RCE on Jenkins, Jira and Keycloak

受影響Affected Java 17.0.6 及之後版本。有漏洞的程式碼僅在支援 AVX-512 VBMI 功能的 x86-64(Intel/AMD)處理器上執行。已確認受影響的應用包含 Jenkins、Atlassian Jira 與 Confluence、Keycloak 等Java 17.0.6 and later. The vulnerable code path runs only on x86-64 (Intel/AMD) processors supporting the AVX-512 VBMI feature. Confirmed affected applications include Jenkins, Atlassian Jira and Confluence, and Keycloak

發生什麼事What happened

資安研究公司 Calif 揭露 OpenJDK 的一個重大漏洞,命名為 Java4Shell,編號 CVE-2026-114938,CVSS 8.1。該漏洞屬於越界寫入(out-of-bounds write)的記憶體毀損問題,在特定條件下可導致阻斷服務或遠端程式碼執行。

實際影響在於它讓沒有帳號的攻擊者能在多個廣泛使用的企業應用上執行程式碼,包含 Jenkins、Atlassian Jira 與 Confluence、Keycloak,以及其他數個應用。CISA 已促請各組織立即修補。Oracle 於 11 月 17 日修補 11 個 Java 漏洞。

Security research firm Calif disclosed a critical OpenJDK flaw it named Java4Shell, tracked as CVE-2026-114938 with a CVSS score of 8.1. It is an out-of-bounds write memory-corruption issue that, under certain conditions, can lead to denial of service or remote code execution.

The practical impact is that it lets attackers without an account run code on several widely used enterprise applications, including Jenkins, Atlassian Jira and Confluence, Keycloak, and others. CISA has urged organisations to patch immediately. Oracle shipped fixes for 11 Java flaws on 17 November.

攻擊手法Attack technique

這一則的觸發條件值得仔細讀,因為它能大幅收斂您的緊急範圍。

有漏洞的程式碼只在支援 AVX-512 VBMI 指令集的 x86-64 處理器上執行。這代表:ARM 架構的主機(包含 Apple Silicon 與多數雲端 ARM 執行個體)不走這條路徑;較舊或較低階的 x86 處理器也可能不支援該指令集。

但請不要據此鬆懈。 第一,企業的 Java 工作負載絕大多數仍跑在支援該功能的現代 x86 伺服器上;第二,確認「我們沒有符合條件的主機」本身需要盤點,而那正是多數組織做不到的事。先查證,再決定優先序——不要用假設取代查證。

命名上的提醒:「Java4Shell」讓人聯想到 2021 年的 Log4Shell,但兩者性質不同。Log4Shell 是日誌函式庫的功能濫用,利用門檻極低;這一個是記憶體毀損漏洞,利用需要較高的技術條件。不宜直接套用 Log4Shell 的威脅想像,但也不宜因此低估——CISA 的立即修補呼籲不是隨意發出的。

The trigger conditions here repay careful reading, because they can sharply narrow your emergency scope.

The vulnerable code runs only on x86-64 processors supporting the AVX-512 VBMI instruction set. So: ARM hosts (including Apple Silicon and many cloud ARM instances) do not take this path, and older or lower-end x86 processors may not support the feature either.

Do not relax on that basis, though. First, the overwhelming majority of enterprise Java workloads still run on modern x86 servers that do support it. Second, establishing that "we have no qualifying hosts" itself requires an inventory — precisely what most organisations lack. Verify first, then prioritise; do not substitute assumption for verification.

A note on the name: "Java4Shell" evokes Log4Shell from 2021, but they differ in kind. Log4Shell abused a logging library feature and had an extremely low exploitation bar; this is memory corruption, with meaningfully higher technical requirements to exploit. Do not import the Log4Shell threat model wholesale — but do not discount it either. CISA does not issue immediate-patching calls casually.

影響範圍Who is affected

執行 Java 17.0.6 以上版本的組織,特別是對外開放 Jenkins、Jira、Confluence 或 Keycloak 者。Keycloak 的情況尤其值得注意——它是身分驗證元件,被攻陷的後果會擴散到所有倚賴它的應用。

Organisations running Java 17.0.6 or later, especially with internet-facing Jenkins, Jira, Confluence or Keycloak. Keycloak deserves particular attention — it is an identity component, so compromising it propagates to every application that relies on it.

該怎麼做What to do

1. 套用 Oracle 與各發行版的 Java 更新,以及受影響應用的廠商修補。
2. 盤點:哪些主機跑著 Java 17.0.6 以上,且 CPU 支援 AVX-512 VBMI? 這一步決定您的實際緊急範圍。本期工具 osquery 可用一句查詢跨全機群取得答案。
3. 優先處理對外開放者。Jenkins 與 Keycloak 若可從網際網路存取,應立即評估是否能先限縮來源位址。
4. Keycloak 若受影響,修補後輪換其簽章金鑰與相關憑證——身分元件遭入侵的後果不止於該主機。
5. 檢視這些應用的存取紀錄,確認無未授權的存取或設定變更。

1. Apply Java updates from Oracle and your distributions, plus vendor patches for affected applications.
2. Inventory: which hosts run Java 17.0.6+ on a CPU supporting AVX-512 VBMI? This determines your real emergency scope. osquery, this issue's tool, answers it fleet-wide in one query.
3. Prioritise anything internet-facing. If Jenkins or Keycloak is reachable from the internet, assess immediately whether you can restrict source addresses first.
4. If Keycloak is affected, rotate its signing keys and related credentials after patching — compromising an identity component does not stop at that host.
5. Review access logs on these applications for unauthorised access or configuration changes.

偵測建議Detection

記憶體毀損類漏洞的利用嘗試常伴隨目標程序異常終止。檢視 Jenkins、Jira、Keycloak 等 Java 應用的崩潰紀錄與重啟事件——非預期的重複崩潰值得追查,那可能是利用未成功的痕跡。另外監控這些應用的程序是否生成了子程序(正常運作中罕見)。

Attempts to exploit memory-corruption flaws often leave the target process crashing. Review crash logs and restart events for Java applications such as Jenkins, Jira and Keycloak — unexpected repeated crashes are worth investigating as traces of failed exploitation. Also watch whether these application processes spawn child processes, which is uncommon in normal operation.

MITRE ATT&CK

本則涉及的術語Jargon in this advisory

  • 基礎元件Foundational component
  • 未授權 RCEPre-auth RCE
  • 觸發條件受限Conditional
  • 立即處理Act now
重大Critical CVE-2026-123007 已修補・潛伏十年Patched · Latent for ten years

nginx2root:潛伏十年的 HTTP/2 漏洞,未驗證攻擊者可在伺服器上執行程式碼nginx2root: a decade-old HTTP/2 flaw lets unauthenticated attackers run code on the server

受影響Affected 啟用 HTTP/2 的 nginx,自 1.9.5 版(2015 年 9 月 22 日發布)起即存在。修補版本為 1.31.9(主線)與 1.30.7(穩定)nginx with HTTP/2 enabled, present since version 1.9.5 (released 22 September 2015). Fixed in 1.31.9 (mainline) and 1.30.7 (stable)

發生什麼事What happened

nginx 的 HTTP/2 支援存在一個漏洞,讓攻擊者無須登入即可在啟用 HTTP/2 的伺服器上執行程式碼。該漏洞編號 CVE-2026-123007,被命名為 nginx2root,自 2015 年 9 月發布的 1.9.5 版起即存在於開源程式碼中——潛伏約十年。

nginx 於 11 月 18 日發布 1.30.7 穩定版與 1.31.9 主線版,一次修補 10 個漏洞,其中 5 個屬遠端程式碼執行。資安業者 Xint 獨立發現了這 5 項漏洞,並以 nginx2root 統稱。

A flaw in nginx's HTTP/2 support lets an attacker run code on servers with HTTP/2 enabled without logging in. Tracked as CVE-2026-123007 and named nginx2root, it has been present in the open-source code since version 1.9.5, released in September 2015 — latent for roughly a decade.

nginx shipped 1.30.7 (stable) and 1.31.9 (mainline) on 18 November, fixing 10 flaws, five of them remote code execution. Security firm Xint independently discovered those five and groups them as nginx2root.

攻擊手法Attack technique

「存在了十年」這件事本身是本則最值得討論的部分。

它提醒的不是「開源不安全」——恰恰相反,這個漏洞最終被找到並修補,正是因為程式碼公開可供審視。真正的啟示在於:元件的成熟度與使用年數,不等於它已經被充分檢驗過。一段跑了十年沒出事的程式碼,與一段經過十年嚴格審查的程式碼,是兩件不同的事。

對防守方的實際意義:不要把「我們用的是穩定版、用很多年了」當成安全論據。穩定代表行為可預期,不代表沒有未被發現的缺陷。

另一個操作重點是版本線。nginx 同時維護主線(1.31.x)與穩定(1.30.x)兩條分支,修補分別發布在 1.31.9 與 1.30.7。更新時要確認自己在哪一條線上,別套錯版本。許多環境的 nginx 是隨作業系統套件庫安裝的,發行版的回溯修補(backport)版本號不會對應上游——應以發行版的安全公告為準,不要只比對版本數字。

The ten-year dwell time is the part most worth discussing here.

The lesson is not that open source is insecure — rather the opposite: the flaw was eventually found and fixed precisely because the code is public and reviewable. The real insight is that a component's maturity and years in service do not mean it has been thoroughly examined. Code that has run for ten years without incident and code that has undergone ten years of rigorous review are two different things.

Practically: do not treat "we run the stable branch and have for years" as a security argument. Stability means predictable behaviour, not the absence of undiscovered defects.

Another operational point is branches. nginx maintains mainline (1.31.x) and stable (1.30.x) in parallel, with fixes in 1.31.9 and 1.30.7 respectively. Confirm which branch you are on before updating. Many environments install nginx from an OS package repository, where backported fixes carry version numbers that do not match upstream — go by your distribution's security advisory rather than comparing version numbers alone.

影響範圍Who is affected

啟用 HTTP/2 的 nginx 伺服器。由於 HTTP/2 在現代部署中幾乎是預設啟用,實際受影響面應假設為「所有對外的 nginx」,除非您已確認該站台未啟用 HTTP/2。

nginx servers with HTTP/2 enabled. Since HTTP/2 is effectively on by default in modern deployments, assume the affected surface is "every internet-facing nginx" unless you have confirmed a site has HTTP/2 disabled.

該怎麼做What to do

1. 更新至 1.31.9(主線)或 1.30.7(穩定)。若 nginx 來自作業系統套件庫,改以該發行版的安全更新為準。
2. 盤點:哪些主機在跑 nginx、什麼版本、HTTP/2 是否啟用? osquery 可一次查遍全機群。
3. 無法立即更新者,評估暫時停用 HTTP/2作為緩解。這會影響效能但不影響功能,多數情境可接受。
4. 檢視網頁伺服器的錯誤紀錄與程序重啟事件,確認無利用痕跡。
5. 別忘記容器映像與反向代理設備裡的 nginx——它們常被排除在一般的套件更新流程之外。

1. Update to 1.31.9 (mainline) or 1.30.7 (stable). Where nginx comes from an OS package repository, follow that distribution's security update instead.
2. Inventory: which hosts run nginx, at what version, with HTTP/2 enabled? osquery answers this fleet-wide in one pass.
3. Where immediate updating is impossible, consider temporarily disabling HTTP/2 as mitigation. It costs performance but not functionality, which is acceptable in most settings.
4. Review web server error logs and process restart events for traces of exploitation.
5. Do not forget nginx inside container images and on reverse-proxy appliances — these routinely fall outside normal package update processes.

MITRE ATT&CK

本則涉及的術語Jargon in this advisory

  • 基礎元件Foundational component
  • 未授權 RCEPre-auth RCE
  • 長期潛伏Long dwell time

看完整週報Read the full issue →

本期工具Tools this week

全部工具All tools →
資產可視性Asset visibility Apache-2.0 OR GPL-2.0-only

osquery

把作業系統變成一個可以下 SQL 查詢的資料庫,用一句查詢就能問遍全機群「誰裝了哪個版本」。Exposes the operating system as a SQL-queryable database, so one statement asks your whole fleet which version of what is installed.

  • 資產盤點Asset inventory
  • 威脅獵捕Threat hunting
  • 跨平台Cross-platform
  • 藍隊Defensive

往期Past issues