🇰🇷 한글 설명
Paymenter 1.5.0 미만 버전의 PayPal 웹훅 엔드포인트에서 PAYPAL-CERT-URL 헤더에 대한 검증 부재로 인해 SSRF 취약점이 발생합니다. 공격자는 이 헤더를 조작하여 서버가 임의의 외부 또는 내부 네트워크로 HTTP 요청을 보내도록 유도할 수 있습니다. 이로 인해 내부 네트워크 탐색이나 데이터 유출이 발생할 수 있습니다.
💡 쉬운 설명
웹사이트의 특정 기능이 공격자가 지정한 주소로 몰래 접속을 시도하게 만드는 보안 약점입니다. 이를 통해 공격자는 회사의 내부 네트워크를 몰래 들여다보거나 정보를 빼낼 수 있습니다.
🇺🇸 원문 (English)
Paymenter is a free and open-source webshop solution for management of hosting services. In versions prior to 1.5.0, the PayPal webhook endpoint /extensions/paypal/webhook processes the PAYPAL-CERT-URL HTTP header without validation, allowing attackers to control server-side HTTP request destinations. This value is passed directly into a server-side HTTP request via file_get_contents, allowing attackers to control the destination of the request. No allowlist, validation, or signature verification is applied to the header before usage. As a result, the application can be coerced into performing HTTP requests to attacker-controlled or internal network destinations. This vulnerability allows remote unauthenticated attackers to induce server-side HTTP GET requests to arbitrary external or internal endpoints. Depending on network configuration, this may lead to: blind SSRF to external attacker-controlled systems, and potential access to internal network services No direct response data is returned to the attacker (blind SSRF), but the issue may still enable sensitive network probing or data exfiltration via side channels. This issue has been fixed in version 1.5.0.
📍 영향받는 시스템
Paymenter 1.5.0 미만 모든 버전
⚔️ 공격 벡터
PAYPAL-CERT-URL HTTP 헤더를 조작하여 서버 측 HTTP GET 요청을 임의의 대상으로 유도
🛡️ 대응 방법
Paymenter를 최신 버전인 1.5.0 이상으로 업데이트하십시오.
🔧 검증 코드
설치된 Paymenter의 버전이 1.5.0 미만인지 확인하여 취약 여부를 판단합니다.
php -r 'echo "1.5.0";' # 실제 환경에서는 설치된 Paymenter의 버전 확인 로직 필요