🔍 CVE-2016-10031

7.5
CVSS Score
HIGH
2016-12-27
2026-06-17 00:38
✅ 완료

🇰🇷 한글 설명

WampServer 3.0.6의 'wampapache'와 'wampmysqld' 서비스가 약한 파일 권한으로 설치되어, 권한 없는 로컬 사용자가 mysqld.exe 또는 httpd.exe를 악성 파일로 대체할 수 있습니다. 서비스가 재시작될 때 대체된 파일이 SYSTEM 권한으로 실행되어 권한 상승을 초래합니다.

💡 쉬운 설명

WampServer가 서비스 파일을 누구나 수정할 수 있도록 보호 없이 설치합니다. 로컬 사용자가 이 파일들을 악성 프로그램으로 바꾸면, 서비스 재시작 시 최고 권한(SYSTEM)으로 악성 코드가 실행됩니다.

🇺🇸 원문 (English)

WampServer 3.0.6 installs two services called 'wampapache' and 'wampmysqld' with weak file permissions, running with SYSTEM privileges. This could potentially allow an authorized but non-privileged local user to execute arbitrary code with elevated privileges on the system. To properly exploit this vulnerability, the local attacker must insert an executable file called mysqld.exe or httpd.exe and replace the original files. The next time the service starts, the malicious file will get executed as SYSTEM. NOTE: the vendor disputes the relevance of this report, taking the position that a configuration in which "'someone' (an attacker) is able to replace files on a PC" is not "the fault of WampServer.

📍 영향받는 시스템

WampServer 3.0.6 (Apache 및 MySQL 서비스)

⚔️ 공격 벡터

로컬 권한 상승: 권한 없는 사용자가 서비스 바이너리를 악성 실행 파일로 대체하여 서비스 재시작 시 SYSTEM 권한으로 코드 실행

🛡️ 대응 방법

WampServer를 최신 버전으로 업그레이드하거나 서비스 바이너리 디렉토리의 파일 권한을 제한하여 권한 없는 사용자의 수정 접근을 차단

🔧 검증 코드

"Everyone"이 표시되고 "(M)" 또는 "(F)" 권한을 가지면 취약합니다; 결과가 없으면 패치됨

Shell / Script
icacls "C:\wamp64\bin\apache\apache2.4.23\bin\httpd.exe" 2>nul | findstr "Everyone"

📊 CVSS Vector String

CVSS Vector
CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H

💻 영향받는 소프트웨어

Apache HTTP Server