18 Jan 2013
30 Jan 2013
phlyMail Lite 4.x
Cross-Site Scripting vulnerabilities allow a third party to manipulate the content or behaviour of a web application in a user's browser, without compromising the underlying system.
Different Cross-Site Scripting related vulnerabilities are also classified under this category, including "script insertion" and "cross-site request forgery".
Cross-Site Scripting vulnerabilities are often used against specific users of a website to steal their credentials or to conduct spoofing attacks.
This covers various vulnerabilities where it is possible for malicious users or people to impersonate other users or systems.
Gjoko Krstic has discovered a weakness and multiple vulnerabilities in phlyMail Lite, which can be exploited by malicious users to conduct script insertion attacks and by malicious people to conduct spoofing attacks.
1) Input passed via the "go" parameter to frontend/derefer.php is not properly verified before being used to redirect users. This can be exploited to redirect a user to an arbitrary website e.g. when a user clicks a specially crafted link to the affected script hosted on a trusted domain.
2) Input passed via the "name" and "url" POST parameters to config.php (when "screen" and "module" is set to "bookmarks") is not properly sanitised before being used. This can be exploited to insert arbitrary HTML and script code, which will be executed in a user's browser session in context of an affected site if malicious data is viewed.
Successful exploitation of this vulnerability requires administrative access.
3) Input passed via multiple POST parameters to config.php (when "action" is set to "users" and "whattodo" is set to "savenewuser") is not properly sanitised before being used. This can be exploited to insert arbitrary HTML and script code, which will be executed in a user's browser session in context of an affected site if malicious data is viewed.
List of affected scripts and parameters:
Successful exploitation of this vulnerability requires administrative access and "Write" permissions to the "User management" module.
The weakness and vulnerabilities are confirmed in phlyMail Lite 4.03.04. Other versions may also be affected.
Update to version 4.4.0, which fixes vulnerabilities #1 and #3 and the "url" parameter of vulnerability #2. No official solution is currently available for the "name" parameter of vulnerability #2.
Gjoko Krstic (LiquidWorm).