CVE-2026-109197 CVSS 7.5 — HIGH wordpress เผยแพร่: 2026-10-31

ช่องโหว่ SQL Injection ใน WP Directory Kit — CVE-2026-109197 (CVSS 7.5)

⚠️ ระดับสูง (CVSS 7.5) — ควรแก้ไขภายใน 48-72 ชั่วโมง

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

ช่องโหว่ SQL Injection ใน "WP Directory Kit" มี CVSS Score 7.5 ระดับ "สูง"

SQL Injection เกิดจากการที่ระบบนำข้อมูลจากผู้ใช้มาประกอบ SQL query โดยตรงโดยไม่ผ่านการ sanitize ผู้โจมตีสามารถแทรก SQL statement อันตรายเพื่อเข้าถึงหรือแก้ไขข้อมูลในฐานข้อมูลได้

ความรุนแรงสูงมาก — ตั้งแต่ขโมยข้อมูลผู้ใช้ทั้งหมดจนถึงการควบคุมเซิร์ฟเวอร์

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

ผลกระทบ:

• ขโมยข้อมูล Users/Passwords: ดึง username email password hash ทั้งหมด
• Bypass Authentication: ข้ามการตรวจสอบรหัสผ่านเข้าสู่ระบบในฐานะ admin
• แก้ไข/ลบข้อมูล: ทำลายข้อมูลในฐานข้อมูล
• อ่านไฟล์ระบบ: ดึง credentials จาก config files
• Remote Code Execution: หากมีสิทธิ์ FILE อาจเขียน PHP shell
• ขโมยข้อมูลลูกค้า: ข้อมูลบัตรเครดิต ข้อมูลความลับ

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

WordPress Plugin: WP Directory Kit

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

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

  • ขั้นตอนแก้ไข:
  • 1. อัพเดตทันที
  • 2. ตรวจสอบ Logs: ค้นหา UNION SELECT, OR 1=1, -- ใน access log
  • 3. เปลี่ยนรหัสผ่านทั้งหมด: DB password, admin password, secret keys
  • 4. ตรวจสอบ User Accounts: หา account ที่ไม่รู้จัก
  • 5. ติดตั้ง WAF: block SQL injection attempts
  • 6. Backup ฐานข้อมูล: ก่อนดำเนินการแก้ไข
  • 7. แจ้งผู้ใช้: หากข้อมูลรั่วให้แจ้งเปลี่ยนรหัสผ่าน

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

The WP Directory Kit plugin for WordPress is vulnerable to generic SQL Injection via the 'idfield' parameter in all versions up to, and including, 1.6.0 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

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