CVE-2026-120213 CVSS 9.1 — CRITICAL other เผยแพร่: 2026-11-02

ช่องโหว่ Server-Side Request Forgery (SSRF) — CVE-2026-120213 (CVSS 9.1)

⚠️ ระดับวิกฤต (CVSS 9.1) — ควรแก้ไขภายใน 48 ชั่วโมง โดยเฉพาะระบบที่อยู่บน cloud

📋 สรุปช่องโหว่

ช่องโหว่ SSRF มี CVSS Score 9.1 ระดับ "วิกฤต" ทำให้ผู้โจมตีบังคับให้เซิร์ฟเวอร์ส่ง HTTP request ไปยัง destination ที่ผู้โจมตีกำหนด รวมถึง internal services ที่ปกติไม่เปิดให้เข้าถึงจากภายนอก

ช่องโหว่นี้อันตรายเป็นพิเศษในสภาพแวดล้อม cloud เพราะสามารถใช้เข้าถึง metadata service (169.254.169.254) เพื่อขโมย cloud credentials ได้

💥 ผลกระทบที่อาจเกิดขึ้น

ผลกระทบจาก SSRF:

• เข้าถึง Internal Services: localhost:6379 (Redis), localhost:3306 (MySQL), internal APIs
• ขโมย Cloud Credentials: AWS/GCP/Azure metadata endpoint ให้ access key
• Port Scanning: ใช้เซิร์ฟเวอร์ scan network ภายใน
• Bypass Firewall: เข้าถึง service ที่ firewall block ไม่ให้เข้าจากภายนอก
• Read Local Files: ผ่าน file:// protocol อาจอ่านไฟล์บนระบบได้

🖥️ ซอฟต์แวร์และระบบที่ได้รับผลกระทบ

ตรวจสอบที่ https://nvd.nist.gov/vuln/detail/CVE-2026-120213

🔧 แนวทางการแก้ไขและป้องกัน

  • ขั้นตอนแก้ไข:
  • 1. อัพเดตทันที: ติดตั้งเวอร์ชันที่แก้ไขแล้ว
  • 2. Block Metadata Endpoint: ตั้ง firewall rule block 169.254.169.254 จาก web process
  • 3. Allowlist URLs: จำกัด outbound request เฉพาะ domain ที่อนุญาต
  • 4. ตรวจสอบ Logs: ดู outbound request ที่น่าสงสัย
  • 5. Network Segmentation: แยก web server ออกจาก internal network

📄 รายละเอียดต้นฉบับ (ภาษาอังกฤษ)

@fastify/http-proxy is a Fastify plugin that proxies HTTP requests to an upstream server under a configured prefix. In versions 9.0.0 through 11.6.5, when an application uses parameterized prefix and rewritePrefix options to pin clients to a fixed upstream path, the plugin substitutes URL-decoded route parameters into rewritePrefix without re-encoding them. A parameter value that encodes a path separator together with a fragment or query delimiter therefore decodes into real separators and delimiters that inject extra upstream path segments and strip the mandatory suffix the rewritePrefix was meant to enforce, without using any dot-dot traversal. An unauthenticated remote attacker can use this to reach upstream locations outside the intended prefix, leading to path-restriction bypass and, depending on the upstream, server-side request forgery or authorization bypass in the proxied service. The issue is fixed in @fastify/http-proxy 11.6.6, and users should upgrade to 11.6.6 or later. There is no workaround other than upgrading.

🔗 แหล่งอ้างอิง