🔍 CVE-2024-58383

7.3
CVSS Score
HIGH
2026-09-14
2026-10-27 23:10
✅ 완료

🇰🇷 한글 설명

Froxlor 2.2.0 미만 버전에서 pure-ftpd를 사용할 경우, 데이터베이스 비밀번호가 포함된 설정 파일이 권한이 취약한 0644 모드로 생성됩니다. 이를 통해 로컬 사용자가 데이터베이스 자격 증명을 탈취하여 관리자 권한을 획득하고 최종적으로 루트 권한까지 상승시킬 수 있습니다.

💡 쉬운 설명

시스템 내부의 비밀번호가 담긴 파일이 누구나 읽을 수 있는 상태로 저장되는 보안 결함입니다. 해커가 이 비밀번호를 알아내면 관리자 계정을 탈취하여 컴퓨터 전체를 제어할 수 있습니다.

🇺🇸 원문 (English)

Froxlor before 2.2.0 (affected up to and including 2.2.0-rc3) generates /etc/pure-ftpd/db/mysql.conf with mode 0644 via the XML configuration templates in lib/configfiles/, even though the file contains the Froxlor SQL user's password. On systems where the parent directories are world readable (the default on Debian 12), any unprivileged local user able to execute commands or code on the host — including virtual users without SSH access who can upload PHP/CGI scripts — can read the file and obtain the Froxlor database credentials. Database access can then be leveraged to alter an administrator's password hash and TOTP seed, log in as a Froxlor administrator, and ultimately gain root privileges. Only instances configured to use pure-ftpd are affected.

📍 영향받는 시스템

Froxlor 2.2.0 미만 버전 (2.2.0-rc3 포함) 중 pure-ftpd를 사용하는 시스템

⚔️ 공격 벡터

로컬 권한을 가진 사용자 또는 웹 스크립트 실행 권한이 있는 사용자가 취약한 설정 파일을 읽어 데이터베이스 정보를 탈취

🛡️ 대응 방법

Froxlor를 최신 버전으로 업데이트하거나, /etc/pure-ftpd/db/mysql.conf 파일의 권한을 0600으로 제한하십시오.

🔧 검증 코드

명령어 결과에 -rw-r--r--가 나타나면 파일 권한이 취약하여 누구나 읽을 수 있는 상태임을 의미합니다.

Shell / Script
ls -l /etc/pure-ftpd/db/mysql.conf 2>/dev/null | grep -E '^-rw-r--r--'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP