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

ช่องโหว่ Arbitrary File Upload — CVE-2026-125159 (CVSS 8.2)

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

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

ช่องโหว่ อนุญาตให้ผู้โจมตีอัพโหลดไฟล์อันตรายขึ้นเซิร์ฟเวอร์ได้โดยไม่ผ่านการตรวจสอบประเภทไฟล์อย่างเหมาะสม มี CVSS Score 8.2 ระดับ "สูง"

ช่องโหว่ File Upload เป็นอันตรายมากเพราะหากผู้โจมตีสามารถอัพโหลดไฟล์ PHP shell ได้ก็เท่ากับได้รับ RCE บนเซิร์ฟเวอร์โดยสมบูรณ์

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

ผลกระทบจากช่องโหว่ File Upload:

• Web Shell: อัพโหลด PHP shell เพื่อรันคำสั่งบนเซิร์ฟเวอร์
• Malware Distribution: ใช้เซิร์ฟเวอร์เป็นแหล่งแจกจ่าย malware
• Server Takeover: ควบคุมเซิร์ฟเวอร์สมบูรณ์ผ่าน web shell
• Ransomware: ติดตั้งและรัน ransomware บนระบบ
• ขโมยข้อมูล: เข้าถึงไฟล์ทั้งหมดบนเซิร์ฟเวอร์รวมถึง credentials

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

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

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

  • ขั้นตอนแก้ไข:
  • 1. อัพเดตทันที: ติดตั้ง patch เวอร์ชันใหม่ที่แก้ไขแล้ว
  • 2. ตรวจสอบไฟล์ที่อัพโหลด: ค้นหาไฟล์ .php .phtml .php5 ในโฟลเดอร์ uploads
  • 3. ลบ Web Shell: ลบไฟล์ PHP ที่น่าสงสัยทั้งหมดออกจาก upload directory
  • 4. ตั้งค่า Web Server: ป้องกันไม่ให้รัน PHP ในโฟลเดอร์ uploads
  • 5. Scan ด้วย Antivirus: ใช้ Malwarebytes หรือ Wordfence scan หาไฟล์อันตราย
  • 6. ตรวจสอบ Logs: ดู log หา POST request ที่น่าสงสัยไปยัง upload endpoints

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

ImageMagick and GraphicsMagick use small modules, called "coders", to read each image format. When processing images, TYPO3 determined the coder from the file type detected by the file contents, as long as the detected mime-type started with image/. A file containing MVG (Magick Vector Graphics) instructions, uploaded with an image file extension like .png, was therefore processed with the MVG coder. MVG instructions can read local files into the processed image, which allows disclosing the contents of arbitrary files readable by the web server, for example configuration files containing credentials, through a publicly accessible processed image. Exploiting this vulnerability requires a way to upload files without a mime-type check, for example a public form of the Form Framework using a FileUpload or ImageUpload element without configured allowedMimeTypes (see TYPO3-CORE-SA-2026-032), which allows exploitation by unauthenticated visitors. Additionally, ImageMagick must be used for image processing, and its default system configuration must allow the MVG coder.

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