
POC for CVE-2025-63499
theme 매개변수의 대상 지정 반사형 XSS
연구자: Arseniy Poblaguev, Daniil Khomichenok
영향을 받는 버전 <= 5.12.4 ( https://github.com/Alinto/sogo/releases/tag/SOGo-5.12.4 )
날짜: 02.12.2025
theme 매개변수에 반사형 XSS 취약점이 있습니다:
취약점을 성공적으로 악용하려면 잠재적 피해자의 이메일 주소를 알고 해당 피해자에게 페이로드를 전송할 수 있어야 하며, 이는 smtp-user-enum 또는 정찰(recon)을 통해 가능합니다. 이 경우에만 취약점이 올바르게 트리거됩니다. 또한 피해자가 유효한 SOGO 세션을 가지고 있어야 한다는 점에 유의해야 합니다.
주입이 포함된 theme 매개변수의 코드:
- (NSString *) relativePathToUserFolderSubPath: (NSString *) _sub
{
NSString *dst, *rel, *theme;
dst = [[self userFolderPath] stringByAppendingPathComponent: _sub];
rel = [dst urlPathRelativeToPath:[self ownPath]];
theme = [[context request] formValueForKey: @"theme"];
if ([theme length])
rel = [NSString stringWithFormat: @"%@?theme=%@", rel, theme];
return rel;
}
수정: https://github.com/Alinto/sogo/commit/16ab99e7cf8db2c30b211f0d5e338d7f9e3a9efb