🇰🇷 한글 설명
XAMPP는 설치 시 포함된 여러 패키지들(ProFTPD, MySQL, phpMyAdmin)에 약하거나 비어있는 기본 비밀번호를 설정한다. 원격 공격자는 알려진 기본 계정 정보를 이용해 이들 서비스에 접근할 수 있으며, 시스템에 대한 무단 접근을 획득할 수 있다.
💡 쉬운 설명
XAMPP는 설치 후에 여러 중요한 프로그램(MySQL, ProFTPD, 웹 관리도구)의 비밀번호가 비어있거나 매우 약하게 설정되어 있다. 이를 알고 있는 공격자는 누구나 쉽게 서버에 접근할 수 있다.
🇺🇸 원문 (English)
XAMPP installs multiple packages with insecure default passwords, which makes it easier for remote attackers to obtain access via (1) the "lampp" default password for the "nobody" account within the included ProFTPD installation, (2) a blank default password for the "root" account within the included MySQL installation, (3) a blank default password for the "pma" account within the phpMyAdmin installation, and possibly other unspecified passwords. NOTE: this was originally reported as a problem in DFLabs PTK, but this issue affects any product that is installed within the XAMPP environment, and should not be viewed as a vulnerability within that product. NOTE: DFLabs states that PTK is intended for use in a laboratory with "no contact from / to internet."
📍 영향받는 시스템
XAMPP 모든 버전 (MySQL, ProFTPD, phpMyAdmin 포함)
⚔️ 공격 벡터
기본 계정(root, nobody, pma)과 알려진 약한 또는 비어있는 비밀번호로 로그인 시도
🛡️ 대응 방법
설치 직후 모든 기본 계정의 비밀번호를 강력한 비밀번호로 변경하고, 불필요한 서비스는 비활성화
🔧 검증 코드
MySQL 버전 정보가 출력되면 무비밀번호 접근 가능 상태(취약점 존재), 'Access denied' 메시지가 나타나면 비밀번호로 보호된 상태
mysql -u root -e 'SELECT VERSION();' 2>&1 | head -1