🇰🇷 한글 설명
WordPress 플러그인인 LWS Optimize – All-in-One Speed Booster & Cache Tools의 combine_current_css() 함수에서 임의 파일 읽기 취약점이 발견되었습니다. 공격자는 적절한 경로 검증이 결여된 점을 악용하여 서버 내의 임의 파일을 읽을 수 있습니다. 이 취약점은 버전 3.3.19 및 그 이하 버전에서 발생합니다.
💡 쉬운 설명
웹사이트 속도를 높여주는 플러그인이 파일 경로를 제대로 확인하지 않아 발생하는 문제입니다. 권한이 있는 사용자가 이 허점을 이용해 서버에 저장된 중요한 파일을 몰래 훔쳐볼 수 있습니다.
🇺🇸 원문 (English)
The LWS Optimize – All-in-One Speed Booster & Cache Tools plugin for WordPress is vulnerable to Arbitrary File Read in versions up to, and including, 3.3.19. This is due to the combine_current_css() function trusting <link rel="stylesheet" href="..."> values harvested from page HTML and converting same-site URLs to absolute filesystem paths before reading them with file_get_contents()/Minify\CSS::add(), without enforcing that the resolved path stay within ABSPATH or have a .css extension. This makes it possible for authenticated attackers, with Editor-level access and above, to read arbitrary files.
📍 영향받는 시스템
LWS Optimize – All-in-One Speed Booster & Cache Tools plugin (version <= 3.3.19)
⚔️ 공격 벡터
에디터(Editor) 이상의 권한을 가진 인증된 공격자가 조작된 CSS 링크 값을 입력하여 서버 파일에 접근
🛡️ 대응 방법
해당 플러그인을 최신 버전으로 업데이트하거나, 취약점이 해결된 패치를 적용하십시오.
🔧 검증 코드
출력된 플러그인 목록에서 lws-optimize의 버전을 확인하여 3.3.19 이하인지 체크하십시오.
wp plugin list --status=active | grep -E 'lws-optimize'