Informatica · Report #190016
[network.informatica.com] The login form XSS via the referer value
Validstatus
highseverity
7upvotes
22 May 2017disclosed
How it was found
The referer parameter value https://network.informatica.com/login!input.jspa?referer=%ref% is inserted into the Javascript code
if (pageURL.indexOf("login!input.jspa?referer=") > -1 || pageURL.indexOf("login.jspa?referer=") > -1) {
finalPageURL='%ref%';
}
and used in further redirection without validation:
InfaAutoLogin.authenticateUser(response.id, finalPageURL, {
callback:function(responseMap) {
if(responseMap['status'] === 'success') {
document.location = responseMap['location'];
}
else {
sessionStorage.setItem('autoLoginType', responseMap['statusMsg']);
}
}
});
This means an attacker can put JS links there, which will cause script execution in the victim's browser:
- Log into your Informatica Network account
- Go to https://network.informatica.com/login!input.jspa?referer=javascript:alert(document.domain)
{F142238}
Tested with latest Firefox and Chrome.