CVE-2026-121623 CVSS 8.2 — HIGH other เผยแพร่: 2026-11-06

ช่องโหว่ Path Traversal — CVE-2026-121623 (CVSS 8.2)

⚠️ ระดับสูง (CVSS 8.2) — ควรแก้ไขภายใน 48-72 ชั่วโมง อาจเปิดเผย credentials สำคัญ

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

ช่องโหว่ Path Traversal มี CVSS Score 8.2 ระดับ "สูง" ทำให้ผู้โจมตีสามารถอ่านไฟล์นอก directory ที่กำหนดได้ โดยใช้ ../../../ หรือ URL encoding เพื่อ traverse ขึ้นไปยัง directory ที่สูงกว่า

ช่องโหว่นี้อาจเปิดเผยไฟล์สำคัญเช่น /etc/passwd, wp-config.php หรือ .env ที่มี credentials สำคัญ

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

ผลกระทบจาก Path Traversal:

• อ่าน Credentials: ดึง database password จาก wp-config.php หรือ .env
• อ่านไฟล์ระบบ: /etc/passwd, /etc/shadow, SSH keys
• ขโมย Source Code: อ่าน source code ของแอปพลิเคชัน
• ค้นหาช่องโหว่เพิ่มเติม: ใช้ข้อมูลจากไฟล์ config โจมตีต่อไป

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

ตรวจสอบจาก https://nvd.nist.gov/vuln/detail/CVE-2026-121623

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

  • ขั้นตอนแก้ไข:
  • 1. อัพเดตทันที: อัพเดตเป็นเวอร์ชันที่แก้ไขแล้ว
  • 2. Validate File Paths: ตรวจสอบและ normalize path ก่อนใช้งาน ใช้ realpath() และตรวจว่า path อยู่ใน allowed directory
  • 3. ตรวจสอบ Log: ค้นหา request ที่มี ../ หรือ %2e%2e ใน access log
  • 4. จำกัดสิทธิ์ไฟล์: ตั้งค่า file permission ให้ web server อ่านได้เฉพาะที่จำเป็น
  • 5. เปลี่ยน Credentials: เปลี่ยนรหัสผ่านทั้งหมดหากสงสัยว่าถูกอ่านไปแล้ว

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

The Symfony Serializer component DataUriNormalizer::denormalize() matches the data: scheme with a case-sensitive regular expression, allowing a value with an uppercase scheme, such as DATA:,/../../../etc/passwd, to bypass it, resulting in Arbitrary Local File Read through Path Traversal in Symfony versions prior to 5.4.56, 6.x prior to 6.4.50, 7.x prior to 7.4.23, and 8.x prior to 8.1.11. A value whose scheme is not lowercase data: are treated as a local file path and opened instead of being decoded as inline data, so the resulting File, \SplFileInfo, or \SplFileObject points at a file on the server, which the application then handles as the uploaded content. Any endpoint that deserializes untrusted input into one of these types is affected. FrameworkBundle registers DataUriNormalizer ahead of ObjectNormalizer by default. A single request with a crafted DATA: value is enough to read arbitrary local files that the application can access, with no authentication needed if the endpoint is public.

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