NBBN has discovered some vulnerabilities in the DMSGuestbook plugin for WordPress, which can be exploited by malicious users to disclose sensitive information or to manipulate data, and by malicious people to conduct cross-site scripting and script insertion attacks.
1) Input passed to the "file" and "folder" parameters in the WordPress installation's wp-admin/admin.php script (when "page" is set to "dmsguestbook") is not properly sanitised before being used. This can be exploited to display or edit arbitrary files through directory traversal attacks.
Successful exploitation of this vulnerability requires valid administrator credentials.
2) Input passed to the "gbmsg" parameter is not properly sanitised before being stored. This can be exploited to insert arbitrary HTML and script code, which is executed in a user's browser session in context of an affected site when the malicious data is viewed.
Successful exploitation of this vulnerability requires that the target user has valid administrator credentials.
3) Input passed to the "gbname", "gbemail", "gburl", and "gbmsg" parameters is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
The vulnerabilities are confirmed in version 1.8.0 and reported in version 1.7.0. Other versions may also be affected.
Solution: Edit the source code to ensure that input is properly sanitised.
Do you have additional information related to this advisory?
Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this
information to firstname.lastname@example.org