🔍 CVE-2026-76006

4.9
CVSS Score
MEDIUM
2026-09-01
2026-09-02 18:21
✅ 완료

🇰🇷 한글 설명

WordPress의 Photo Gallery by Ays 플러그인 6.8.2 이하 버전에서 's' 파라미터에 대한 불충분한 이스케이프 처리로 인해 SQL 인젝션 취약점이 발생합니다. 관리자 권한을 가진 인증된 공격자가 데이터베이스에 추가 쿼리를 삽입하여 민감한 정보를 추출할 수 있습니다.

💡 쉬운 설명

관리자 권한을 가진 사용자가 플러그인의 특정 입력창을 통해 데이터베이스에 몰래 명령어를 입력할 수 있는 보안 약점입니다. 이를 통해 데이터베이스에 저장된 중요한 정보들이 유출될 위험이 있습니다.

🇺🇸 원문 (English)

The Photo Gallery by Ays – Responsive Image Gallery plugin for WordPress is vulnerable to generic SQL Injection via the 's' parameter in all versions up to, and including, 6.8.2 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with administrator-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. The vulnerability exists across two execution paths — $wpdb->get_var() in record_count() and $wpdb->get_results() in prepare_items()/get_image_categories() — enabling both blind and UNION-based exfiltration techniques.

📍 영향받는 시스템

Photo Gallery by Ays (WordPress plugin) version 6.8.2 and below

⚔️ 공격 벡터

인증된 관리자 권한을 이용한 's' 파라미터 대상 SQL Injection (Blind/UNION-based)

🛡️ 대응 방법

플러그인을 최신 버전으로 업데이트하거나, 입력값에 대한 검증 및 SQL 쿼리 준비(Prepared Statement)를 적용해야 합니다.

🔧 검증 코드

출력된 플러그인 버전이 6.8.2 이하인지 확인하여 취약 여부를 판단합니다.

Shell / Script
wp plugin list --status=active | grep 'photo-gallery-by-ays' && wp plugin list --status=active | grep -E 'photo-gallery-by-ays' | awk '{print $2}'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

💻 영향받는 소프트웨어

WordPress