🔍 CVE-2025-52022

5.3
CVSS Score
MEDIUM
2026-01-23
2026-07-05 02:16
✅ 완료

🇰🇷 한글 설명

gemsloyalty.aptsys.com.sg의 PHP 백엔드에서 발생하는 취약점으로, 인증되지 않은 원격 공격자가 특수하게 조작된 HTTP 요청을 통해 상세한 오류 메시지를 유도할 수 있습니다. 이 과정에서 내부 파일 경로, 코드 조각 및 스택 트레이스가 노출되어 추가 공격에 악용될 수 있는 민감한 정보가 유출될 위험이 있습니다.

💡 쉬운 설명

해커가 특정 요청을 보내 웹사이트가 오류를 일으키게 만들면, 웹사이트가 내부 설계도와 같은 민감한 정보를 실수로 보여주는 문제입니다. 이 정보는 해커가 다음 공격을 계획하는 데 중요한 힌트가 됩니다.

🇺🇸 원문 (English)

A vulnerability in the PHP backend of gemsloyalty.aptsys.com.sg thru 2025-05-28 allows unauthenticated remote attackers to trigger detailed error messages that disclose internal file paths, code snippets, and stack traces. This occurs when specially crafted HTTP GET/POST requests are sent to public API endpoints, exposing potentially sensitive information useful for further exploitation. This issue is classified under CWE-209: Information Exposure Through an Error Message.

📍 영향받는 시스템

gemsloyalty.aptsys.com.sg PHP 백엔드 (2025-05-28 이전 버전)

⚔️ 공격 벡터

공개된 API 엔드포인트에 조작된 HTTP GET/POST 요청 전송

🛡️ 대응 방법

PHP 설정에서 display_errors를 Off로 설정하고, 상세한 오류 메시지가 사용자에게 노출되지 않도록 예외 처리를 강화해야 합니다.

🔧 검증 코드

명령어 실행 결과로 파일 경로, 스택 트레이스 또는 코드 조각이 포함된 오류 메시지가 출력되면 취약한 상태입니다.

Shell / Script
curl -s -X GET 'https://gemsloyalty.aptsys.com.sg/api/endpoint' | grep -E 'Stack trace|File path|line|exception'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP