AresU Advisory 19/July/2002 Easy Guestbook Vulnerabilities Severity : High (Possible to edit member homepage) Systems Affected: Easy Guestbook v1.0 Vendor URL : http://www.easyscripts.co.uk Vuln Type : It does not use Access Validation to delete the entries and login as Admin Control. Author : AresU Greetz to : Bosen, Tioeuy, eF73, SakitJiwa, nimdA, Br0374l, FreshFirst, Algorithm, Mr.Padang Summary ======= 1) Everyone can delete the entries and login as Admin Control. 2) Everyone can reconfigure Guestbook when they open config.cgi and change Admin Password. Solution ======== 1) Add Access Validation on "delete_message" function and "start" function. Add admin.cgi with this code: sub login_verify { chomp($FORM{'login_username'}); chomp($FORM{'login_password'}); if (!($FORM{'login_username'} eq $username && $FORM{'login_password'} eq $password)) { dienice("Sorry, but you have entered an invalid username or password. Please press the 'back' button on your browser to return to the Login Screen."); } } And on the first line of "delete_message" function and "start" function add this: &login_verify; And on the "start" function add this code in the
: 2) Delete config.cgi after you finish configure the Guestbook. Acknowledgments =============== Vulnerability discovery, exploit code, and advisory by AresU Vendor Response =============== Vendor has been contacted for about 7 days but they still didn't respond yet. Exploit Code ============

Easy Guestbook v1.0 Vulnerabilities

Delete No. of Entries in Guestbook:

Open Administration Guestbook: