CVE-2025-31161 CrushFTP 10 before 10.8.4 and 11 before 11.3.1 allows authentication bypass and takeover of the cru…
설명
CrushFTP 10 before 10.8.4 and 11 before 11.3.1 allows authentication bypass and takeover of the crushadmin account (unless a DMZ proxy instance is used), as exploited in the wild in March and April 2025, aka "Unauthenticated HTTP(S) port access." A race condition exists in the AWS4-HMAC (compatible with S3) authorization method of the HTTP component of the FTP server. The server first verifies the existence of the user by performing a call to login_user_pass() with no password requirement. This will authenticate the session through the HMAC verification process and up until the server checks for user verification once more. The vulnerability can be further stabilized, eliminating the need for successfully triggering a race condition, by sending a mangled AWS4-HMAC header. By providing only the username and a following slash (/), the server will successfully find a username, which triggers the successful anypass authentication process, but the server will fail to find the expected SignedHeaders entry, resulting in an index-out-of-bounds error that stops the code from reaching the session cleanup. Together, these issues make it trivial to authenticate as any known or guessable user (e.g., crushadmin), and can lead to a full compromise of the system by obtaining an administrative account.
10.8.4 이전 및 11.3.1 이전 CrushFTP 10은 2025년 3월과 4월에 야생에서 악용된 "미인증 HTTP(S) 포트 액세스"와 같이 인증 우회 및 crushadmin 계정 인수를 허용합니다. FTP 서버의 HTTP 구성 요소의 AWS4-HMAC(S3와 호환) 인증 방법에 경쟁 조건이 존재합니다. 서버는 먼저 비밀번호 요구 사항 없이 login_user_pass() 호출을 수행하여 사용자의 존재를 확인합니다. 이렇게 하면 HMAC 확인 프로세스를 통해 세션을 인증하고 서버가 사용자 확인을 다시 확인할 때까지 세션을 인증합니다. 이 취약점은 더욱 안정화되어 복잡한 AWS4-HMAC 헤더를 전송하여 경쟁 조건을 성공적으로 트리거할 필요가 없습니다. 사용자 이름과 다음 슬래시 (/) 만 제공하면 서버는 성공적으로 사용자 이름을 찾을 수 있으며, 이는 성공적인 anypass 인증 프로세스를 트리거하지만 서버는 예상되는 SignedHeaders 항목을 찾지 못해 코드가 세션 정리에 도달하지 못하게하는 인덱스 아웃 오브 바운드 오류가 발생합니다. 이러한 문제들은 모두 알려진 사용자 또는 추측 가능한 사용자(예: crushadmin)로 인증하는 것을 어렵게 만들고, 관리 계정을 획득함으로써 시스템의 완전한 타협을 초래할 수 있습니다.
영향 받는 제품 제품 1개
-
해결 버전 있음
CrushFTP
CrushFTP
영향 받는 버전
- 10 이상 10.8.4 미만
- 11 이상 11.3.1 미만
해결 버전
- 10.8.4 이상
- 11.3.1 이상