Moodle up to 1.4 post.php cross site scripting 1.1
 
Plugin ID95
Plugin nameMoodle up to 1.4 post.php cross site scripting
Plugin filenameMoodle up to 1.4 post.php cross site scripting.plugin
Plugin filesize3484 bytes
Plugin familyCGI
Plugin created nameMarc Ruef
Plugin created emailmarc dot ruef at computec dot ch
Plugin created webhttp://www.computec.ch
Plugin created companycomputec.ch
Plugin created date2004/08/16
Plugin updated nameMarc Ruef
Plugin updated emailmarc dot ruef at computec dot ch
Plugin updated webhttp://www.computec.ch
Plugin updated companycomputec.ch
Plugin updated date2004/11/13
Plugin version1.1
Plugin changelogCorrected the plugin structure and added the accuracy values in 1.1
Plugin protocoltcp
Plugin port21
Plugin procedure exploitopen|sleep|send GET /post.php?reply=<script>document.write('ATK plugin to detect post.php flaw');</script> HTTP/1.0\n\n|sleep|close|pattern_exists plugin to detect post.php flaw
Plugin exploit accuracy99
Plugin commentCheck is copied from the Nessus plugin (see Nessus ID listed in the sources).
Bug published nameJavier Ubilla and Ariel
Bug published date2004/08/06
Bug advisoryhttp://www.securityfocus.com/archive/1/661
Bug affectedMoodle up to 1.4
Bug not affectedMoodle newer than 1.4
Bug vulnerability classCross Site Scripting
Bug descriptionThe remote host is running the Moodle PHP suite. Moodle contains a flaw that allows a remote cross site scripting attack. This flaw exists because the application does not validate the 'reply' variable upon submission to the 'post.php' script. This could allow a user to create a specially crafted URL that would execute arbitrary code in a user's browser within the trust relationship between the browser and the server, leading to a loss of integrity.
Bug solutionThe server should be deactivated or de-installed if not necessary. To make it harder to find the server the daemon could be configured to listen at another port (e.g. 2181). Try to prevent unwanted connection attempts by filtering traffic with firewalling. Update to the latest version of the affected software.
Bug fixing timeApprox. 2 hours
Bug exploit availabilityYes
Bug exploit urlhttp://www.securityfocus.com/bid/10884/exploit/
Bug remoteYes
Bug localYes
Bug severityMedium
Bug popularity4
Bug simplicity7
Bug impact6
Bug risk5
Bug Nessus riskMedium
Bug check toolsNessus
Source SecurityFocus BID10884
Source OSVDB ID8383
Source Nessus ID14257
Source LiteratureHacking Intern - Angriffe, Strategien, Abwehr, Marc Ruef, Marko Rogge, Uwe Velten and Wolfram Gieseke, November 1, 2002, Data Becker, Düsseldorf, ISBN 381582284X
Source Misc.http://www.computec.ch

This file was generated by the Attack Tool Kit (ATK), the open-sourced security scanner and exploiting framework.