matrix_killer has discovered a vulnerability in G-Book, which can be exploited by malicious people to conduct script insertion attacks.
Input passed to the "g_message" parameter in guestbook.php isn't sanitised before being stored as a guestbook entry. This can be exploited to execute arbitrary HTML and script code in the administrator user's and the user's browser session in context of an affected website when a malicious guestbook entry is viewed.
The vulnerability has been confirmed in version 1.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