🇰🇷 한글 설명
YaySMTP – WP Mail SMTP 플러그인(2.7.8 이하)의 'params[searchKey]' 매개변수에서 입력값 이스케이프와 SQL 쿼리 준비가 불충분하여 시간 기반 SQL 인젝션 취약점이 존재합니다. 관리자 이상 권한을 가진 인증된 공격자가 기존 쿼리에 추가 SQL을 삽입해 데이터베이스의 민감한 정보를 추출할 수 있습니다.
💡 쉬운 설명
워드프레스 이메일 발송 플러그인의 검색 기능에 보안 결함이 있습니다. 관리자 권한을 가진 사람이 특수하게 조작된 검색어로 데이터베이스의 민감한 정보를 빼낼 수 있습니다.
🇺🇸 원문 (English)
The YaySMTP – WP Mail SMTP with Email Logs, Tracking & Reports plugin for WordPress is vulnerable to time-based SQL Injection via the 'params[searchKey]' parameter in all versions up to, and including, 2.7.8 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.
📍 영향받는 시스템
WordPress YaySMTP 플러그인 2.7.8 이하 버전
⚔️ 공격 벡터
관리자 권한으로 로그인한 공격자가 searchKey 매개변수에 시간 지연 SQL 구문을 삽입하여 데이터베이스 정보를 추출
🛡️ 대응 방법
YaySMTP 플러그인을 2.7.8보다 높은 최신 버전으로 업데이트
🔧 검증 코드
출력된 버전이 2.7.8 이하이면 취약한 버전이므로 업데이트가 필요하며, 플러그인이 없거나 2.7.9 이상이면 해당 취약점에 영향받지 않습니다.
wp plugin list --name=yaysmtp --fields=name,version,status 2>/dev/null || grep -h -i '^ \* Version:' $(find /var/www -path '*yaysmtp*' -name 'yaysmtp.php' 2>/dev/null) 2>/dev/null