🇰🇷 한글 설명
PhpMyFactures 1.2 이하 버전에서 인증 검증 부재로 인한 원격 접근 제어 우회 취약점입니다. 공격자가 인증 없이 TVA, 할인, 국가, 상품, 고객 관리 페이지에 직접 접근하여 데이터를 수정할 수 있으며, 이는 관리자 권한이 필요한 작업을 무단으로 수행할 수 있게 합니다.
💡 쉬운 설명
PhpMyFactures라는 청구 관리 소프트웨어의 여러 페이지가 로그인 확인 없이 누구나 접근 가능합니다. 고객 정보, 상품 정보, 가격 설정 등 중요 데이터를 인증 없이 변경할 수 있다는 뜻입니다.
🇺🇸 원문 (English)
PhpMyFactures 1.2 and earlier allows remote attackers to bypass authentication and modify data via direct requests with modified parameters to (1) /tva/ajouter_tva.php, (2) /remises/ajouter_remise.php, (3) /pays/ajouter_pays.php, (4) /pays/modifier_pays.php, (5) /produits/ajouter_cat.php, (6) /produits/ajouter_produit.php, (7) /clients/ajouter_client.php, (8) /clients/modifier_client.php. NOTE: the provenance of this information is unknown; portions of the details are obtained from third party information.
📍 영향받는 시스템
PhpMyFactures 1.2 및 이전 버전
⚔️ 공격 벡터
인증되지 않은 원격 공격자가 수정된 매개변수로 /tva/ajouter_tva.php, /remises/ajouter_remise.php 등 8개 관리 페이지에 직접 HTTP 요청 전송
🛡️ 대응 방법
설치된 PhpMyFactures를 최신 패치 버전으로 업그레이드하거나 모든 관리 기능 페이지에 세션 기반 인증 검증 추가
🔧 검증 코드
첫 번째 명령어가 성공하고 버전이 1.2 이하면 취약한 상태입니다. 파일을 찾을 수 없으면 해당 애플리케이션이 설치되지 않음을 의미합니다.
test -f /var/www/html/phpmyfactures/tva/ajouter_tva.php && grep -E 'VERSION.*[0-2]' /var/www/html/phpmyfactures/config.php 2>/dev/null || echo 'Not found'