
POC per CVE-2025-63499
XSS riflessa mirata nel parametro theme
Ricercatori: Arseniy Poblaguev, Daniil Khomichenok
Versioni interessate <= 5.12.4 ( https://github.com/Alinto/sogo/releases/tag/SOGo-5.12.4 )
Data: 02.12.2025
Nel parametro theme è presente una vulnerabilità XSS riflessa:
Per sfruttare con successo la vulnerabilità, è necessario conoscere l'indirizzo email della potenziale vittima e poter trasmettere il payload a quella specifica vittima; ciò può essere fatto con smtp-user-enum o tramite ricognizione. Solo in questo caso la vulnerabilità verrà attivata correttamente. È anche importante notare che la vittima deve avere una sessione SOGO valida.
Codice del parametro theme, che contiene l'iniezione:
- (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;
}
Correzione: https://github.com/Alinto/sogo/commit/16ab99e7cf8db2c30b211f0d5e338d7f9e3a9efb