<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://elvis.hcw.ac.at/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=FMayerhofer</id>
	<title>Elvis Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://elvis.hcw.ac.at/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=FMayerhofer"/>
	<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php/Special:Contributions/FMayerhofer"/>
	<updated>2026-09-10T19:42:45Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.5</generator>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10901</id>
		<title>OWASP Mutillidae (2021)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10901"/>
		<updated>2023-01-08T12:26:24Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: /* Cross-Site-Request Forgery */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
OWASP Mutillidae is a free open source tool created for Pentesting of Web Applications. It is a &amp;quot;Vulnerable Web Application&amp;quot; that offers a Platform where the provided Exploits and Security flaws can be executed within a local environment. With over 40 different vulnerabilities and related training challenges, it provides a platform that shows the most common flaws of the last 15 years of web development. The vulnerabilities shown in the program are actual vulnerabilities within the application, so the application should only be run in a protected environment - such as a virtual machine. The current Version Mutillidae II was created by Jeremy Druin [https://www.youtube.com/c/webpwnized/featured] (pseudonym: webpwnized), who also created the Tutorials for the Challanges and Installation Guides. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How it Operates ==&lt;br /&gt;
&lt;br /&gt;
Every Vulnerability contained in the application is build in within a Webpage. By selecting the Exploit from a List (e.g. Authentication Bypass) a site with the corresponding explotable Webpage is loaded and ready to get &amp;quot;hacked&amp;quot;. Since everything run at your local machine you can not harm anyone. The data such as &amp;quot;User Data&amp;quot; are stored in a Database which you set up when you install the Application (see Installation for more Information).&lt;br /&gt;
&lt;br /&gt;
[[File:Muti-Dropdown.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== A1 SQL Injection Example ==&lt;br /&gt;
[[SQL_Injection]]-&amp;gt; SQLi Extract Data&lt;br /&gt;
&lt;br /&gt;
Now here is a short example how one vulnerability exploit could look like. In this case there is a query where user can request their userinformation by providing their credentials.&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-login.png]]&lt;br /&gt;
&lt;br /&gt;
Normally the query should only retrun only on record when correct credentials are entered.&lt;br /&gt;
&lt;br /&gt;
But this website is totally unsecure so we can easily rewrite the SQL query to give us a list of every user in the database. But how can we do this?&lt;br /&gt;
&lt;br /&gt;
===Step 1:===&lt;br /&gt;
get an Exception by typing in invalid characters such as (&#039;, #, --)&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Exception.png]]&lt;br /&gt;
&lt;br /&gt;
===Step 2:===&lt;br /&gt;
&lt;br /&gt;
Since we got an error message with the syntax how the sql statement is written we can alter the statement by simply put another statement in the form.&lt;br /&gt;
&lt;br /&gt;
In this case i wrote ’OR 1# in the username fields to alter the query which should be now&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM acccounts where username= ’ ’OR 1# AND password = ’’&lt;br /&gt;
&lt;br /&gt;
1 means true in SQL language and # is a comment so it ignores the password query. So our SQL String says now that it should gives as all datasets for which the condition is true which lead to following output:&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Extract-Data.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== A5 Cross-Site-Request Forgery Example ==&lt;br /&gt;
[[Cross-Site-Request_Forgery_(CSRF)]]-&amp;gt; Cross-Site-Request Forgery&lt;br /&gt;
This example can be found in the A5 section from the Owasp Top 10 examples, which is called &#039;Add to your blog&#039;.&lt;br /&gt;
Here we simulating an attack to vote for a security tool but without actually voting for it.&lt;br /&gt;
In the screenshot below you can see the site which we are attacking. So this site is basically the good site.&lt;br /&gt;
&lt;br /&gt;
[[File:UserPoll.PNG]]&lt;br /&gt;
&lt;br /&gt;
The evil site is in this case the &#039;Add to your blog&#039; site. Users can save a blog to a blog table. An attacker can you use this mechanism to manipulate a blog to fire an action.&lt;br /&gt;
Instead of a normal blog you can also add a script to the blog table. This script calls a method when you hover over the blog and it redirects to the voting site and votes for a security tool.&lt;br /&gt;
&lt;br /&gt;
[[File:Blogs.PNG]]&lt;br /&gt;
&lt;br /&gt;
The script can be found on the official github website for Mutillidae https://github.com/webpwnized/mutillidae/blob/master/labs/lab-files/cross-site-request-forgery-lab-files/vote-for-nmap-onmouseover-csrf.txt&lt;br /&gt;
This script creates a form object in the background and sets some specific fields. Those fields are being sent over the URL to the voting site.&lt;br /&gt;
Because how the site is constructed, it reads the parameter from the url to decide which security tool should be voted. This means that the form object consists of some input fields and those input fields contain some values.&lt;br /&gt;
One input field is responsible for redirecting to the voting site. The other one is setting the value for security tool. A form also should have a submit button which is also set with the input fields.&lt;br /&gt;
This whole script is contained in a method. This method gets fired when you hover over the mouse. You basically save a html tag with the name of the blog but this html tag calls the method which is containing the malicious script.&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* over 40 vulnerabilities (OWASP Top Ten 2007, 2010, 2013 and 2017[https://owasp.org/www-project-top-ten/])&lt;br /&gt;
* Actually Vulnerable&lt;br /&gt;
* Simple Intallation and Maintaining&lt;br /&gt;
* User can switch between 3 security levels (no security, Client-side Security, Server-side Security)&lt;br /&gt;
* Used in web security courses&lt;br /&gt;
* Tutorials and Guides included in Application&lt;br /&gt;
* Updated frequently&lt;br /&gt;
&lt;br /&gt;
== Interface ==&lt;br /&gt;
[[File:Mutillidae-Interface.png]]&lt;br /&gt;
&lt;br /&gt;
By clicking on any Item on the right dropdown menu, you can select any of the OWASP Top Ten Challanges from the last 15 years.&lt;br /&gt;
&lt;br /&gt;
* Hints and Videos - leads you directly to a structured guide how the exercise could be completed.&lt;br /&gt;
* Toggle Security - you can choose between 3 Security levels for each exercise&lt;br /&gt;
* Reset DB - Clear all user Data &lt;br /&gt;
* Labs - Study Questions associated with the Exercises&lt;br /&gt;
&lt;br /&gt;
== Examples of Vulnerabilities ==&lt;br /&gt;
&lt;br /&gt;
* SQL Injections (SQLi)[https://wiki.elvis.science/index.php?title=SQL_Injection]&lt;br /&gt;
* Cross-Site-Scripting [https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)]&lt;br /&gt;
* Sensitive Data Exposure&lt;br /&gt;
* other Injection (CSS, HTML, JavaScript)&lt;br /&gt;
* and many more...&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Apache Webserver&lt;br /&gt;
* Database (MySQL/MariaDb)&lt;br /&gt;
* Packages: Sourcecode from git (https://github.com/webpwnized/mutillidae)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install Apache Webserver on your local Machine&lt;br /&gt;
* Install PHP on your local Machine&lt;br /&gt;
* Install a supported Database (e.g. MySQL, MariaDB)&lt;br /&gt;
* Install Metasploit, it includes everything you need to run mutillidae&lt;br /&gt;
&lt;br /&gt;
If you have a XAMPP/LAMPP stack set up aleady, you might skip directly to installing Mutillidae.&lt;br /&gt;
There are Videos from the creator which gives a [https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae ===&lt;br /&gt;
&lt;br /&gt;
Head to the Folder where Websites are stored in Apache Webserver this could be the &amp;quot;htdocs&amp;quot; folder under XAMPP or if manually installed under a linux distribution this might be the folder &amp;quot;/var/www/html/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download the Repository from github (see [[#Requirements]]) and copy the contents of the Repository into the Webservers folder. After these steps go on your localhost webpage and make sure you can access Mutillidae Webinterface&lt;br /&gt;
&lt;br /&gt;
To see if the database is correctly installed press the &amp;quot;Reset DB&amp;quot; Button on the Webinterface. If you see the Message that no PHP or SQL errors were detected when resseting the database, the intallation of mutillidae succeded.&lt;br /&gt;
[[File:Mutllidae-no-errors.png]]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae with Metasploit ===&lt;br /&gt;
A different method for installing Mutillidae is to install Metasploit. Metasploit is a penetration testing software which inlcudes everything you need to set up and run Mutillidae.&lt;br /&gt;
This means that you don&#039;t have to install all the other components you need for example a database, because Metasploit is doing this for.&lt;br /&gt;
After installing you can use the credentials msfadmin for the username and password in order to login into Metasploit.&lt;br /&gt;
When Metasploit is running Mutillidae is also accessible and for that you use the ip address of the machine where Metasploit is running on.&lt;br /&gt;
To look up the ip address you can use the &#039;ip a&#039; command in the CLI to find the ip address.&lt;br /&gt;
Sometimes it happens that Mutillidae cannot access the database. This problem occurs when the database name in the config file is not set.&lt;br /&gt;
To fix this problem you have to navigate to this config file which is found in this destination &#039;/var/www/mutillidae/config.inc&#039;.&lt;br /&gt;
In this config file you change the value of the variable called &#039;$dbname&#039; to &#039;owasp10&#039;. After this configuration Mutillidae can access the database.&lt;br /&gt;
&lt;br /&gt;
[[File:Config.PNG]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://owasp.org/www-project-top-ten/&lt;br /&gt;
* https://github.com/webpwnized/mutillidae&lt;br /&gt;
* https://www.youtube.com/c/webpwnized/featured&lt;br /&gt;
* https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial&lt;br /&gt;
&lt;br /&gt;
Internal Links&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection_Examples_on_Known_Vulnerable_Web_Applications&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10900</id>
		<title>OWASP Mutillidae (2021)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10900"/>
		<updated>2023-01-08T12:26:11Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: /* Step 2: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
OWASP Mutillidae is a free open source tool created for Pentesting of Web Applications. It is a &amp;quot;Vulnerable Web Application&amp;quot; that offers a Platform where the provided Exploits and Security flaws can be executed within a local environment. With over 40 different vulnerabilities and related training challenges, it provides a platform that shows the most common flaws of the last 15 years of web development. The vulnerabilities shown in the program are actual vulnerabilities within the application, so the application should only be run in a protected environment - such as a virtual machine. The current Version Mutillidae II was created by Jeremy Druin [https://www.youtube.com/c/webpwnized/featured] (pseudonym: webpwnized), who also created the Tutorials for the Challanges and Installation Guides. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How it Operates ==&lt;br /&gt;
&lt;br /&gt;
Every Vulnerability contained in the application is build in within a Webpage. By selecting the Exploit from a List (e.g. Authentication Bypass) a site with the corresponding explotable Webpage is loaded and ready to get &amp;quot;hacked&amp;quot;. Since everything run at your local machine you can not harm anyone. The data such as &amp;quot;User Data&amp;quot; are stored in a Database which you set up when you install the Application (see Installation for more Information).&lt;br /&gt;
&lt;br /&gt;
[[File:Muti-Dropdown.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== A1 SQL Injection Example ==&lt;br /&gt;
[[SQL_Injection]]-&amp;gt; SQLi Extract Data&lt;br /&gt;
&lt;br /&gt;
Now here is a short example how one vulnerability exploit could look like. In this case there is a query where user can request their userinformation by providing their credentials.&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-login.png]]&lt;br /&gt;
&lt;br /&gt;
Normally the query should only retrun only on record when correct credentials are entered.&lt;br /&gt;
&lt;br /&gt;
But this website is totally unsecure so we can easily rewrite the SQL query to give us a list of every user in the database. But how can we do this?&lt;br /&gt;
&lt;br /&gt;
===Step 1:===&lt;br /&gt;
get an Exception by typing in invalid characters such as (&#039;, #, --)&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Exception.png]]&lt;br /&gt;
&lt;br /&gt;
===Step 2:===&lt;br /&gt;
&lt;br /&gt;
Since we got an error message with the syntax how the sql statement is written we can alter the statement by simply put another statement in the form.&lt;br /&gt;
&lt;br /&gt;
In this case i wrote ’OR 1# in the username fields to alter the query which should be now&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM acccounts where username= ’ ’OR 1# AND password = ’’&lt;br /&gt;
&lt;br /&gt;
1 means true in SQL language and # is a comment so it ignores the password query. So our SQL String says now that it should gives as all datasets for which the condition is true which lead to following output:&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Extract-Data.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Cross-Site-Request Forgery ==&lt;br /&gt;
[[Cross-Site-Request_Forgery_(CSRF)]]-&amp;gt; Cross-Site-Request Forgery&lt;br /&gt;
This example can be found in the A5 section from the Owasp Top 10 examples, which is called &#039;Add to your blog&#039;.&lt;br /&gt;
Here we simulating an attack to vote for a security tool but without actually voting for it.&lt;br /&gt;
In the screenshot below you can see the site which we are attacking. So this site is basically the good site.&lt;br /&gt;
&lt;br /&gt;
[[File:UserPoll.PNG]]&lt;br /&gt;
&lt;br /&gt;
The evil site is in this case the &#039;Add to your blog&#039; site. Users can save a blog to a blog table. An attacker can you use this mechanism to manipulate a blog to fire an action.&lt;br /&gt;
Instead of a normal blog you can also add a script to the blog table. This script calls a method when you hover over the blog and it redirects to the voting site and votes for a security tool.&lt;br /&gt;
&lt;br /&gt;
[[File:Blogs.PNG]]&lt;br /&gt;
&lt;br /&gt;
The script can be found on the official github website for Mutillidae https://github.com/webpwnized/mutillidae/blob/master/labs/lab-files/cross-site-request-forgery-lab-files/vote-for-nmap-onmouseover-csrf.txt&lt;br /&gt;
This script creates a form object in the background and sets some specific fields. Those fields are being sent over the URL to the voting site.&lt;br /&gt;
Because how the site is constructed, it reads the parameter from the url to decide which security tool should be voted. This means that the form object consists of some input fields and those input fields contain some values.&lt;br /&gt;
One input field is responsible for redirecting to the voting site. The other one is setting the value for security tool. A form also should have a submit button which is also set with the input fields.&lt;br /&gt;
This whole script is contained in a method. This method gets fired when you hover over the mouse. You basically save a html tag with the name of the blog but this html tag calls the method which is containing the malicious script.&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* over 40 vulnerabilities (OWASP Top Ten 2007, 2010, 2013 and 2017[https://owasp.org/www-project-top-ten/])&lt;br /&gt;
* Actually Vulnerable&lt;br /&gt;
* Simple Intallation and Maintaining&lt;br /&gt;
* User can switch between 3 security levels (no security, Client-side Security, Server-side Security)&lt;br /&gt;
* Used in web security courses&lt;br /&gt;
* Tutorials and Guides included in Application&lt;br /&gt;
* Updated frequently&lt;br /&gt;
&lt;br /&gt;
== Interface ==&lt;br /&gt;
[[File:Mutillidae-Interface.png]]&lt;br /&gt;
&lt;br /&gt;
By clicking on any Item on the right dropdown menu, you can select any of the OWASP Top Ten Challanges from the last 15 years.&lt;br /&gt;
&lt;br /&gt;
* Hints and Videos - leads you directly to a structured guide how the exercise could be completed.&lt;br /&gt;
* Toggle Security - you can choose between 3 Security levels for each exercise&lt;br /&gt;
* Reset DB - Clear all user Data &lt;br /&gt;
* Labs - Study Questions associated with the Exercises&lt;br /&gt;
&lt;br /&gt;
== Examples of Vulnerabilities ==&lt;br /&gt;
&lt;br /&gt;
* SQL Injections (SQLi)[https://wiki.elvis.science/index.php?title=SQL_Injection]&lt;br /&gt;
* Cross-Site-Scripting [https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)]&lt;br /&gt;
* Sensitive Data Exposure&lt;br /&gt;
* other Injection (CSS, HTML, JavaScript)&lt;br /&gt;
* and many more...&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Apache Webserver&lt;br /&gt;
* Database (MySQL/MariaDb)&lt;br /&gt;
* Packages: Sourcecode from git (https://github.com/webpwnized/mutillidae)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install Apache Webserver on your local Machine&lt;br /&gt;
* Install PHP on your local Machine&lt;br /&gt;
* Install a supported Database (e.g. MySQL, MariaDB)&lt;br /&gt;
* Install Metasploit, it includes everything you need to run mutillidae&lt;br /&gt;
&lt;br /&gt;
If you have a XAMPP/LAMPP stack set up aleady, you might skip directly to installing Mutillidae.&lt;br /&gt;
There are Videos from the creator which gives a [https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae ===&lt;br /&gt;
&lt;br /&gt;
Head to the Folder where Websites are stored in Apache Webserver this could be the &amp;quot;htdocs&amp;quot; folder under XAMPP or if manually installed under a linux distribution this might be the folder &amp;quot;/var/www/html/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download the Repository from github (see [[#Requirements]]) and copy the contents of the Repository into the Webservers folder. After these steps go on your localhost webpage and make sure you can access Mutillidae Webinterface&lt;br /&gt;
&lt;br /&gt;
To see if the database is correctly installed press the &amp;quot;Reset DB&amp;quot; Button on the Webinterface. If you see the Message that no PHP or SQL errors were detected when resseting the database, the intallation of mutillidae succeded.&lt;br /&gt;
[[File:Mutllidae-no-errors.png]]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae with Metasploit ===&lt;br /&gt;
A different method for installing Mutillidae is to install Metasploit. Metasploit is a penetration testing software which inlcudes everything you need to set up and run Mutillidae.&lt;br /&gt;
This means that you don&#039;t have to install all the other components you need for example a database, because Metasploit is doing this for.&lt;br /&gt;
After installing you can use the credentials msfadmin for the username and password in order to login into Metasploit.&lt;br /&gt;
When Metasploit is running Mutillidae is also accessible and for that you use the ip address of the machine where Metasploit is running on.&lt;br /&gt;
To look up the ip address you can use the &#039;ip a&#039; command in the CLI to find the ip address.&lt;br /&gt;
Sometimes it happens that Mutillidae cannot access the database. This problem occurs when the database name in the config file is not set.&lt;br /&gt;
To fix this problem you have to navigate to this config file which is found in this destination &#039;/var/www/mutillidae/config.inc&#039;.&lt;br /&gt;
In this config file you change the value of the variable called &#039;$dbname&#039; to &#039;owasp10&#039;. After this configuration Mutillidae can access the database.&lt;br /&gt;
&lt;br /&gt;
[[File:Config.PNG]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://owasp.org/www-project-top-ten/&lt;br /&gt;
* https://github.com/webpwnized/mutillidae&lt;br /&gt;
* https://www.youtube.com/c/webpwnized/featured&lt;br /&gt;
* https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial&lt;br /&gt;
&lt;br /&gt;
Internal Links&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection_Examples_on_Known_Vulnerable_Web_Applications&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10899</id>
		<title>OWASP Mutillidae (2021)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10899"/>
		<updated>2023-01-08T12:25:40Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: /* A1 SQL Injection Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
OWASP Mutillidae is a free open source tool created for Pentesting of Web Applications. It is a &amp;quot;Vulnerable Web Application&amp;quot; that offers a Platform where the provided Exploits and Security flaws can be executed within a local environment. With over 40 different vulnerabilities and related training challenges, it provides a platform that shows the most common flaws of the last 15 years of web development. The vulnerabilities shown in the program are actual vulnerabilities within the application, so the application should only be run in a protected environment - such as a virtual machine. The current Version Mutillidae II was created by Jeremy Druin [https://www.youtube.com/c/webpwnized/featured] (pseudonym: webpwnized), who also created the Tutorials for the Challanges and Installation Guides. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How it Operates ==&lt;br /&gt;
&lt;br /&gt;
Every Vulnerability contained in the application is build in within a Webpage. By selecting the Exploit from a List (e.g. Authentication Bypass) a site with the corresponding explotable Webpage is loaded and ready to get &amp;quot;hacked&amp;quot;. Since everything run at your local machine you can not harm anyone. The data such as &amp;quot;User Data&amp;quot; are stored in a Database which you set up when you install the Application (see Installation for more Information).&lt;br /&gt;
&lt;br /&gt;
[[File:Muti-Dropdown.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== A1 SQL Injection Example ==&lt;br /&gt;
[[SQL_Injection]]-&amp;gt; SQLi Extract Data&lt;br /&gt;
&lt;br /&gt;
Now here is a short example how one vulnerability exploit could look like. In this case there is a query where user can request their userinformation by providing their credentials.&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-login.png]]&lt;br /&gt;
&lt;br /&gt;
Normally the query should only retrun only on record when correct credentials are entered.&lt;br /&gt;
&lt;br /&gt;
But this website is totally unsecure so we can easily rewrite the SQL query to give us a list of every user in the database. But how can we do this?&lt;br /&gt;
&lt;br /&gt;
===Step 1:===&lt;br /&gt;
get an Exception by typing in invalid characters such as (&#039;, #, --)&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Exception.png]]&lt;br /&gt;
&lt;br /&gt;
===Step 2:===&lt;br /&gt;
&lt;br /&gt;
Since we got an error message with the syntax how the sql statement is written we can alter the statement by simply put another statement in the form.&lt;br /&gt;
&lt;br /&gt;
In this case i wrote ’OR 1# in the username fields to alter the query which should be now&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM acccounts where username= ’ ’OR 1# AND password = ’’&lt;br /&gt;
&lt;br /&gt;
1 means true in SQL language and # is a comment so it ignores the password query. So our SQL String says now that it should gives as all datasets for which the condition is true which lead to following output:&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Extract-Data.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Cross-Site-Request_Forgery_(CSRF)]]-&amp;gt; Cross-Site-Request Forgery&lt;br /&gt;
This example can be found in the A5 section from the Owasp Top 10 examples, which is called &#039;Add to your blog&#039;.&lt;br /&gt;
Here we simulating an attack to vote for a security tool but without actually voting for it.&lt;br /&gt;
In the screenshot below you can see the site which we are attacking. So this site is basically the good site.&lt;br /&gt;
&lt;br /&gt;
[[File:UserPoll.PNG]]&lt;br /&gt;
&lt;br /&gt;
The evil site is in this case the &#039;Add to your blog&#039; site. Users can save a blog to a blog table. An attacker can you use this mechanism to manipulate a blog to fire an action.&lt;br /&gt;
Instead of a normal blog you can also add a script to the blog table. This script calls a method when you hover over the blog and it redirects to the voting site and votes for a security tool.&lt;br /&gt;
&lt;br /&gt;
[[File:Blogs.PNG]]&lt;br /&gt;
&lt;br /&gt;
The script can be found on the official github website for Mutillidae https://github.com/webpwnized/mutillidae/blob/master/labs/lab-files/cross-site-request-forgery-lab-files/vote-for-nmap-onmouseover-csrf.txt&lt;br /&gt;
This script creates a form object in the background and sets some specific fields. Those fields are being sent over the URL to the voting site.&lt;br /&gt;
Because how the site is constructed, it reads the parameter from the url to decide which security tool should be voted. This means that the form object consists of some input fields and those input fields contain some values.&lt;br /&gt;
One input field is responsible for redirecting to the voting site. The other one is setting the value for security tool. A form also should have a submit button which is also set with the input fields.&lt;br /&gt;
This whole script is contained in a method. This method gets fired when you hover over the mouse. You basically save a html tag with the name of the blog but this html tag calls the method which is containing the malicious script.&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* over 40 vulnerabilities (OWASP Top Ten 2007, 2010, 2013 and 2017[https://owasp.org/www-project-top-ten/])&lt;br /&gt;
* Actually Vulnerable&lt;br /&gt;
* Simple Intallation and Maintaining&lt;br /&gt;
* User can switch between 3 security levels (no security, Client-side Security, Server-side Security)&lt;br /&gt;
* Used in web security courses&lt;br /&gt;
* Tutorials and Guides included in Application&lt;br /&gt;
* Updated frequently&lt;br /&gt;
&lt;br /&gt;
== Interface ==&lt;br /&gt;
[[File:Mutillidae-Interface.png]]&lt;br /&gt;
&lt;br /&gt;
By clicking on any Item on the right dropdown menu, you can select any of the OWASP Top Ten Challanges from the last 15 years.&lt;br /&gt;
&lt;br /&gt;
* Hints and Videos - leads you directly to a structured guide how the exercise could be completed.&lt;br /&gt;
* Toggle Security - you can choose between 3 Security levels for each exercise&lt;br /&gt;
* Reset DB - Clear all user Data &lt;br /&gt;
* Labs - Study Questions associated with the Exercises&lt;br /&gt;
&lt;br /&gt;
== Examples of Vulnerabilities ==&lt;br /&gt;
&lt;br /&gt;
* SQL Injections (SQLi)[https://wiki.elvis.science/index.php?title=SQL_Injection]&lt;br /&gt;
* Cross-Site-Scripting [https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)]&lt;br /&gt;
* Sensitive Data Exposure&lt;br /&gt;
* other Injection (CSS, HTML, JavaScript)&lt;br /&gt;
* and many more...&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Apache Webserver&lt;br /&gt;
* Database (MySQL/MariaDb)&lt;br /&gt;
* Packages: Sourcecode from git (https://github.com/webpwnized/mutillidae)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install Apache Webserver on your local Machine&lt;br /&gt;
* Install PHP on your local Machine&lt;br /&gt;
* Install a supported Database (e.g. MySQL, MariaDB)&lt;br /&gt;
* Install Metasploit, it includes everything you need to run mutillidae&lt;br /&gt;
&lt;br /&gt;
If you have a XAMPP/LAMPP stack set up aleady, you might skip directly to installing Mutillidae.&lt;br /&gt;
There are Videos from the creator which gives a [https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae ===&lt;br /&gt;
&lt;br /&gt;
Head to the Folder where Websites are stored in Apache Webserver this could be the &amp;quot;htdocs&amp;quot; folder under XAMPP or if manually installed under a linux distribution this might be the folder &amp;quot;/var/www/html/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download the Repository from github (see [[#Requirements]]) and copy the contents of the Repository into the Webservers folder. After these steps go on your localhost webpage and make sure you can access Mutillidae Webinterface&lt;br /&gt;
&lt;br /&gt;
To see if the database is correctly installed press the &amp;quot;Reset DB&amp;quot; Button on the Webinterface. If you see the Message that no PHP or SQL errors were detected when resseting the database, the intallation of mutillidae succeded.&lt;br /&gt;
[[File:Mutllidae-no-errors.png]]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae with Metasploit ===&lt;br /&gt;
A different method for installing Mutillidae is to install Metasploit. Metasploit is a penetration testing software which inlcudes everything you need to set up and run Mutillidae.&lt;br /&gt;
This means that you don&#039;t have to install all the other components you need for example a database, because Metasploit is doing this for.&lt;br /&gt;
After installing you can use the credentials msfadmin for the username and password in order to login into Metasploit.&lt;br /&gt;
When Metasploit is running Mutillidae is also accessible and for that you use the ip address of the machine where Metasploit is running on.&lt;br /&gt;
To look up the ip address you can use the &#039;ip a&#039; command in the CLI to find the ip address.&lt;br /&gt;
Sometimes it happens that Mutillidae cannot access the database. This problem occurs when the database name in the config file is not set.&lt;br /&gt;
To fix this problem you have to navigate to this config file which is found in this destination &#039;/var/www/mutillidae/config.inc&#039;.&lt;br /&gt;
In this config file you change the value of the variable called &#039;$dbname&#039; to &#039;owasp10&#039;. After this configuration Mutillidae can access the database.&lt;br /&gt;
&lt;br /&gt;
[[File:Config.PNG]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://owasp.org/www-project-top-ten/&lt;br /&gt;
* https://github.com/webpwnized/mutillidae&lt;br /&gt;
* https://www.youtube.com/c/webpwnized/featured&lt;br /&gt;
* https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial&lt;br /&gt;
&lt;br /&gt;
Internal Links&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection_Examples_on_Known_Vulnerable_Web_Applications&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10898</id>
		<title>OWASP Mutillidae (2021)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10898"/>
		<updated>2023-01-08T12:25:35Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: /* Step 1: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
OWASP Mutillidae is a free open source tool created for Pentesting of Web Applications. It is a &amp;quot;Vulnerable Web Application&amp;quot; that offers a Platform where the provided Exploits and Security flaws can be executed within a local environment. With over 40 different vulnerabilities and related training challenges, it provides a platform that shows the most common flaws of the last 15 years of web development. The vulnerabilities shown in the program are actual vulnerabilities within the application, so the application should only be run in a protected environment - such as a virtual machine. The current Version Mutillidae II was created by Jeremy Druin [https://www.youtube.com/c/webpwnized/featured] (pseudonym: webpwnized), who also created the Tutorials for the Challanges and Installation Guides. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How it Operates ==&lt;br /&gt;
&lt;br /&gt;
Every Vulnerability contained in the application is build in within a Webpage. By selecting the Exploit from a List (e.g. Authentication Bypass) a site with the corresponding explotable Webpage is loaded and ready to get &amp;quot;hacked&amp;quot;. Since everything run at your local machine you can not harm anyone. The data such as &amp;quot;User Data&amp;quot; are stored in a Database which you set up when you install the Application (see Installation for more Information).&lt;br /&gt;
&lt;br /&gt;
[[File:Muti-Dropdown.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== A1 SQL Injection Example ===&lt;br /&gt;
[[SQL_Injection]]-&amp;gt; SQLi Extract Data&lt;br /&gt;
&lt;br /&gt;
Now here is a short example how one vulnerability exploit could look like. In this case there is a query where user can request their userinformation by providing their credentials.&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-login.png]]&lt;br /&gt;
&lt;br /&gt;
Normally the query should only retrun only on record when correct credentials are entered.&lt;br /&gt;
&lt;br /&gt;
But this website is totally unsecure so we can easily rewrite the SQL query to give us a list of every user in the database. But how can we do this?&lt;br /&gt;
&lt;br /&gt;
===Step 1:===&lt;br /&gt;
get an Exception by typing in invalid characters such as (&#039;, #, --)&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Exception.png]]&lt;br /&gt;
&lt;br /&gt;
===Step 2:===&lt;br /&gt;
&lt;br /&gt;
Since we got an error message with the syntax how the sql statement is written we can alter the statement by simply put another statement in the form.&lt;br /&gt;
&lt;br /&gt;
In this case i wrote ’OR 1# in the username fields to alter the query which should be now&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM acccounts where username= ’ ’OR 1# AND password = ’’&lt;br /&gt;
&lt;br /&gt;
1 means true in SQL language and # is a comment so it ignores the password query. So our SQL String says now that it should gives as all datasets for which the condition is true which lead to following output:&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Extract-Data.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Cross-Site-Request_Forgery_(CSRF)]]-&amp;gt; Cross-Site-Request Forgery&lt;br /&gt;
This example can be found in the A5 section from the Owasp Top 10 examples, which is called &#039;Add to your blog&#039;.&lt;br /&gt;
Here we simulating an attack to vote for a security tool but without actually voting for it.&lt;br /&gt;
In the screenshot below you can see the site which we are attacking. So this site is basically the good site.&lt;br /&gt;
&lt;br /&gt;
[[File:UserPoll.PNG]]&lt;br /&gt;
&lt;br /&gt;
The evil site is in this case the &#039;Add to your blog&#039; site. Users can save a blog to a blog table. An attacker can you use this mechanism to manipulate a blog to fire an action.&lt;br /&gt;
Instead of a normal blog you can also add a script to the blog table. This script calls a method when you hover over the blog and it redirects to the voting site and votes for a security tool.&lt;br /&gt;
&lt;br /&gt;
[[File:Blogs.PNG]]&lt;br /&gt;
&lt;br /&gt;
The script can be found on the official github website for Mutillidae https://github.com/webpwnized/mutillidae/blob/master/labs/lab-files/cross-site-request-forgery-lab-files/vote-for-nmap-onmouseover-csrf.txt&lt;br /&gt;
This script creates a form object in the background and sets some specific fields. Those fields are being sent over the URL to the voting site.&lt;br /&gt;
Because how the site is constructed, it reads the parameter from the url to decide which security tool should be voted. This means that the form object consists of some input fields and those input fields contain some values.&lt;br /&gt;
One input field is responsible for redirecting to the voting site. The other one is setting the value for security tool. A form also should have a submit button which is also set with the input fields.&lt;br /&gt;
This whole script is contained in a method. This method gets fired when you hover over the mouse. You basically save a html tag with the name of the blog but this html tag calls the method which is containing the malicious script.&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* over 40 vulnerabilities (OWASP Top Ten 2007, 2010, 2013 and 2017[https://owasp.org/www-project-top-ten/])&lt;br /&gt;
* Actually Vulnerable&lt;br /&gt;
* Simple Intallation and Maintaining&lt;br /&gt;
* User can switch between 3 security levels (no security, Client-side Security, Server-side Security)&lt;br /&gt;
* Used in web security courses&lt;br /&gt;
* Tutorials and Guides included in Application&lt;br /&gt;
* Updated frequently&lt;br /&gt;
&lt;br /&gt;
== Interface ==&lt;br /&gt;
[[File:Mutillidae-Interface.png]]&lt;br /&gt;
&lt;br /&gt;
By clicking on any Item on the right dropdown menu, you can select any of the OWASP Top Ten Challanges from the last 15 years.&lt;br /&gt;
&lt;br /&gt;
* Hints and Videos - leads you directly to a structured guide how the exercise could be completed.&lt;br /&gt;
* Toggle Security - you can choose between 3 Security levels for each exercise&lt;br /&gt;
* Reset DB - Clear all user Data &lt;br /&gt;
* Labs - Study Questions associated with the Exercises&lt;br /&gt;
&lt;br /&gt;
== Examples of Vulnerabilities ==&lt;br /&gt;
&lt;br /&gt;
* SQL Injections (SQLi)[https://wiki.elvis.science/index.php?title=SQL_Injection]&lt;br /&gt;
* Cross-Site-Scripting [https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)]&lt;br /&gt;
* Sensitive Data Exposure&lt;br /&gt;
* other Injection (CSS, HTML, JavaScript)&lt;br /&gt;
* and many more...&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Apache Webserver&lt;br /&gt;
* Database (MySQL/MariaDb)&lt;br /&gt;
* Packages: Sourcecode from git (https://github.com/webpwnized/mutillidae)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install Apache Webserver on your local Machine&lt;br /&gt;
* Install PHP on your local Machine&lt;br /&gt;
* Install a supported Database (e.g. MySQL, MariaDB)&lt;br /&gt;
* Install Metasploit, it includes everything you need to run mutillidae&lt;br /&gt;
&lt;br /&gt;
If you have a XAMPP/LAMPP stack set up aleady, you might skip directly to installing Mutillidae.&lt;br /&gt;
There are Videos from the creator which gives a [https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae ===&lt;br /&gt;
&lt;br /&gt;
Head to the Folder where Websites are stored in Apache Webserver this could be the &amp;quot;htdocs&amp;quot; folder under XAMPP or if manually installed under a linux distribution this might be the folder &amp;quot;/var/www/html/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download the Repository from github (see [[#Requirements]]) and copy the contents of the Repository into the Webservers folder. After these steps go on your localhost webpage and make sure you can access Mutillidae Webinterface&lt;br /&gt;
&lt;br /&gt;
To see if the database is correctly installed press the &amp;quot;Reset DB&amp;quot; Button on the Webinterface. If you see the Message that no PHP or SQL errors were detected when resseting the database, the intallation of mutillidae succeded.&lt;br /&gt;
[[File:Mutllidae-no-errors.png]]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae with Metasploit ===&lt;br /&gt;
A different method for installing Mutillidae is to install Metasploit. Metasploit is a penetration testing software which inlcudes everything you need to set up and run Mutillidae.&lt;br /&gt;
This means that you don&#039;t have to install all the other components you need for example a database, because Metasploit is doing this for.&lt;br /&gt;
After installing you can use the credentials msfadmin for the username and password in order to login into Metasploit.&lt;br /&gt;
When Metasploit is running Mutillidae is also accessible and for that you use the ip address of the machine where Metasploit is running on.&lt;br /&gt;
To look up the ip address you can use the &#039;ip a&#039; command in the CLI to find the ip address.&lt;br /&gt;
Sometimes it happens that Mutillidae cannot access the database. This problem occurs when the database name in the config file is not set.&lt;br /&gt;
To fix this problem you have to navigate to this config file which is found in this destination &#039;/var/www/mutillidae/config.inc&#039;.&lt;br /&gt;
In this config file you change the value of the variable called &#039;$dbname&#039; to &#039;owasp10&#039;. After this configuration Mutillidae can access the database.&lt;br /&gt;
&lt;br /&gt;
[[File:Config.PNG]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://owasp.org/www-project-top-ten/&lt;br /&gt;
* https://github.com/webpwnized/mutillidae&lt;br /&gt;
* https://www.youtube.com/c/webpwnized/featured&lt;br /&gt;
* https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial&lt;br /&gt;
&lt;br /&gt;
Internal Links&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection_Examples_on_Known_Vulnerable_Web_Applications&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10897</id>
		<title>OWASP Mutillidae (2021)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10897"/>
		<updated>2023-01-08T12:25:27Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: /* Step 2: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
OWASP Mutillidae is a free open source tool created for Pentesting of Web Applications. It is a &amp;quot;Vulnerable Web Application&amp;quot; that offers a Platform where the provided Exploits and Security flaws can be executed within a local environment. With over 40 different vulnerabilities and related training challenges, it provides a platform that shows the most common flaws of the last 15 years of web development. The vulnerabilities shown in the program are actual vulnerabilities within the application, so the application should only be run in a protected environment - such as a virtual machine. The current Version Mutillidae II was created by Jeremy Druin [https://www.youtube.com/c/webpwnized/featured] (pseudonym: webpwnized), who also created the Tutorials for the Challanges and Installation Guides. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How it Operates ==&lt;br /&gt;
&lt;br /&gt;
Every Vulnerability contained in the application is build in within a Webpage. By selecting the Exploit from a List (e.g. Authentication Bypass) a site with the corresponding explotable Webpage is loaded and ready to get &amp;quot;hacked&amp;quot;. Since everything run at your local machine you can not harm anyone. The data such as &amp;quot;User Data&amp;quot; are stored in a Database which you set up when you install the Application (see Installation for more Information).&lt;br /&gt;
&lt;br /&gt;
[[File:Muti-Dropdown.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== A1 SQL Injection Example ===&lt;br /&gt;
[[SQL_Injection]]-&amp;gt; SQLi Extract Data&lt;br /&gt;
&lt;br /&gt;
Now here is a short example how one vulnerability exploit could look like. In this case there is a query where user can request their userinformation by providing their credentials.&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-login.png]]&lt;br /&gt;
&lt;br /&gt;
Normally the query should only retrun only on record when correct credentials are entered.&lt;br /&gt;
&lt;br /&gt;
But this website is totally unsecure so we can easily rewrite the SQL query to give us a list of every user in the database. But how can we do this?&lt;br /&gt;
&lt;br /&gt;
==Step 1:==&lt;br /&gt;
get an Exception by typing in invalid characters such as (&#039;, #, --)&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Exception.png]]&lt;br /&gt;
&lt;br /&gt;
===Step 2:===&lt;br /&gt;
&lt;br /&gt;
Since we got an error message with the syntax how the sql statement is written we can alter the statement by simply put another statement in the form.&lt;br /&gt;
&lt;br /&gt;
In this case i wrote ’OR 1# in the username fields to alter the query which should be now&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM acccounts where username= ’ ’OR 1# AND password = ’’&lt;br /&gt;
&lt;br /&gt;
1 means true in SQL language and # is a comment so it ignores the password query. So our SQL String says now that it should gives as all datasets for which the condition is true which lead to following output:&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Extract-Data.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Cross-Site-Request_Forgery_(CSRF)]]-&amp;gt; Cross-Site-Request Forgery&lt;br /&gt;
This example can be found in the A5 section from the Owasp Top 10 examples, which is called &#039;Add to your blog&#039;.&lt;br /&gt;
Here we simulating an attack to vote for a security tool but without actually voting for it.&lt;br /&gt;
In the screenshot below you can see the site which we are attacking. So this site is basically the good site.&lt;br /&gt;
&lt;br /&gt;
[[File:UserPoll.PNG]]&lt;br /&gt;
&lt;br /&gt;
The evil site is in this case the &#039;Add to your blog&#039; site. Users can save a blog to a blog table. An attacker can you use this mechanism to manipulate a blog to fire an action.&lt;br /&gt;
Instead of a normal blog you can also add a script to the blog table. This script calls a method when you hover over the blog and it redirects to the voting site and votes for a security tool.&lt;br /&gt;
&lt;br /&gt;
[[File:Blogs.PNG]]&lt;br /&gt;
&lt;br /&gt;
The script can be found on the official github website for Mutillidae https://github.com/webpwnized/mutillidae/blob/master/labs/lab-files/cross-site-request-forgery-lab-files/vote-for-nmap-onmouseover-csrf.txt&lt;br /&gt;
This script creates a form object in the background and sets some specific fields. Those fields are being sent over the URL to the voting site.&lt;br /&gt;
Because how the site is constructed, it reads the parameter from the url to decide which security tool should be voted. This means that the form object consists of some input fields and those input fields contain some values.&lt;br /&gt;
One input field is responsible for redirecting to the voting site. The other one is setting the value for security tool. A form also should have a submit button which is also set with the input fields.&lt;br /&gt;
This whole script is contained in a method. This method gets fired when you hover over the mouse. You basically save a html tag with the name of the blog but this html tag calls the method which is containing the malicious script.&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* over 40 vulnerabilities (OWASP Top Ten 2007, 2010, 2013 and 2017[https://owasp.org/www-project-top-ten/])&lt;br /&gt;
* Actually Vulnerable&lt;br /&gt;
* Simple Intallation and Maintaining&lt;br /&gt;
* User can switch between 3 security levels (no security, Client-side Security, Server-side Security)&lt;br /&gt;
* Used in web security courses&lt;br /&gt;
* Tutorials and Guides included in Application&lt;br /&gt;
* Updated frequently&lt;br /&gt;
&lt;br /&gt;
== Interface ==&lt;br /&gt;
[[File:Mutillidae-Interface.png]]&lt;br /&gt;
&lt;br /&gt;
By clicking on any Item on the right dropdown menu, you can select any of the OWASP Top Ten Challanges from the last 15 years.&lt;br /&gt;
&lt;br /&gt;
* Hints and Videos - leads you directly to a structured guide how the exercise could be completed.&lt;br /&gt;
* Toggle Security - you can choose between 3 Security levels for each exercise&lt;br /&gt;
* Reset DB - Clear all user Data &lt;br /&gt;
* Labs - Study Questions associated with the Exercises&lt;br /&gt;
&lt;br /&gt;
== Examples of Vulnerabilities ==&lt;br /&gt;
&lt;br /&gt;
* SQL Injections (SQLi)[https://wiki.elvis.science/index.php?title=SQL_Injection]&lt;br /&gt;
* Cross-Site-Scripting [https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)]&lt;br /&gt;
* Sensitive Data Exposure&lt;br /&gt;
* other Injection (CSS, HTML, JavaScript)&lt;br /&gt;
* and many more...&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Apache Webserver&lt;br /&gt;
* Database (MySQL/MariaDb)&lt;br /&gt;
* Packages: Sourcecode from git (https://github.com/webpwnized/mutillidae)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install Apache Webserver on your local Machine&lt;br /&gt;
* Install PHP on your local Machine&lt;br /&gt;
* Install a supported Database (e.g. MySQL, MariaDB)&lt;br /&gt;
* Install Metasploit, it includes everything you need to run mutillidae&lt;br /&gt;
&lt;br /&gt;
If you have a XAMPP/LAMPP stack set up aleady, you might skip directly to installing Mutillidae.&lt;br /&gt;
There are Videos from the creator which gives a [https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae ===&lt;br /&gt;
&lt;br /&gt;
Head to the Folder where Websites are stored in Apache Webserver this could be the &amp;quot;htdocs&amp;quot; folder under XAMPP or if manually installed under a linux distribution this might be the folder &amp;quot;/var/www/html/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download the Repository from github (see [[#Requirements]]) and copy the contents of the Repository into the Webservers folder. After these steps go on your localhost webpage and make sure you can access Mutillidae Webinterface&lt;br /&gt;
&lt;br /&gt;
To see if the database is correctly installed press the &amp;quot;Reset DB&amp;quot; Button on the Webinterface. If you see the Message that no PHP or SQL errors were detected when resseting the database, the intallation of mutillidae succeded.&lt;br /&gt;
[[File:Mutllidae-no-errors.png]]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae with Metasploit ===&lt;br /&gt;
A different method for installing Mutillidae is to install Metasploit. Metasploit is a penetration testing software which inlcudes everything you need to set up and run Mutillidae.&lt;br /&gt;
This means that you don&#039;t have to install all the other components you need for example a database, because Metasploit is doing this for.&lt;br /&gt;
After installing you can use the credentials msfadmin for the username and password in order to login into Metasploit.&lt;br /&gt;
When Metasploit is running Mutillidae is also accessible and for that you use the ip address of the machine where Metasploit is running on.&lt;br /&gt;
To look up the ip address you can use the &#039;ip a&#039; command in the CLI to find the ip address.&lt;br /&gt;
Sometimes it happens that Mutillidae cannot access the database. This problem occurs when the database name in the config file is not set.&lt;br /&gt;
To fix this problem you have to navigate to this config file which is found in this destination &#039;/var/www/mutillidae/config.inc&#039;.&lt;br /&gt;
In this config file you change the value of the variable called &#039;$dbname&#039; to &#039;owasp10&#039;. After this configuration Mutillidae can access the database.&lt;br /&gt;
&lt;br /&gt;
[[File:Config.PNG]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://owasp.org/www-project-top-ten/&lt;br /&gt;
* https://github.com/webpwnized/mutillidae&lt;br /&gt;
* https://www.youtube.com/c/webpwnized/featured&lt;br /&gt;
* https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial&lt;br /&gt;
&lt;br /&gt;
Internal Links&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection_Examples_on_Known_Vulnerable_Web_Applications&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10896</id>
		<title>OWASP Mutillidae (2021)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10896"/>
		<updated>2023-01-08T12:25:14Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: /* Practical examples */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
OWASP Mutillidae is a free open source tool created for Pentesting of Web Applications. It is a &amp;quot;Vulnerable Web Application&amp;quot; that offers a Platform where the provided Exploits and Security flaws can be executed within a local environment. With over 40 different vulnerabilities and related training challenges, it provides a platform that shows the most common flaws of the last 15 years of web development. The vulnerabilities shown in the program are actual vulnerabilities within the application, so the application should only be run in a protected environment - such as a virtual machine. The current Version Mutillidae II was created by Jeremy Druin [https://www.youtube.com/c/webpwnized/featured] (pseudonym: webpwnized), who also created the Tutorials for the Challanges and Installation Guides. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How it Operates ==&lt;br /&gt;
&lt;br /&gt;
Every Vulnerability contained in the application is build in within a Webpage. By selecting the Exploit from a List (e.g. Authentication Bypass) a site with the corresponding explotable Webpage is loaded and ready to get &amp;quot;hacked&amp;quot;. Since everything run at your local machine you can not harm anyone. The data such as &amp;quot;User Data&amp;quot; are stored in a Database which you set up when you install the Application (see Installation for more Information).&lt;br /&gt;
&lt;br /&gt;
[[File:Muti-Dropdown.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== A1 SQL Injection Example ===&lt;br /&gt;
[[SQL_Injection]]-&amp;gt; SQLi Extract Data&lt;br /&gt;
&lt;br /&gt;
Now here is a short example how one vulnerability exploit could look like. In this case there is a query where user can request their userinformation by providing their credentials.&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-login.png]]&lt;br /&gt;
&lt;br /&gt;
Normally the query should only retrun only on record when correct credentials are entered.&lt;br /&gt;
&lt;br /&gt;
But this website is totally unsecure so we can easily rewrite the SQL query to give us a list of every user in the database. But how can we do this?&lt;br /&gt;
&lt;br /&gt;
==Step 1:==&lt;br /&gt;
get an Exception by typing in invalid characters such as (&#039;, #, --)&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Exception.png]]&lt;br /&gt;
&lt;br /&gt;
==Step 2:==&lt;br /&gt;
&lt;br /&gt;
Since we got an error message with the syntax how the sql statement is written we can alter the statement by simply put another statement in the form.&lt;br /&gt;
&lt;br /&gt;
In this case i wrote ’OR 1# in the username fields to alter the query which should be now&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM acccounts where username= ’ ’OR 1# AND password = ’’&lt;br /&gt;
&lt;br /&gt;
1 means true in SQL language and # is a comment so it ignores the password query. So our SQL String says now that it should gives as all datasets for which the condition is true which lead to following output:&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Extract-Data.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Cross-Site-Request_Forgery_(CSRF)]]-&amp;gt; Cross-Site-Request Forgery&lt;br /&gt;
This example can be found in the A5 section from the Owasp Top 10 examples, which is called &#039;Add to your blog&#039;.&lt;br /&gt;
Here we simulating an attack to vote for a security tool but without actually voting for it.&lt;br /&gt;
In the screenshot below you can see the site which we are attacking. So this site is basically the good site.&lt;br /&gt;
&lt;br /&gt;
[[File:UserPoll.PNG]]&lt;br /&gt;
&lt;br /&gt;
The evil site is in this case the &#039;Add to your blog&#039; site. Users can save a blog to a blog table. An attacker can you use this mechanism to manipulate a blog to fire an action.&lt;br /&gt;
Instead of a normal blog you can also add a script to the blog table. This script calls a method when you hover over the blog and it redirects to the voting site and votes for a security tool.&lt;br /&gt;
&lt;br /&gt;
[[File:Blogs.PNG]]&lt;br /&gt;
&lt;br /&gt;
The script can be found on the official github website for Mutillidae https://github.com/webpwnized/mutillidae/blob/master/labs/lab-files/cross-site-request-forgery-lab-files/vote-for-nmap-onmouseover-csrf.txt&lt;br /&gt;
This script creates a form object in the background and sets some specific fields. Those fields are being sent over the URL to the voting site.&lt;br /&gt;
Because how the site is constructed, it reads the parameter from the url to decide which security tool should be voted. This means that the form object consists of some input fields and those input fields contain some values.&lt;br /&gt;
One input field is responsible for redirecting to the voting site. The other one is setting the value for security tool. A form also should have a submit button which is also set with the input fields.&lt;br /&gt;
This whole script is contained in a method. This method gets fired when you hover over the mouse. You basically save a html tag with the name of the blog but this html tag calls the method which is containing the malicious script.&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* over 40 vulnerabilities (OWASP Top Ten 2007, 2010, 2013 and 2017[https://owasp.org/www-project-top-ten/])&lt;br /&gt;
* Actually Vulnerable&lt;br /&gt;
* Simple Intallation and Maintaining&lt;br /&gt;
* User can switch between 3 security levels (no security, Client-side Security, Server-side Security)&lt;br /&gt;
* Used in web security courses&lt;br /&gt;
* Tutorials and Guides included in Application&lt;br /&gt;
* Updated frequently&lt;br /&gt;
&lt;br /&gt;
== Interface ==&lt;br /&gt;
[[File:Mutillidae-Interface.png]]&lt;br /&gt;
&lt;br /&gt;
By clicking on any Item on the right dropdown menu, you can select any of the OWASP Top Ten Challanges from the last 15 years.&lt;br /&gt;
&lt;br /&gt;
* Hints and Videos - leads you directly to a structured guide how the exercise could be completed.&lt;br /&gt;
* Toggle Security - you can choose between 3 Security levels for each exercise&lt;br /&gt;
* Reset DB - Clear all user Data &lt;br /&gt;
* Labs - Study Questions associated with the Exercises&lt;br /&gt;
&lt;br /&gt;
== Examples of Vulnerabilities ==&lt;br /&gt;
&lt;br /&gt;
* SQL Injections (SQLi)[https://wiki.elvis.science/index.php?title=SQL_Injection]&lt;br /&gt;
* Cross-Site-Scripting [https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)]&lt;br /&gt;
* Sensitive Data Exposure&lt;br /&gt;
* other Injection (CSS, HTML, JavaScript)&lt;br /&gt;
* and many more...&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Apache Webserver&lt;br /&gt;
* Database (MySQL/MariaDb)&lt;br /&gt;
* Packages: Sourcecode from git (https://github.com/webpwnized/mutillidae)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install Apache Webserver on your local Machine&lt;br /&gt;
* Install PHP on your local Machine&lt;br /&gt;
* Install a supported Database (e.g. MySQL, MariaDB)&lt;br /&gt;
* Install Metasploit, it includes everything you need to run mutillidae&lt;br /&gt;
&lt;br /&gt;
If you have a XAMPP/LAMPP stack set up aleady, you might skip directly to installing Mutillidae.&lt;br /&gt;
There are Videos from the creator which gives a [https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae ===&lt;br /&gt;
&lt;br /&gt;
Head to the Folder where Websites are stored in Apache Webserver this could be the &amp;quot;htdocs&amp;quot; folder under XAMPP or if manually installed under a linux distribution this might be the folder &amp;quot;/var/www/html/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download the Repository from github (see [[#Requirements]]) and copy the contents of the Repository into the Webservers folder. After these steps go on your localhost webpage and make sure you can access Mutillidae Webinterface&lt;br /&gt;
&lt;br /&gt;
To see if the database is correctly installed press the &amp;quot;Reset DB&amp;quot; Button on the Webinterface. If you see the Message that no PHP or SQL errors were detected when resseting the database, the intallation of mutillidae succeded.&lt;br /&gt;
[[File:Mutllidae-no-errors.png]]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae with Metasploit ===&lt;br /&gt;
A different method for installing Mutillidae is to install Metasploit. Metasploit is a penetration testing software which inlcudes everything you need to set up and run Mutillidae.&lt;br /&gt;
This means that you don&#039;t have to install all the other components you need for example a database, because Metasploit is doing this for.&lt;br /&gt;
After installing you can use the credentials msfadmin for the username and password in order to login into Metasploit.&lt;br /&gt;
When Metasploit is running Mutillidae is also accessible and for that you use the ip address of the machine where Metasploit is running on.&lt;br /&gt;
To look up the ip address you can use the &#039;ip a&#039; command in the CLI to find the ip address.&lt;br /&gt;
Sometimes it happens that Mutillidae cannot access the database. This problem occurs when the database name in the config file is not set.&lt;br /&gt;
To fix this problem you have to navigate to this config file which is found in this destination &#039;/var/www/mutillidae/config.inc&#039;.&lt;br /&gt;
In this config file you change the value of the variable called &#039;$dbname&#039; to &#039;owasp10&#039;. After this configuration Mutillidae can access the database.&lt;br /&gt;
&lt;br /&gt;
[[File:Config.PNG]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://owasp.org/www-project-top-ten/&lt;br /&gt;
* https://github.com/webpwnized/mutillidae&lt;br /&gt;
* https://www.youtube.com/c/webpwnized/featured&lt;br /&gt;
* https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial&lt;br /&gt;
&lt;br /&gt;
Internal Links&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection_Examples_on_Known_Vulnerable_Web_Applications&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10895</id>
		<title>OWASP Mutillidae (2021)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10895"/>
		<updated>2023-01-08T12:24:38Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: /* Step 2: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
OWASP Mutillidae is a free open source tool created for Pentesting of Web Applications. It is a &amp;quot;Vulnerable Web Application&amp;quot; that offers a Platform where the provided Exploits and Security flaws can be executed within a local environment. With over 40 different vulnerabilities and related training challenges, it provides a platform that shows the most common flaws of the last 15 years of web development. The vulnerabilities shown in the program are actual vulnerabilities within the application, so the application should only be run in a protected environment - such as a virtual machine. The current Version Mutillidae II was created by Jeremy Druin [https://www.youtube.com/c/webpwnized/featured] (pseudonym: webpwnized), who also created the Tutorials for the Challanges and Installation Guides. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How it Operates ==&lt;br /&gt;
&lt;br /&gt;
Every Vulnerability contained in the application is build in within a Webpage. By selecting the Exploit from a List (e.g. Authentication Bypass) a site with the corresponding explotable Webpage is loaded and ready to get &amp;quot;hacked&amp;quot;. Since everything run at your local machine you can not harm anyone. The data such as &amp;quot;User Data&amp;quot; are stored in a Database which you set up when you install the Application (see Installation for more Information).&lt;br /&gt;
&lt;br /&gt;
[[File:Muti-Dropdown.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Practical examples ===&lt;br /&gt;
[[SQL_Injection]]-&amp;gt; SQLi Extract Data&lt;br /&gt;
&lt;br /&gt;
Now here is a short example how one vulnerability exploit could look like. In this case there is a query where user can request their userinformation by providing their credentials.&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-login.png]]&lt;br /&gt;
&lt;br /&gt;
Normally the query should only retrun only on record when correct credentials are entered.&lt;br /&gt;
&lt;br /&gt;
But this website is totally unsecure so we can easily rewrite the SQL query to give us a list of every user in the database. But how can we do this?&lt;br /&gt;
&lt;br /&gt;
==Step 1:==&lt;br /&gt;
get an Exception by typing in invalid characters such as (&#039;, #, --)&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Exception.png]]&lt;br /&gt;
&lt;br /&gt;
==Step 2:==&lt;br /&gt;
&lt;br /&gt;
Since we got an error message with the syntax how the sql statement is written we can alter the statement by simply put another statement in the form.&lt;br /&gt;
&lt;br /&gt;
In this case i wrote ’OR 1# in the username fields to alter the query which should be now&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM acccounts where username= ’ ’OR 1# AND password = ’’&lt;br /&gt;
&lt;br /&gt;
1 means true in SQL language and # is a comment so it ignores the password query. So our SQL String says now that it should gives as all datasets for which the condition is true which lead to following output:&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Extract-Data.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Cross-Site-Request_Forgery_(CSRF)]]-&amp;gt; Cross-Site-Request Forgery&lt;br /&gt;
This example can be found in the A5 section from the Owasp Top 10 examples, which is called &#039;Add to your blog&#039;.&lt;br /&gt;
Here we simulating an attack to vote for a security tool but without actually voting for it.&lt;br /&gt;
In the screenshot below you can see the site which we are attacking. So this site is basically the good site.&lt;br /&gt;
&lt;br /&gt;
[[File:UserPoll.PNG]]&lt;br /&gt;
&lt;br /&gt;
The evil site is in this case the &#039;Add to your blog&#039; site. Users can save a blog to a blog table. An attacker can you use this mechanism to manipulate a blog to fire an action.&lt;br /&gt;
Instead of a normal blog you can also add a script to the blog table. This script calls a method when you hover over the blog and it redirects to the voting site and votes for a security tool.&lt;br /&gt;
&lt;br /&gt;
[[File:Blogs.PNG]]&lt;br /&gt;
&lt;br /&gt;
The script can be found on the official github website for Mutillidae https://github.com/webpwnized/mutillidae/blob/master/labs/lab-files/cross-site-request-forgery-lab-files/vote-for-nmap-onmouseover-csrf.txt&lt;br /&gt;
This script creates a form object in the background and sets some specific fields. Those fields are being sent over the URL to the voting site.&lt;br /&gt;
Because how the site is constructed, it reads the parameter from the url to decide which security tool should be voted. This means that the form object consists of some input fields and those input fields contain some values.&lt;br /&gt;
One input field is responsible for redirecting to the voting site. The other one is setting the value for security tool. A form also should have a submit button which is also set with the input fields.&lt;br /&gt;
This whole script is contained in a method. This method gets fired when you hover over the mouse. You basically save a html tag with the name of the blog but this html tag calls the method which is containing the malicious script.&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* over 40 vulnerabilities (OWASP Top Ten 2007, 2010, 2013 and 2017[https://owasp.org/www-project-top-ten/])&lt;br /&gt;
* Actually Vulnerable&lt;br /&gt;
* Simple Intallation and Maintaining&lt;br /&gt;
* User can switch between 3 security levels (no security, Client-side Security, Server-side Security)&lt;br /&gt;
* Used in web security courses&lt;br /&gt;
* Tutorials and Guides included in Application&lt;br /&gt;
* Updated frequently&lt;br /&gt;
&lt;br /&gt;
== Interface ==&lt;br /&gt;
[[File:Mutillidae-Interface.png]]&lt;br /&gt;
&lt;br /&gt;
By clicking on any Item on the right dropdown menu, you can select any of the OWASP Top Ten Challanges from the last 15 years.&lt;br /&gt;
&lt;br /&gt;
* Hints and Videos - leads you directly to a structured guide how the exercise could be completed.&lt;br /&gt;
* Toggle Security - you can choose between 3 Security levels for each exercise&lt;br /&gt;
* Reset DB - Clear all user Data &lt;br /&gt;
* Labs - Study Questions associated with the Exercises&lt;br /&gt;
&lt;br /&gt;
== Examples of Vulnerabilities ==&lt;br /&gt;
&lt;br /&gt;
* SQL Injections (SQLi)[https://wiki.elvis.science/index.php?title=SQL_Injection]&lt;br /&gt;
* Cross-Site-Scripting [https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)]&lt;br /&gt;
* Sensitive Data Exposure&lt;br /&gt;
* other Injection (CSS, HTML, JavaScript)&lt;br /&gt;
* and many more...&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Apache Webserver&lt;br /&gt;
* Database (MySQL/MariaDb)&lt;br /&gt;
* Packages: Sourcecode from git (https://github.com/webpwnized/mutillidae)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install Apache Webserver on your local Machine&lt;br /&gt;
* Install PHP on your local Machine&lt;br /&gt;
* Install a supported Database (e.g. MySQL, MariaDB)&lt;br /&gt;
* Install Metasploit, it includes everything you need to run mutillidae&lt;br /&gt;
&lt;br /&gt;
If you have a XAMPP/LAMPP stack set up aleady, you might skip directly to installing Mutillidae.&lt;br /&gt;
There are Videos from the creator which gives a [https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae ===&lt;br /&gt;
&lt;br /&gt;
Head to the Folder where Websites are stored in Apache Webserver this could be the &amp;quot;htdocs&amp;quot; folder under XAMPP or if manually installed under a linux distribution this might be the folder &amp;quot;/var/www/html/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download the Repository from github (see [[#Requirements]]) and copy the contents of the Repository into the Webservers folder. After these steps go on your localhost webpage and make sure you can access Mutillidae Webinterface&lt;br /&gt;
&lt;br /&gt;
To see if the database is correctly installed press the &amp;quot;Reset DB&amp;quot; Button on the Webinterface. If you see the Message that no PHP or SQL errors were detected when resseting the database, the intallation of mutillidae succeded.&lt;br /&gt;
[[File:Mutllidae-no-errors.png]]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae with Metasploit ===&lt;br /&gt;
A different method for installing Mutillidae is to install Metasploit. Metasploit is a penetration testing software which inlcudes everything you need to set up and run Mutillidae.&lt;br /&gt;
This means that you don&#039;t have to install all the other components you need for example a database, because Metasploit is doing this for.&lt;br /&gt;
After installing you can use the credentials msfadmin for the username and password in order to login into Metasploit.&lt;br /&gt;
When Metasploit is running Mutillidae is also accessible and for that you use the ip address of the machine where Metasploit is running on.&lt;br /&gt;
To look up the ip address you can use the &#039;ip a&#039; command in the CLI to find the ip address.&lt;br /&gt;
Sometimes it happens that Mutillidae cannot access the database. This problem occurs when the database name in the config file is not set.&lt;br /&gt;
To fix this problem you have to navigate to this config file which is found in this destination &#039;/var/www/mutillidae/config.inc&#039;.&lt;br /&gt;
In this config file you change the value of the variable called &#039;$dbname&#039; to &#039;owasp10&#039;. After this configuration Mutillidae can access the database.&lt;br /&gt;
&lt;br /&gt;
[[File:Config.PNG]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://owasp.org/www-project-top-ten/&lt;br /&gt;
* https://github.com/webpwnized/mutillidae&lt;br /&gt;
* https://www.youtube.com/c/webpwnized/featured&lt;br /&gt;
* https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial&lt;br /&gt;
&lt;br /&gt;
Internal Links&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection_Examples_on_Known_Vulnerable_Web_Applications&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10894</id>
		<title>OWASP Mutillidae (2021)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10894"/>
		<updated>2023-01-08T12:22:19Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: /* Step 2: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
OWASP Mutillidae is a free open source tool created for Pentesting of Web Applications. It is a &amp;quot;Vulnerable Web Application&amp;quot; that offers a Platform where the provided Exploits and Security flaws can be executed within a local environment. With over 40 different vulnerabilities and related training challenges, it provides a platform that shows the most common flaws of the last 15 years of web development. The vulnerabilities shown in the program are actual vulnerabilities within the application, so the application should only be run in a protected environment - such as a virtual machine. The current Version Mutillidae II was created by Jeremy Druin [https://www.youtube.com/c/webpwnized/featured] (pseudonym: webpwnized), who also created the Tutorials for the Challanges and Installation Guides. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How it Operates ==&lt;br /&gt;
&lt;br /&gt;
Every Vulnerability contained in the application is build in within a Webpage. By selecting the Exploit from a List (e.g. Authentication Bypass) a site with the corresponding explotable Webpage is loaded and ready to get &amp;quot;hacked&amp;quot;. Since everything run at your local machine you can not harm anyone. The data such as &amp;quot;User Data&amp;quot; are stored in a Database which you set up when you install the Application (see Installation for more Information).&lt;br /&gt;
&lt;br /&gt;
[[File:Muti-Dropdown.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Practical examples ===&lt;br /&gt;
[[SQL_Injection]]-&amp;gt; SQLi Extract Data&lt;br /&gt;
&lt;br /&gt;
Now here is a short example how one vulnerability exploit could look like. In this case there is a query where user can request their userinformation by providing their credentials.&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-login.png]]&lt;br /&gt;
&lt;br /&gt;
Normally the query should only retrun only on record when correct credentials are entered.&lt;br /&gt;
&lt;br /&gt;
But this website is totally unsecure so we can easily rewrite the SQL query to give us a list of every user in the database. But how can we do this?&lt;br /&gt;
&lt;br /&gt;
==Step 1:==&lt;br /&gt;
get an Exception by typing in invalid characters such as (&#039;, #, --)&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Exception.png]]&lt;br /&gt;
&lt;br /&gt;
==Step 2:==&lt;br /&gt;
&lt;br /&gt;
Since we got an error message with the syntax how the sql statement is written we can alter the statement by simply put another statement in the form.&lt;br /&gt;
&lt;br /&gt;
In this case i wrote ’OR 1# in the username fields to alter the query which should be now&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM acccounts where username= ’ ’OR 1# AND password = ’’&lt;br /&gt;
&lt;br /&gt;
1 means true in SQL language and # is a comment so it ignores the password query. So our SQL String says now that it should gives as all datasets for which the condition is true which lead to following output:&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Extract-Data.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Cross-Site-Request_Forgery_(CSRF)]]-&amp;gt; Cross-Site-Request Forgery&lt;br /&gt;
This example can be found in the A5 section from the Owasp Top 10 examples, which is called &#039;Add to your blog&#039;.&lt;br /&gt;
Here we simulating an attack to vote for a security tool but without actually voting for it.&lt;br /&gt;
In the screenshot below you can see the site which we are attacking. So this site is basically the good site.&lt;br /&gt;
&lt;br /&gt;
[[File:UserPoll.PNG]]&lt;br /&gt;
&lt;br /&gt;
The evil site is in this case the &#039;Add to your blog&#039; site. Users can save a blog to a blog table. An attacker can you use this mechanism to manipulate a blog to fire an action.&lt;br /&gt;
Instead of a normal blog you can also add a script to the blog table. This script calls a method when you hover over the blog and it redirects to the voting site and votes for a security tool.&lt;br /&gt;
&lt;br /&gt;
[[File:Blogs.PNG]]&lt;br /&gt;
&lt;br /&gt;
The script can be found on the official github website for Mutillidae https://github.com/webpwnized/mutillidae/blob/master/labs/lab-files/cross-site-request-forgery-lab-files/vote-for-nmap-onmouseover-csrf.txt&lt;br /&gt;
This script creates a form object in the background and sets some specific fields. Those fields are being sent over the URL to the voting site.&lt;br /&gt;
Because how the site is constructed, it reads the parameter from the url to decide which security tool should be voted. This means that the form object consists of some input fields and those input fields contain some values.&lt;br /&gt;
One input field is responsible for redirecting to the voting site. The other one is setting the value for security tool. A form also should have a submit button which is also set with the input fields.&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* over 40 vulnerabilities (OWASP Top Ten 2007, 2010, 2013 and 2017[https://owasp.org/www-project-top-ten/])&lt;br /&gt;
* Actually Vulnerable&lt;br /&gt;
* Simple Intallation and Maintaining&lt;br /&gt;
* User can switch between 3 security levels (no security, Client-side Security, Server-side Security)&lt;br /&gt;
* Used in web security courses&lt;br /&gt;
* Tutorials and Guides included in Application&lt;br /&gt;
* Updated frequently&lt;br /&gt;
&lt;br /&gt;
== Interface ==&lt;br /&gt;
[[File:Mutillidae-Interface.png]]&lt;br /&gt;
&lt;br /&gt;
By clicking on any Item on the right dropdown menu, you can select any of the OWASP Top Ten Challanges from the last 15 years.&lt;br /&gt;
&lt;br /&gt;
* Hints and Videos - leads you directly to a structured guide how the exercise could be completed.&lt;br /&gt;
* Toggle Security - you can choose between 3 Security levels for each exercise&lt;br /&gt;
* Reset DB - Clear all user Data &lt;br /&gt;
* Labs - Study Questions associated with the Exercises&lt;br /&gt;
&lt;br /&gt;
== Examples of Vulnerabilities ==&lt;br /&gt;
&lt;br /&gt;
* SQL Injections (SQLi)[https://wiki.elvis.science/index.php?title=SQL_Injection]&lt;br /&gt;
* Cross-Site-Scripting [https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)]&lt;br /&gt;
* Sensitive Data Exposure&lt;br /&gt;
* other Injection (CSS, HTML, JavaScript)&lt;br /&gt;
* and many more...&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Apache Webserver&lt;br /&gt;
* Database (MySQL/MariaDb)&lt;br /&gt;
* Packages: Sourcecode from git (https://github.com/webpwnized/mutillidae)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install Apache Webserver on your local Machine&lt;br /&gt;
* Install PHP on your local Machine&lt;br /&gt;
* Install a supported Database (e.g. MySQL, MariaDB)&lt;br /&gt;
* Install Metasploit, it includes everything you need to run mutillidae&lt;br /&gt;
&lt;br /&gt;
If you have a XAMPP/LAMPP stack set up aleady, you might skip directly to installing Mutillidae.&lt;br /&gt;
There are Videos from the creator which gives a [https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae ===&lt;br /&gt;
&lt;br /&gt;
Head to the Folder where Websites are stored in Apache Webserver this could be the &amp;quot;htdocs&amp;quot; folder under XAMPP or if manually installed under a linux distribution this might be the folder &amp;quot;/var/www/html/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download the Repository from github (see [[#Requirements]]) and copy the contents of the Repository into the Webservers folder. After these steps go on your localhost webpage and make sure you can access Mutillidae Webinterface&lt;br /&gt;
&lt;br /&gt;
To see if the database is correctly installed press the &amp;quot;Reset DB&amp;quot; Button on the Webinterface. If you see the Message that no PHP or SQL errors were detected when resseting the database, the intallation of mutillidae succeded.&lt;br /&gt;
[[File:Mutllidae-no-errors.png]]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae with Metasploit ===&lt;br /&gt;
A different method for installing Mutillidae is to install Metasploit. Metasploit is a penetration testing software which inlcudes everything you need to set up and run Mutillidae.&lt;br /&gt;
This means that you don&#039;t have to install all the other components you need for example a database, because Metasploit is doing this for.&lt;br /&gt;
After installing you can use the credentials msfadmin for the username and password in order to login into Metasploit.&lt;br /&gt;
When Metasploit is running Mutillidae is also accessible and for that you use the ip address of the machine where Metasploit is running on.&lt;br /&gt;
To look up the ip address you can use the &#039;ip a&#039; command in the CLI to find the ip address.&lt;br /&gt;
Sometimes it happens that Mutillidae cannot access the database. This problem occurs when the database name in the config file is not set.&lt;br /&gt;
To fix this problem you have to navigate to this config file which is found in this destination &#039;/var/www/mutillidae/config.inc&#039;.&lt;br /&gt;
In this config file you change the value of the variable called &#039;$dbname&#039; to &#039;owasp10&#039;. After this configuration Mutillidae can access the database.&lt;br /&gt;
&lt;br /&gt;
[[File:Config.PNG]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://owasp.org/www-project-top-ten/&lt;br /&gt;
* https://github.com/webpwnized/mutillidae&lt;br /&gt;
* https://www.youtube.com/c/webpwnized/featured&lt;br /&gt;
* https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial&lt;br /&gt;
&lt;br /&gt;
Internal Links&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection_Examples_on_Known_Vulnerable_Web_Applications&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10893</id>
		<title>OWASP Mutillidae (2021)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10893"/>
		<updated>2023-01-08T12:17:11Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: /* Step 2: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
OWASP Mutillidae is a free open source tool created for Pentesting of Web Applications. It is a &amp;quot;Vulnerable Web Application&amp;quot; that offers a Platform where the provided Exploits and Security flaws can be executed within a local environment. With over 40 different vulnerabilities and related training challenges, it provides a platform that shows the most common flaws of the last 15 years of web development. The vulnerabilities shown in the program are actual vulnerabilities within the application, so the application should only be run in a protected environment - such as a virtual machine. The current Version Mutillidae II was created by Jeremy Druin [https://www.youtube.com/c/webpwnized/featured] (pseudonym: webpwnized), who also created the Tutorials for the Challanges and Installation Guides. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How it Operates ==&lt;br /&gt;
&lt;br /&gt;
Every Vulnerability contained in the application is build in within a Webpage. By selecting the Exploit from a List (e.g. Authentication Bypass) a site with the corresponding explotable Webpage is loaded and ready to get &amp;quot;hacked&amp;quot;. Since everything run at your local machine you can not harm anyone. The data such as &amp;quot;User Data&amp;quot; are stored in a Database which you set up when you install the Application (see Installation for more Information).&lt;br /&gt;
&lt;br /&gt;
[[File:Muti-Dropdown.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Practical examples ===&lt;br /&gt;
[[SQL_Injection]]-&amp;gt; SQLi Extract Data&lt;br /&gt;
&lt;br /&gt;
Now here is a short example how one vulnerability exploit could look like. In this case there is a query where user can request their userinformation by providing their credentials.&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-login.png]]&lt;br /&gt;
&lt;br /&gt;
Normally the query should only retrun only on record when correct credentials are entered.&lt;br /&gt;
&lt;br /&gt;
But this website is totally unsecure so we can easily rewrite the SQL query to give us a list of every user in the database. But how can we do this?&lt;br /&gt;
&lt;br /&gt;
==Step 1:==&lt;br /&gt;
get an Exception by typing in invalid characters such as (&#039;, #, --)&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Exception.png]]&lt;br /&gt;
&lt;br /&gt;
==Step 2:==&lt;br /&gt;
&lt;br /&gt;
Since we got an error message with the syntax how the sql statement is written we can alter the statement by simply put another statement in the form.&lt;br /&gt;
&lt;br /&gt;
In this case i wrote ’OR 1# in the username fields to alter the query which should be now&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM acccounts where username= ’ ’OR 1# AND password = ’’&lt;br /&gt;
&lt;br /&gt;
1 means true in SQL language and # is a comment so it ignores the password query. So our SQL String says now that it should gives as all datasets for which the condition is true which lead to following output:&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Extract-Data.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Cross-Site-Request_Forgery_(CSRF)]]-&amp;gt; Cross-Site-Request Forgery&lt;br /&gt;
This example can be found in the A5 section from the Owasp Top 10 examples, which is called &#039;Add to your blog&#039;.&lt;br /&gt;
Here we simulating an attack to vote for a security tool but without actually voting for it.&lt;br /&gt;
In the screenshot below you can see the site which we are attacking. So this site is basically the good site.&lt;br /&gt;
&lt;br /&gt;
[[File:UserPoll.PNG]]&lt;br /&gt;
&lt;br /&gt;
The evil site is in this case the &#039;Add to your blog&#039; site. Users can save a blog to a blog table. An attacker can you use this mechanism to manipulate a blog to fire an action.&lt;br /&gt;
Instead of a normal blog you can also add a script to the blog table. This script calls a method when you hover over the blog and it redirects to the voting site and votes for a security tool.&lt;br /&gt;
&lt;br /&gt;
[[File:Blogs.PNG]]&lt;br /&gt;
&lt;br /&gt;
The script can be found on the official github website for Mutillidae https://github.com/webpwnized/mutillidae/blob/master/labs/lab-files/cross-site-request-forgery-lab-files/vote-for-nmap-onmouseover-csrf.txt&lt;br /&gt;
This script creates a form object in the background and sets some specific fields to vote for a security tool.&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* over 40 vulnerabilities (OWASP Top Ten 2007, 2010, 2013 and 2017[https://owasp.org/www-project-top-ten/])&lt;br /&gt;
* Actually Vulnerable&lt;br /&gt;
* Simple Intallation and Maintaining&lt;br /&gt;
* User can switch between 3 security levels (no security, Client-side Security, Server-side Security)&lt;br /&gt;
* Used in web security courses&lt;br /&gt;
* Tutorials and Guides included in Application&lt;br /&gt;
* Updated frequently&lt;br /&gt;
&lt;br /&gt;
== Interface ==&lt;br /&gt;
[[File:Mutillidae-Interface.png]]&lt;br /&gt;
&lt;br /&gt;
By clicking on any Item on the right dropdown menu, you can select any of the OWASP Top Ten Challanges from the last 15 years.&lt;br /&gt;
&lt;br /&gt;
* Hints and Videos - leads you directly to a structured guide how the exercise could be completed.&lt;br /&gt;
* Toggle Security - you can choose between 3 Security levels for each exercise&lt;br /&gt;
* Reset DB - Clear all user Data &lt;br /&gt;
* Labs - Study Questions associated with the Exercises&lt;br /&gt;
&lt;br /&gt;
== Examples of Vulnerabilities ==&lt;br /&gt;
&lt;br /&gt;
* SQL Injections (SQLi)[https://wiki.elvis.science/index.php?title=SQL_Injection]&lt;br /&gt;
* Cross-Site-Scripting [https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)]&lt;br /&gt;
* Sensitive Data Exposure&lt;br /&gt;
* other Injection (CSS, HTML, JavaScript)&lt;br /&gt;
* and many more...&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Apache Webserver&lt;br /&gt;
* Database (MySQL/MariaDb)&lt;br /&gt;
* Packages: Sourcecode from git (https://github.com/webpwnized/mutillidae)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install Apache Webserver on your local Machine&lt;br /&gt;
* Install PHP on your local Machine&lt;br /&gt;
* Install a supported Database (e.g. MySQL, MariaDB)&lt;br /&gt;
* Install Metasploit, it includes everything you need to run mutillidae&lt;br /&gt;
&lt;br /&gt;
If you have a XAMPP/LAMPP stack set up aleady, you might skip directly to installing Mutillidae.&lt;br /&gt;
There are Videos from the creator which gives a [https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae ===&lt;br /&gt;
&lt;br /&gt;
Head to the Folder where Websites are stored in Apache Webserver this could be the &amp;quot;htdocs&amp;quot; folder under XAMPP or if manually installed under a linux distribution this might be the folder &amp;quot;/var/www/html/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download the Repository from github (see [[#Requirements]]) and copy the contents of the Repository into the Webservers folder. After these steps go on your localhost webpage and make sure you can access Mutillidae Webinterface&lt;br /&gt;
&lt;br /&gt;
To see if the database is correctly installed press the &amp;quot;Reset DB&amp;quot; Button on the Webinterface. If you see the Message that no PHP or SQL errors were detected when resseting the database, the intallation of mutillidae succeded.&lt;br /&gt;
[[File:Mutllidae-no-errors.png]]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae with Metasploit ===&lt;br /&gt;
A different method for installing Mutillidae is to install Metasploit. Metasploit is a penetration testing software which inlcudes everything you need to set up and run Mutillidae.&lt;br /&gt;
This means that you don&#039;t have to install all the other components you need for example a database, because Metasploit is doing this for.&lt;br /&gt;
After installing you can use the credentials msfadmin for the username and password in order to login into Metasploit.&lt;br /&gt;
When Metasploit is running Mutillidae is also accessible and for that you use the ip address of the machine where Metasploit is running on.&lt;br /&gt;
To look up the ip address you can use the &#039;ip a&#039; command in the CLI to find the ip address.&lt;br /&gt;
Sometimes it happens that Mutillidae cannot access the database. This problem occurs when the database name in the config file is not set.&lt;br /&gt;
To fix this problem you have to navigate to this config file which is found in this destination &#039;/var/www/mutillidae/config.inc&#039;.&lt;br /&gt;
In this config file you change the value of the variable called &#039;$dbname&#039; to &#039;owasp10&#039;. After this configuration Mutillidae can access the database.&lt;br /&gt;
&lt;br /&gt;
[[File:Config.PNG]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://owasp.org/www-project-top-ten/&lt;br /&gt;
* https://github.com/webpwnized/mutillidae&lt;br /&gt;
* https://www.youtube.com/c/webpwnized/featured&lt;br /&gt;
* https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial&lt;br /&gt;
&lt;br /&gt;
Internal Links&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection_Examples_on_Known_Vulnerable_Web_Applications&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10892</id>
		<title>OWASP Mutillidae (2021)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10892"/>
		<updated>2023-01-08T12:15:01Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: /* Practical examples */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
OWASP Mutillidae is a free open source tool created for Pentesting of Web Applications. It is a &amp;quot;Vulnerable Web Application&amp;quot; that offers a Platform where the provided Exploits and Security flaws can be executed within a local environment. With over 40 different vulnerabilities and related training challenges, it provides a platform that shows the most common flaws of the last 15 years of web development. The vulnerabilities shown in the program are actual vulnerabilities within the application, so the application should only be run in a protected environment - such as a virtual machine. The current Version Mutillidae II was created by Jeremy Druin [https://www.youtube.com/c/webpwnized/featured] (pseudonym: webpwnized), who also created the Tutorials for the Challanges and Installation Guides. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How it Operates ==&lt;br /&gt;
&lt;br /&gt;
Every Vulnerability contained in the application is build in within a Webpage. By selecting the Exploit from a List (e.g. Authentication Bypass) a site with the corresponding explotable Webpage is loaded and ready to get &amp;quot;hacked&amp;quot;. Since everything run at your local machine you can not harm anyone. The data such as &amp;quot;User Data&amp;quot; are stored in a Database which you set up when you install the Application (see Installation for more Information).&lt;br /&gt;
&lt;br /&gt;
[[File:Muti-Dropdown.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Practical examples ===&lt;br /&gt;
[[SQL_Injection]]-&amp;gt; SQLi Extract Data&lt;br /&gt;
&lt;br /&gt;
Now here is a short example how one vulnerability exploit could look like. In this case there is a query where user can request their userinformation by providing their credentials.&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-login.png]]&lt;br /&gt;
&lt;br /&gt;
Normally the query should only retrun only on record when correct credentials are entered.&lt;br /&gt;
&lt;br /&gt;
But this website is totally unsecure so we can easily rewrite the SQL query to give us a list of every user in the database. But how can we do this?&lt;br /&gt;
&lt;br /&gt;
==Step 1:==&lt;br /&gt;
get an Exception by typing in invalid characters such as (&#039;, #, --)&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Exception.png]]&lt;br /&gt;
&lt;br /&gt;
==Step 2:==&lt;br /&gt;
&lt;br /&gt;
Since we got an error message with the syntax how the sql statement is written we can alter the statement by simply put another statement in the form.&lt;br /&gt;
&lt;br /&gt;
In this case i wrote ’OR 1# in the username fields to alter the query which should be now&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM acccounts where username= ’ ’OR 1# AND password = ’’&lt;br /&gt;
&lt;br /&gt;
1 means true in SQL language and # is a comment so it ignores the password query. So our SQL String says now that it should gives as all datasets for which the condition is true which lead to following output:&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Extract-Data.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Cross-Site-Request_Forgery_(CSRF)]]-&amp;gt; Cross-Site-Request Forgery&lt;br /&gt;
This example can be found in the A5 section from the Owasp Top 10 examples, which is called &#039;Add to your blog&#039;.&lt;br /&gt;
Here we simulating an attack to vote for a security tool but without actually voting for it.&lt;br /&gt;
In the screenshot below you can see the site which we are attacking. So this site is basically the good site.&lt;br /&gt;
&lt;br /&gt;
[[File:UserPoll.PNG]]&lt;br /&gt;
&lt;br /&gt;
The evil site is in this case the &#039;Add to your blog&#039; site. Users can save a blog to a blog table. An attacker can you use this mechanism to manipulate a blog to fire an action.&lt;br /&gt;
Instead of a normal blog you can also add a script to the blog table. This script calls a method when you hover over the blog and it redirects to the voting site and votes for a security tool.&lt;br /&gt;
&lt;br /&gt;
[[File:Blogs.PNG]]&lt;br /&gt;
&lt;br /&gt;
The script can be found on the official github webiste for Mutillidae https://github.com/webpwnized/mutillidae/blob/master/labs/lab-files/cross-site-request-forgery-lab-files/vote-for-nmap-onmouseover-csrf.txt&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* over 40 vulnerabilities (OWASP Top Ten 2007, 2010, 2013 and 2017[https://owasp.org/www-project-top-ten/])&lt;br /&gt;
* Actually Vulnerable&lt;br /&gt;
* Simple Intallation and Maintaining&lt;br /&gt;
* User can switch between 3 security levels (no security, Client-side Security, Server-side Security)&lt;br /&gt;
* Used in web security courses&lt;br /&gt;
* Tutorials and Guides included in Application&lt;br /&gt;
* Updated frequently&lt;br /&gt;
&lt;br /&gt;
== Interface ==&lt;br /&gt;
[[File:Mutillidae-Interface.png]]&lt;br /&gt;
&lt;br /&gt;
By clicking on any Item on the right dropdown menu, you can select any of the OWASP Top Ten Challanges from the last 15 years.&lt;br /&gt;
&lt;br /&gt;
* Hints and Videos - leads you directly to a structured guide how the exercise could be completed.&lt;br /&gt;
* Toggle Security - you can choose between 3 Security levels for each exercise&lt;br /&gt;
* Reset DB - Clear all user Data &lt;br /&gt;
* Labs - Study Questions associated with the Exercises&lt;br /&gt;
&lt;br /&gt;
== Examples of Vulnerabilities ==&lt;br /&gt;
&lt;br /&gt;
* SQL Injections (SQLi)[https://wiki.elvis.science/index.php?title=SQL_Injection]&lt;br /&gt;
* Cross-Site-Scripting [https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)]&lt;br /&gt;
* Sensitive Data Exposure&lt;br /&gt;
* other Injection (CSS, HTML, JavaScript)&lt;br /&gt;
* and many more...&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Apache Webserver&lt;br /&gt;
* Database (MySQL/MariaDb)&lt;br /&gt;
* Packages: Sourcecode from git (https://github.com/webpwnized/mutillidae)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install Apache Webserver on your local Machine&lt;br /&gt;
* Install PHP on your local Machine&lt;br /&gt;
* Install a supported Database (e.g. MySQL, MariaDB)&lt;br /&gt;
* Install Metasploit, it includes everything you need to run mutillidae&lt;br /&gt;
&lt;br /&gt;
If you have a XAMPP/LAMPP stack set up aleady, you might skip directly to installing Mutillidae.&lt;br /&gt;
There are Videos from the creator which gives a [https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae ===&lt;br /&gt;
&lt;br /&gt;
Head to the Folder where Websites are stored in Apache Webserver this could be the &amp;quot;htdocs&amp;quot; folder under XAMPP or if manually installed under a linux distribution this might be the folder &amp;quot;/var/www/html/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download the Repository from github (see [[#Requirements]]) and copy the contents of the Repository into the Webservers folder. After these steps go on your localhost webpage and make sure you can access Mutillidae Webinterface&lt;br /&gt;
&lt;br /&gt;
To see if the database is correctly installed press the &amp;quot;Reset DB&amp;quot; Button on the Webinterface. If you see the Message that no PHP or SQL errors were detected when resseting the database, the intallation of mutillidae succeded.&lt;br /&gt;
[[File:Mutllidae-no-errors.png]]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae with Metasploit ===&lt;br /&gt;
A different method for installing Mutillidae is to install Metasploit. Metasploit is a penetration testing software which inlcudes everything you need to set up and run Mutillidae.&lt;br /&gt;
This means that you don&#039;t have to install all the other components you need for example a database, because Metasploit is doing this for.&lt;br /&gt;
After installing you can use the credentials msfadmin for the username and password in order to login into Metasploit.&lt;br /&gt;
When Metasploit is running Mutillidae is also accessible and for that you use the ip address of the machine where Metasploit is running on.&lt;br /&gt;
To look up the ip address you can use the &#039;ip a&#039; command in the CLI to find the ip address.&lt;br /&gt;
Sometimes it happens that Mutillidae cannot access the database. This problem occurs when the database name in the config file is not set.&lt;br /&gt;
To fix this problem you have to navigate to this config file which is found in this destination &#039;/var/www/mutillidae/config.inc&#039;.&lt;br /&gt;
In this config file you change the value of the variable called &#039;$dbname&#039; to &#039;owasp10&#039;. After this configuration Mutillidae can access the database.&lt;br /&gt;
&lt;br /&gt;
[[File:Config.PNG]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://owasp.org/www-project-top-ten/&lt;br /&gt;
* https://github.com/webpwnized/mutillidae&lt;br /&gt;
* https://www.youtube.com/c/webpwnized/featured&lt;br /&gt;
* https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial&lt;br /&gt;
&lt;br /&gt;
Internal Links&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection_Examples_on_Known_Vulnerable_Web_Applications&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10891</id>
		<title>OWASP Mutillidae (2021)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10891"/>
		<updated>2023-01-08T12:14:55Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: /* Practical examples */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
OWASP Mutillidae is a free open source tool created for Pentesting of Web Applications. It is a &amp;quot;Vulnerable Web Application&amp;quot; that offers a Platform where the provided Exploits and Security flaws can be executed within a local environment. With over 40 different vulnerabilities and related training challenges, it provides a platform that shows the most common flaws of the last 15 years of web development. The vulnerabilities shown in the program are actual vulnerabilities within the application, so the application should only be run in a protected environment - such as a virtual machine. The current Version Mutillidae II was created by Jeremy Druin [https://www.youtube.com/c/webpwnized/featured] (pseudonym: webpwnized), who also created the Tutorials for the Challanges and Installation Guides. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How it Operates ==&lt;br /&gt;
&lt;br /&gt;
Every Vulnerability contained in the application is build in within a Webpage. By selecting the Exploit from a List (e.g. Authentication Bypass) a site with the corresponding explotable Webpage is loaded and ready to get &amp;quot;hacked&amp;quot;. Since everything run at your local machine you can not harm anyone. The data such as &amp;quot;User Data&amp;quot; are stored in a Database which you set up when you install the Application (see Installation for more Information).&lt;br /&gt;
&lt;br /&gt;
[[File:Muti-Dropdown.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Practical examples ===&lt;br /&gt;
SQL Injection&lt;br /&gt;
[[SQL_Injection]]-&amp;gt; SQLi Extract Data&lt;br /&gt;
&lt;br /&gt;
Now here is a short example how one vulnerability exploit could look like. In this case there is a query where user can request their userinformation by providing their credentials.&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-login.png]]&lt;br /&gt;
&lt;br /&gt;
Normally the query should only retrun only on record when correct credentials are entered.&lt;br /&gt;
&lt;br /&gt;
But this website is totally unsecure so we can easily rewrite the SQL query to give us a list of every user in the database. But how can we do this?&lt;br /&gt;
&lt;br /&gt;
==Step 1:==&lt;br /&gt;
get an Exception by typing in invalid characters such as (&#039;, #, --)&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Exception.png]]&lt;br /&gt;
&lt;br /&gt;
==Step 2:==&lt;br /&gt;
&lt;br /&gt;
Since we got an error message with the syntax how the sql statement is written we can alter the statement by simply put another statement in the form.&lt;br /&gt;
&lt;br /&gt;
In this case i wrote ’OR 1# in the username fields to alter the query which should be now&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM acccounts where username= ’ ’OR 1# AND password = ’’&lt;br /&gt;
&lt;br /&gt;
1 means true in SQL language and # is a comment so it ignores the password query. So our SQL String says now that it should gives as all datasets for which the condition is true which lead to following output:&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Extract-Data.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Cross-Site-Request_Forgery_(CSRF)]]-&amp;gt; Cross-Site-Request Forgery&lt;br /&gt;
This example can be found in the A5 section from the Owasp Top 10 examples, which is called &#039;Add to your blog&#039;.&lt;br /&gt;
Here we simulating an attack to vote for a security tool but without actually voting for it.&lt;br /&gt;
In the screenshot below you can see the site which we are attacking. So this site is basically the good site.&lt;br /&gt;
&lt;br /&gt;
[[File:UserPoll.PNG]]&lt;br /&gt;
&lt;br /&gt;
The evil site is in this case the &#039;Add to your blog&#039; site. Users can save a blog to a blog table. An attacker can you use this mechanism to manipulate a blog to fire an action.&lt;br /&gt;
Instead of a normal blog you can also add a script to the blog table. This script calls a method when you hover over the blog and it redirects to the voting site and votes for a security tool.&lt;br /&gt;
&lt;br /&gt;
[[File:Blogs.PNG]]&lt;br /&gt;
&lt;br /&gt;
The script can be found on the official github webiste for Mutillidae https://github.com/webpwnized/mutillidae/blob/master/labs/lab-files/cross-site-request-forgery-lab-files/vote-for-nmap-onmouseover-csrf.txt&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* over 40 vulnerabilities (OWASP Top Ten 2007, 2010, 2013 and 2017[https://owasp.org/www-project-top-ten/])&lt;br /&gt;
* Actually Vulnerable&lt;br /&gt;
* Simple Intallation and Maintaining&lt;br /&gt;
* User can switch between 3 security levels (no security, Client-side Security, Server-side Security)&lt;br /&gt;
* Used in web security courses&lt;br /&gt;
* Tutorials and Guides included in Application&lt;br /&gt;
* Updated frequently&lt;br /&gt;
&lt;br /&gt;
== Interface ==&lt;br /&gt;
[[File:Mutillidae-Interface.png]]&lt;br /&gt;
&lt;br /&gt;
By clicking on any Item on the right dropdown menu, you can select any of the OWASP Top Ten Challanges from the last 15 years.&lt;br /&gt;
&lt;br /&gt;
* Hints and Videos - leads you directly to a structured guide how the exercise could be completed.&lt;br /&gt;
* Toggle Security - you can choose between 3 Security levels for each exercise&lt;br /&gt;
* Reset DB - Clear all user Data &lt;br /&gt;
* Labs - Study Questions associated with the Exercises&lt;br /&gt;
&lt;br /&gt;
== Examples of Vulnerabilities ==&lt;br /&gt;
&lt;br /&gt;
* SQL Injections (SQLi)[https://wiki.elvis.science/index.php?title=SQL_Injection]&lt;br /&gt;
* Cross-Site-Scripting [https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)]&lt;br /&gt;
* Sensitive Data Exposure&lt;br /&gt;
* other Injection (CSS, HTML, JavaScript)&lt;br /&gt;
* and many more...&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Apache Webserver&lt;br /&gt;
* Database (MySQL/MariaDb)&lt;br /&gt;
* Packages: Sourcecode from git (https://github.com/webpwnized/mutillidae)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install Apache Webserver on your local Machine&lt;br /&gt;
* Install PHP on your local Machine&lt;br /&gt;
* Install a supported Database (e.g. MySQL, MariaDB)&lt;br /&gt;
* Install Metasploit, it includes everything you need to run mutillidae&lt;br /&gt;
&lt;br /&gt;
If you have a XAMPP/LAMPP stack set up aleady, you might skip directly to installing Mutillidae.&lt;br /&gt;
There are Videos from the creator which gives a [https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae ===&lt;br /&gt;
&lt;br /&gt;
Head to the Folder where Websites are stored in Apache Webserver this could be the &amp;quot;htdocs&amp;quot; folder under XAMPP or if manually installed under a linux distribution this might be the folder &amp;quot;/var/www/html/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download the Repository from github (see [[#Requirements]]) and copy the contents of the Repository into the Webservers folder. After these steps go on your localhost webpage and make sure you can access Mutillidae Webinterface&lt;br /&gt;
&lt;br /&gt;
To see if the database is correctly installed press the &amp;quot;Reset DB&amp;quot; Button on the Webinterface. If you see the Message that no PHP or SQL errors were detected when resseting the database, the intallation of mutillidae succeded.&lt;br /&gt;
[[File:Mutllidae-no-errors.png]]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae with Metasploit ===&lt;br /&gt;
A different method for installing Mutillidae is to install Metasploit. Metasploit is a penetration testing software which inlcudes everything you need to set up and run Mutillidae.&lt;br /&gt;
This means that you don&#039;t have to install all the other components you need for example a database, because Metasploit is doing this for.&lt;br /&gt;
After installing you can use the credentials msfadmin for the username and password in order to login into Metasploit.&lt;br /&gt;
When Metasploit is running Mutillidae is also accessible and for that you use the ip address of the machine where Metasploit is running on.&lt;br /&gt;
To look up the ip address you can use the &#039;ip a&#039; command in the CLI to find the ip address.&lt;br /&gt;
Sometimes it happens that Mutillidae cannot access the database. This problem occurs when the database name in the config file is not set.&lt;br /&gt;
To fix this problem you have to navigate to this config file which is found in this destination &#039;/var/www/mutillidae/config.inc&#039;.&lt;br /&gt;
In this config file you change the value of the variable called &#039;$dbname&#039; to &#039;owasp10&#039;. After this configuration Mutillidae can access the database.&lt;br /&gt;
&lt;br /&gt;
[[File:Config.PNG]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://owasp.org/www-project-top-ten/&lt;br /&gt;
* https://github.com/webpwnized/mutillidae&lt;br /&gt;
* https://www.youtube.com/c/webpwnized/featured&lt;br /&gt;
* https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial&lt;br /&gt;
&lt;br /&gt;
Internal Links&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection_Examples_on_Known_Vulnerable_Web_Applications&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10890</id>
		<title>OWASP Mutillidae (2021)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10890"/>
		<updated>2023-01-08T12:14:42Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: /* SQL Injection */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
OWASP Mutillidae is a free open source tool created for Pentesting of Web Applications. It is a &amp;quot;Vulnerable Web Application&amp;quot; that offers a Platform where the provided Exploits and Security flaws can be executed within a local environment. With over 40 different vulnerabilities and related training challenges, it provides a platform that shows the most common flaws of the last 15 years of web development. The vulnerabilities shown in the program are actual vulnerabilities within the application, so the application should only be run in a protected environment - such as a virtual machine. The current Version Mutillidae II was created by Jeremy Druin [https://www.youtube.com/c/webpwnized/featured] (pseudonym: webpwnized), who also created the Tutorials for the Challanges and Installation Guides. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How it Operates ==&lt;br /&gt;
&lt;br /&gt;
Every Vulnerability contained in the application is build in within a Webpage. By selecting the Exploit from a List (e.g. Authentication Bypass) a site with the corresponding explotable Webpage is loaded and ready to get &amp;quot;hacked&amp;quot;. Since everything run at your local machine you can not harm anyone. The data such as &amp;quot;User Data&amp;quot; are stored in a Database which you set up when you install the Application (see Installation for more Information).&lt;br /&gt;
&lt;br /&gt;
[[File:Muti-Dropdown.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Practical examples ===&lt;br /&gt;
==== SQL Injection ====&lt;br /&gt;
[[SQL_Injection]]-&amp;gt; SQLi Extract Data&lt;br /&gt;
&lt;br /&gt;
Now here is a short example how one vulnerability exploit could look like. In this case there is a query where user can request their userinformation by providing their credentials.&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-login.png]]&lt;br /&gt;
&lt;br /&gt;
Normally the query should only retrun only on record when correct credentials are entered.&lt;br /&gt;
&lt;br /&gt;
But this website is totally unsecure so we can easily rewrite the SQL query to give us a list of every user in the database. But how can we do this?&lt;br /&gt;
&lt;br /&gt;
==Step 1:==&lt;br /&gt;
get an Exception by typing in invalid characters such as (&#039;, #, --)&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Exception.png]]&lt;br /&gt;
&lt;br /&gt;
==Step 2:==&lt;br /&gt;
&lt;br /&gt;
Since we got an error message with the syntax how the sql statement is written we can alter the statement by simply put another statement in the form.&lt;br /&gt;
&lt;br /&gt;
In this case i wrote ’OR 1# in the username fields to alter the query which should be now&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM acccounts where username= ’ ’OR 1# AND password = ’’&lt;br /&gt;
&lt;br /&gt;
1 means true in SQL language and # is a comment so it ignores the password query. So our SQL String says now that it should gives as all datasets for which the condition is true which lead to following output:&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Extract-Data.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Cross-Site-Request_Forgery_(CSRF)]]-&amp;gt; Cross-Site-Request Forgery&lt;br /&gt;
This example can be found in the A5 section from the Owasp Top 10 examples, which is called &#039;Add to your blog&#039;.&lt;br /&gt;
Here we simulating an attack to vote for a security tool but without actually voting for it.&lt;br /&gt;
In the screenshot below you can see the site which we are attacking. So this site is basically the good site.&lt;br /&gt;
&lt;br /&gt;
[[File:UserPoll.PNG]]&lt;br /&gt;
&lt;br /&gt;
The evil site is in this case the &#039;Add to your blog&#039; site. Users can save a blog to a blog table. An attacker can you use this mechanism to manipulate a blog to fire an action.&lt;br /&gt;
Instead of a normal blog you can also add a script to the blog table. This script calls a method when you hover over the blog and it redirects to the voting site and votes for a security tool.&lt;br /&gt;
&lt;br /&gt;
[[File:Blogs.PNG]]&lt;br /&gt;
&lt;br /&gt;
The script can be found on the official github webiste for Mutillidae https://github.com/webpwnized/mutillidae/blob/master/labs/lab-files/cross-site-request-forgery-lab-files/vote-for-nmap-onmouseover-csrf.txt&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* over 40 vulnerabilities (OWASP Top Ten 2007, 2010, 2013 and 2017[https://owasp.org/www-project-top-ten/])&lt;br /&gt;
* Actually Vulnerable&lt;br /&gt;
* Simple Intallation and Maintaining&lt;br /&gt;
* User can switch between 3 security levels (no security, Client-side Security, Server-side Security)&lt;br /&gt;
* Used in web security courses&lt;br /&gt;
* Tutorials and Guides included in Application&lt;br /&gt;
* Updated frequently&lt;br /&gt;
&lt;br /&gt;
== Interface ==&lt;br /&gt;
[[File:Mutillidae-Interface.png]]&lt;br /&gt;
&lt;br /&gt;
By clicking on any Item on the right dropdown menu, you can select any of the OWASP Top Ten Challanges from the last 15 years.&lt;br /&gt;
&lt;br /&gt;
* Hints and Videos - leads you directly to a structured guide how the exercise could be completed.&lt;br /&gt;
* Toggle Security - you can choose between 3 Security levels for each exercise&lt;br /&gt;
* Reset DB - Clear all user Data &lt;br /&gt;
* Labs - Study Questions associated with the Exercises&lt;br /&gt;
&lt;br /&gt;
== Examples of Vulnerabilities ==&lt;br /&gt;
&lt;br /&gt;
* SQL Injections (SQLi)[https://wiki.elvis.science/index.php?title=SQL_Injection]&lt;br /&gt;
* Cross-Site-Scripting [https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)]&lt;br /&gt;
* Sensitive Data Exposure&lt;br /&gt;
* other Injection (CSS, HTML, JavaScript)&lt;br /&gt;
* and many more...&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Apache Webserver&lt;br /&gt;
* Database (MySQL/MariaDb)&lt;br /&gt;
* Packages: Sourcecode from git (https://github.com/webpwnized/mutillidae)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install Apache Webserver on your local Machine&lt;br /&gt;
* Install PHP on your local Machine&lt;br /&gt;
* Install a supported Database (e.g. MySQL, MariaDB)&lt;br /&gt;
* Install Metasploit, it includes everything you need to run mutillidae&lt;br /&gt;
&lt;br /&gt;
If you have a XAMPP/LAMPP stack set up aleady, you might skip directly to installing Mutillidae.&lt;br /&gt;
There are Videos from the creator which gives a [https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae ===&lt;br /&gt;
&lt;br /&gt;
Head to the Folder where Websites are stored in Apache Webserver this could be the &amp;quot;htdocs&amp;quot; folder under XAMPP or if manually installed under a linux distribution this might be the folder &amp;quot;/var/www/html/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download the Repository from github (see [[#Requirements]]) and copy the contents of the Repository into the Webservers folder. After these steps go on your localhost webpage and make sure you can access Mutillidae Webinterface&lt;br /&gt;
&lt;br /&gt;
To see if the database is correctly installed press the &amp;quot;Reset DB&amp;quot; Button on the Webinterface. If you see the Message that no PHP or SQL errors were detected when resseting the database, the intallation of mutillidae succeded.&lt;br /&gt;
[[File:Mutllidae-no-errors.png]]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae with Metasploit ===&lt;br /&gt;
A different method for installing Mutillidae is to install Metasploit. Metasploit is a penetration testing software which inlcudes everything you need to set up and run Mutillidae.&lt;br /&gt;
This means that you don&#039;t have to install all the other components you need for example a database, because Metasploit is doing this for.&lt;br /&gt;
After installing you can use the credentials msfadmin for the username and password in order to login into Metasploit.&lt;br /&gt;
When Metasploit is running Mutillidae is also accessible and for that you use the ip address of the machine where Metasploit is running on.&lt;br /&gt;
To look up the ip address you can use the &#039;ip a&#039; command in the CLI to find the ip address.&lt;br /&gt;
Sometimes it happens that Mutillidae cannot access the database. This problem occurs when the database name in the config file is not set.&lt;br /&gt;
To fix this problem you have to navigate to this config file which is found in this destination &#039;/var/www/mutillidae/config.inc&#039;.&lt;br /&gt;
In this config file you change the value of the variable called &#039;$dbname&#039; to &#039;owasp10&#039;. After this configuration Mutillidae can access the database.&lt;br /&gt;
&lt;br /&gt;
[[File:Config.PNG]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://owasp.org/www-project-top-ten/&lt;br /&gt;
* https://github.com/webpwnized/mutillidae&lt;br /&gt;
* https://www.youtube.com/c/webpwnized/featured&lt;br /&gt;
* https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial&lt;br /&gt;
&lt;br /&gt;
Internal Links&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection_Examples_on_Known_Vulnerable_Web_Applications&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10889</id>
		<title>OWASP Mutillidae (2021)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10889"/>
		<updated>2023-01-08T12:14:30Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: /* SQL Injection */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
OWASP Mutillidae is a free open source tool created for Pentesting of Web Applications. It is a &amp;quot;Vulnerable Web Application&amp;quot; that offers a Platform where the provided Exploits and Security flaws can be executed within a local environment. With over 40 different vulnerabilities and related training challenges, it provides a platform that shows the most common flaws of the last 15 years of web development. The vulnerabilities shown in the program are actual vulnerabilities within the application, so the application should only be run in a protected environment - such as a virtual machine. The current Version Mutillidae II was created by Jeremy Druin [https://www.youtube.com/c/webpwnized/featured] (pseudonym: webpwnized), who also created the Tutorials for the Challanges and Installation Guides. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How it Operates ==&lt;br /&gt;
&lt;br /&gt;
Every Vulnerability contained in the application is build in within a Webpage. By selecting the Exploit from a List (e.g. Authentication Bypass) a site with the corresponding explotable Webpage is loaded and ready to get &amp;quot;hacked&amp;quot;. Since everything run at your local machine you can not harm anyone. The data such as &amp;quot;User Data&amp;quot; are stored in a Database which you set up when you install the Application (see Installation for more Information).&lt;br /&gt;
&lt;br /&gt;
[[File:Muti-Dropdown.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Practical examples ===&lt;br /&gt;
=== SQL Injection ===&lt;br /&gt;
[[SQL_Injection]]-&amp;gt; SQLi Extract Data&lt;br /&gt;
&lt;br /&gt;
Now here is a short example how one vulnerability exploit could look like. In this case there is a query where user can request their userinformation by providing their credentials.&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-login.png]]&lt;br /&gt;
&lt;br /&gt;
Normally the query should only retrun only on record when correct credentials are entered.&lt;br /&gt;
&lt;br /&gt;
But this website is totally unsecure so we can easily rewrite the SQL query to give us a list of every user in the database. But how can we do this?&lt;br /&gt;
&lt;br /&gt;
==Step 1:==&lt;br /&gt;
get an Exception by typing in invalid characters such as (&#039;, #, --)&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Exception.png]]&lt;br /&gt;
&lt;br /&gt;
==Step 2:==&lt;br /&gt;
&lt;br /&gt;
Since we got an error message with the syntax how the sql statement is written we can alter the statement by simply put another statement in the form.&lt;br /&gt;
&lt;br /&gt;
In this case i wrote ’OR 1# in the username fields to alter the query which should be now&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM acccounts where username= ’ ’OR 1# AND password = ’’&lt;br /&gt;
&lt;br /&gt;
1 means true in SQL language and # is a comment so it ignores the password query. So our SQL String says now that it should gives as all datasets for which the condition is true which lead to following output:&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Extract-Data.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Cross-Site-Request_Forgery_(CSRF)]]-&amp;gt; Cross-Site-Request Forgery&lt;br /&gt;
This example can be found in the A5 section from the Owasp Top 10 examples, which is called &#039;Add to your blog&#039;.&lt;br /&gt;
Here we simulating an attack to vote for a security tool but without actually voting for it.&lt;br /&gt;
In the screenshot below you can see the site which we are attacking. So this site is basically the good site.&lt;br /&gt;
&lt;br /&gt;
[[File:UserPoll.PNG]]&lt;br /&gt;
&lt;br /&gt;
The evil site is in this case the &#039;Add to your blog&#039; site. Users can save a blog to a blog table. An attacker can you use this mechanism to manipulate a blog to fire an action.&lt;br /&gt;
Instead of a normal blog you can also add a script to the blog table. This script calls a method when you hover over the blog and it redirects to the voting site and votes for a security tool.&lt;br /&gt;
&lt;br /&gt;
[[File:Blogs.PNG]]&lt;br /&gt;
&lt;br /&gt;
The script can be found on the official github webiste for Mutillidae https://github.com/webpwnized/mutillidae/blob/master/labs/lab-files/cross-site-request-forgery-lab-files/vote-for-nmap-onmouseover-csrf.txt&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* over 40 vulnerabilities (OWASP Top Ten 2007, 2010, 2013 and 2017[https://owasp.org/www-project-top-ten/])&lt;br /&gt;
* Actually Vulnerable&lt;br /&gt;
* Simple Intallation and Maintaining&lt;br /&gt;
* User can switch between 3 security levels (no security, Client-side Security, Server-side Security)&lt;br /&gt;
* Used in web security courses&lt;br /&gt;
* Tutorials and Guides included in Application&lt;br /&gt;
* Updated frequently&lt;br /&gt;
&lt;br /&gt;
== Interface ==&lt;br /&gt;
[[File:Mutillidae-Interface.png]]&lt;br /&gt;
&lt;br /&gt;
By clicking on any Item on the right dropdown menu, you can select any of the OWASP Top Ten Challanges from the last 15 years.&lt;br /&gt;
&lt;br /&gt;
* Hints and Videos - leads you directly to a structured guide how the exercise could be completed.&lt;br /&gt;
* Toggle Security - you can choose between 3 Security levels for each exercise&lt;br /&gt;
* Reset DB - Clear all user Data &lt;br /&gt;
* Labs - Study Questions associated with the Exercises&lt;br /&gt;
&lt;br /&gt;
== Examples of Vulnerabilities ==&lt;br /&gt;
&lt;br /&gt;
* SQL Injections (SQLi)[https://wiki.elvis.science/index.php?title=SQL_Injection]&lt;br /&gt;
* Cross-Site-Scripting [https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)]&lt;br /&gt;
* Sensitive Data Exposure&lt;br /&gt;
* other Injection (CSS, HTML, JavaScript)&lt;br /&gt;
* and many more...&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Apache Webserver&lt;br /&gt;
* Database (MySQL/MariaDb)&lt;br /&gt;
* Packages: Sourcecode from git (https://github.com/webpwnized/mutillidae)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install Apache Webserver on your local Machine&lt;br /&gt;
* Install PHP on your local Machine&lt;br /&gt;
* Install a supported Database (e.g. MySQL, MariaDB)&lt;br /&gt;
* Install Metasploit, it includes everything you need to run mutillidae&lt;br /&gt;
&lt;br /&gt;
If you have a XAMPP/LAMPP stack set up aleady, you might skip directly to installing Mutillidae.&lt;br /&gt;
There are Videos from the creator which gives a [https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae ===&lt;br /&gt;
&lt;br /&gt;
Head to the Folder where Websites are stored in Apache Webserver this could be the &amp;quot;htdocs&amp;quot; folder under XAMPP or if manually installed under a linux distribution this might be the folder &amp;quot;/var/www/html/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download the Repository from github (see [[#Requirements]]) and copy the contents of the Repository into the Webservers folder. After these steps go on your localhost webpage and make sure you can access Mutillidae Webinterface&lt;br /&gt;
&lt;br /&gt;
To see if the database is correctly installed press the &amp;quot;Reset DB&amp;quot; Button on the Webinterface. If you see the Message that no PHP or SQL errors were detected when resseting the database, the intallation of mutillidae succeded.&lt;br /&gt;
[[File:Mutllidae-no-errors.png]]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae with Metasploit ===&lt;br /&gt;
A different method for installing Mutillidae is to install Metasploit. Metasploit is a penetration testing software which inlcudes everything you need to set up and run Mutillidae.&lt;br /&gt;
This means that you don&#039;t have to install all the other components you need for example a database, because Metasploit is doing this for.&lt;br /&gt;
After installing you can use the credentials msfadmin for the username and password in order to login into Metasploit.&lt;br /&gt;
When Metasploit is running Mutillidae is also accessible and for that you use the ip address of the machine where Metasploit is running on.&lt;br /&gt;
To look up the ip address you can use the &#039;ip a&#039; command in the CLI to find the ip address.&lt;br /&gt;
Sometimes it happens that Mutillidae cannot access the database. This problem occurs when the database name in the config file is not set.&lt;br /&gt;
To fix this problem you have to navigate to this config file which is found in this destination &#039;/var/www/mutillidae/config.inc&#039;.&lt;br /&gt;
In this config file you change the value of the variable called &#039;$dbname&#039; to &#039;owasp10&#039;. After this configuration Mutillidae can access the database.&lt;br /&gt;
&lt;br /&gt;
[[File:Config.PNG]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://owasp.org/www-project-top-ten/&lt;br /&gt;
* https://github.com/webpwnized/mutillidae&lt;br /&gt;
* https://www.youtube.com/c/webpwnized/featured&lt;br /&gt;
* https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial&lt;br /&gt;
&lt;br /&gt;
Internal Links&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection_Examples_on_Known_Vulnerable_Web_Applications&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10888</id>
		<title>OWASP Mutillidae (2021)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10888"/>
		<updated>2023-01-08T12:14:17Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: /* SQL Injection */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
OWASP Mutillidae is a free open source tool created for Pentesting of Web Applications. It is a &amp;quot;Vulnerable Web Application&amp;quot; that offers a Platform where the provided Exploits and Security flaws can be executed within a local environment. With over 40 different vulnerabilities and related training challenges, it provides a platform that shows the most common flaws of the last 15 years of web development. The vulnerabilities shown in the program are actual vulnerabilities within the application, so the application should only be run in a protected environment - such as a virtual machine. The current Version Mutillidae II was created by Jeremy Druin [https://www.youtube.com/c/webpwnized/featured] (pseudonym: webpwnized), who also created the Tutorials for the Challanges and Installation Guides. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How it Operates ==&lt;br /&gt;
&lt;br /&gt;
Every Vulnerability contained in the application is build in within a Webpage. By selecting the Exploit from a List (e.g. Authentication Bypass) a site with the corresponding explotable Webpage is loaded and ready to get &amp;quot;hacked&amp;quot;. Since everything run at your local machine you can not harm anyone. The data such as &amp;quot;User Data&amp;quot; are stored in a Database which you set up when you install the Application (see Installation for more Information).&lt;br /&gt;
&lt;br /&gt;
[[File:Muti-Dropdown.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Practical examples ===&lt;br /&gt;
= SQL Injection =&lt;br /&gt;
[[SQL_Injection]]-&amp;gt; SQLi Extract Data&lt;br /&gt;
&lt;br /&gt;
Now here is a short example how one vulnerability exploit could look like. In this case there is a query where user can request their userinformation by providing their credentials.&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-login.png]]&lt;br /&gt;
&lt;br /&gt;
Normally the query should only retrun only on record when correct credentials are entered.&lt;br /&gt;
&lt;br /&gt;
But this website is totally unsecure so we can easily rewrite the SQL query to give us a list of every user in the database. But how can we do this?&lt;br /&gt;
&lt;br /&gt;
==Step 1:==&lt;br /&gt;
get an Exception by typing in invalid characters such as (&#039;, #, --)&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Exception.png]]&lt;br /&gt;
&lt;br /&gt;
==Step 2:==&lt;br /&gt;
&lt;br /&gt;
Since we got an error message with the syntax how the sql statement is written we can alter the statement by simply put another statement in the form.&lt;br /&gt;
&lt;br /&gt;
In this case i wrote ’OR 1# in the username fields to alter the query which should be now&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM acccounts where username= ’ ’OR 1# AND password = ’’&lt;br /&gt;
&lt;br /&gt;
1 means true in SQL language and # is a comment so it ignores the password query. So our SQL String says now that it should gives as all datasets for which the condition is true which lead to following output:&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Extract-Data.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Cross-Site-Request_Forgery_(CSRF)]]-&amp;gt; Cross-Site-Request Forgery&lt;br /&gt;
This example can be found in the A5 section from the Owasp Top 10 examples, which is called &#039;Add to your blog&#039;.&lt;br /&gt;
Here we simulating an attack to vote for a security tool but without actually voting for it.&lt;br /&gt;
In the screenshot below you can see the site which we are attacking. So this site is basically the good site.&lt;br /&gt;
&lt;br /&gt;
[[File:UserPoll.PNG]]&lt;br /&gt;
&lt;br /&gt;
The evil site is in this case the &#039;Add to your blog&#039; site. Users can save a blog to a blog table. An attacker can you use this mechanism to manipulate a blog to fire an action.&lt;br /&gt;
Instead of a normal blog you can also add a script to the blog table. This script calls a method when you hover over the blog and it redirects to the voting site and votes for a security tool.&lt;br /&gt;
&lt;br /&gt;
[[File:Blogs.PNG]]&lt;br /&gt;
&lt;br /&gt;
The script can be found on the official github webiste for Mutillidae https://github.com/webpwnized/mutillidae/blob/master/labs/lab-files/cross-site-request-forgery-lab-files/vote-for-nmap-onmouseover-csrf.txt&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* over 40 vulnerabilities (OWASP Top Ten 2007, 2010, 2013 and 2017[https://owasp.org/www-project-top-ten/])&lt;br /&gt;
* Actually Vulnerable&lt;br /&gt;
* Simple Intallation and Maintaining&lt;br /&gt;
* User can switch between 3 security levels (no security, Client-side Security, Server-side Security)&lt;br /&gt;
* Used in web security courses&lt;br /&gt;
* Tutorials and Guides included in Application&lt;br /&gt;
* Updated frequently&lt;br /&gt;
&lt;br /&gt;
== Interface ==&lt;br /&gt;
[[File:Mutillidae-Interface.png]]&lt;br /&gt;
&lt;br /&gt;
By clicking on any Item on the right dropdown menu, you can select any of the OWASP Top Ten Challanges from the last 15 years.&lt;br /&gt;
&lt;br /&gt;
* Hints and Videos - leads you directly to a structured guide how the exercise could be completed.&lt;br /&gt;
* Toggle Security - you can choose between 3 Security levels for each exercise&lt;br /&gt;
* Reset DB - Clear all user Data &lt;br /&gt;
* Labs - Study Questions associated with the Exercises&lt;br /&gt;
&lt;br /&gt;
== Examples of Vulnerabilities ==&lt;br /&gt;
&lt;br /&gt;
* SQL Injections (SQLi)[https://wiki.elvis.science/index.php?title=SQL_Injection]&lt;br /&gt;
* Cross-Site-Scripting [https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)]&lt;br /&gt;
* Sensitive Data Exposure&lt;br /&gt;
* other Injection (CSS, HTML, JavaScript)&lt;br /&gt;
* and many more...&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Apache Webserver&lt;br /&gt;
* Database (MySQL/MariaDb)&lt;br /&gt;
* Packages: Sourcecode from git (https://github.com/webpwnized/mutillidae)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install Apache Webserver on your local Machine&lt;br /&gt;
* Install PHP on your local Machine&lt;br /&gt;
* Install a supported Database (e.g. MySQL, MariaDB)&lt;br /&gt;
* Install Metasploit, it includes everything you need to run mutillidae&lt;br /&gt;
&lt;br /&gt;
If you have a XAMPP/LAMPP stack set up aleady, you might skip directly to installing Mutillidae.&lt;br /&gt;
There are Videos from the creator which gives a [https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae ===&lt;br /&gt;
&lt;br /&gt;
Head to the Folder where Websites are stored in Apache Webserver this could be the &amp;quot;htdocs&amp;quot; folder under XAMPP or if manually installed under a linux distribution this might be the folder &amp;quot;/var/www/html/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download the Repository from github (see [[#Requirements]]) and copy the contents of the Repository into the Webservers folder. After these steps go on your localhost webpage and make sure you can access Mutillidae Webinterface&lt;br /&gt;
&lt;br /&gt;
To see if the database is correctly installed press the &amp;quot;Reset DB&amp;quot; Button on the Webinterface. If you see the Message that no PHP or SQL errors were detected when resseting the database, the intallation of mutillidae succeded.&lt;br /&gt;
[[File:Mutllidae-no-errors.png]]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae with Metasploit ===&lt;br /&gt;
A different method for installing Mutillidae is to install Metasploit. Metasploit is a penetration testing software which inlcudes everything you need to set up and run Mutillidae.&lt;br /&gt;
This means that you don&#039;t have to install all the other components you need for example a database, because Metasploit is doing this for.&lt;br /&gt;
After installing you can use the credentials msfadmin for the username and password in order to login into Metasploit.&lt;br /&gt;
When Metasploit is running Mutillidae is also accessible and for that you use the ip address of the machine where Metasploit is running on.&lt;br /&gt;
To look up the ip address you can use the &#039;ip a&#039; command in the CLI to find the ip address.&lt;br /&gt;
Sometimes it happens that Mutillidae cannot access the database. This problem occurs when the database name in the config file is not set.&lt;br /&gt;
To fix this problem you have to navigate to this config file which is found in this destination &#039;/var/www/mutillidae/config.inc&#039;.&lt;br /&gt;
In this config file you change the value of the variable called &#039;$dbname&#039; to &#039;owasp10&#039;. After this configuration Mutillidae can access the database.&lt;br /&gt;
&lt;br /&gt;
[[File:Config.PNG]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://owasp.org/www-project-top-ten/&lt;br /&gt;
* https://github.com/webpwnized/mutillidae&lt;br /&gt;
* https://www.youtube.com/c/webpwnized/featured&lt;br /&gt;
* https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial&lt;br /&gt;
&lt;br /&gt;
Internal Links&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection_Examples_on_Known_Vulnerable_Web_Applications&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10887</id>
		<title>OWASP Mutillidae (2021)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10887"/>
		<updated>2023-01-08T12:14:04Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: /* Practical examples */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
OWASP Mutillidae is a free open source tool created for Pentesting of Web Applications. It is a &amp;quot;Vulnerable Web Application&amp;quot; that offers a Platform where the provided Exploits and Security flaws can be executed within a local environment. With over 40 different vulnerabilities and related training challenges, it provides a platform that shows the most common flaws of the last 15 years of web development. The vulnerabilities shown in the program are actual vulnerabilities within the application, so the application should only be run in a protected environment - such as a virtual machine. The current Version Mutillidae II was created by Jeremy Druin [https://www.youtube.com/c/webpwnized/featured] (pseudonym: webpwnized), who also created the Tutorials for the Challanges and Installation Guides. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How it Operates ==&lt;br /&gt;
&lt;br /&gt;
Every Vulnerability contained in the application is build in within a Webpage. By selecting the Exploit from a List (e.g. Authentication Bypass) a site with the corresponding explotable Webpage is loaded and ready to get &amp;quot;hacked&amp;quot;. Since everything run at your local machine you can not harm anyone. The data such as &amp;quot;User Data&amp;quot; are stored in a Database which you set up when you install the Application (see Installation for more Information).&lt;br /&gt;
&lt;br /&gt;
[[File:Muti-Dropdown.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Practical examples ===&lt;br /&gt;
== SQL Injection ==&lt;br /&gt;
[[SQL_Injection]]-&amp;gt; SQLi Extract Data&lt;br /&gt;
&lt;br /&gt;
Now here is a short example how one vulnerability exploit could look like. In this case there is a query where user can request their userinformation by providing their credentials.&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-login.png]]&lt;br /&gt;
&lt;br /&gt;
Normally the query should only retrun only on record when correct credentials are entered.&lt;br /&gt;
&lt;br /&gt;
But this website is totally unsecure so we can easily rewrite the SQL query to give us a list of every user in the database. But how can we do this?&lt;br /&gt;
&lt;br /&gt;
==Step 1:==&lt;br /&gt;
get an Exception by typing in invalid characters such as (&#039;, #, --)&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Exception.png]]&lt;br /&gt;
&lt;br /&gt;
==Step 2:==&lt;br /&gt;
&lt;br /&gt;
Since we got an error message with the syntax how the sql statement is written we can alter the statement by simply put another statement in the form.&lt;br /&gt;
&lt;br /&gt;
In this case i wrote ’OR 1# in the username fields to alter the query which should be now&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM acccounts where username= ’ ’OR 1# AND password = ’’&lt;br /&gt;
&lt;br /&gt;
1 means true in SQL language and # is a comment so it ignores the password query. So our SQL String says now that it should gives as all datasets for which the condition is true which lead to following output:&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Extract-Data.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Cross-Site-Request_Forgery_(CSRF)]]-&amp;gt; Cross-Site-Request Forgery&lt;br /&gt;
This example can be found in the A5 section from the Owasp Top 10 examples, which is called &#039;Add to your blog&#039;.&lt;br /&gt;
Here we simulating an attack to vote for a security tool but without actually voting for it.&lt;br /&gt;
In the screenshot below you can see the site which we are attacking. So this site is basically the good site.&lt;br /&gt;
&lt;br /&gt;
[[File:UserPoll.PNG]]&lt;br /&gt;
&lt;br /&gt;
The evil site is in this case the &#039;Add to your blog&#039; site. Users can save a blog to a blog table. An attacker can you use this mechanism to manipulate a blog to fire an action.&lt;br /&gt;
Instead of a normal blog you can also add a script to the blog table. This script calls a method when you hover over the blog and it redirects to the voting site and votes for a security tool.&lt;br /&gt;
&lt;br /&gt;
[[File:Blogs.PNG]]&lt;br /&gt;
&lt;br /&gt;
The script can be found on the official github webiste for Mutillidae https://github.com/webpwnized/mutillidae/blob/master/labs/lab-files/cross-site-request-forgery-lab-files/vote-for-nmap-onmouseover-csrf.txt&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* over 40 vulnerabilities (OWASP Top Ten 2007, 2010, 2013 and 2017[https://owasp.org/www-project-top-ten/])&lt;br /&gt;
* Actually Vulnerable&lt;br /&gt;
* Simple Intallation and Maintaining&lt;br /&gt;
* User can switch between 3 security levels (no security, Client-side Security, Server-side Security)&lt;br /&gt;
* Used in web security courses&lt;br /&gt;
* Tutorials and Guides included in Application&lt;br /&gt;
* Updated frequently&lt;br /&gt;
&lt;br /&gt;
== Interface ==&lt;br /&gt;
[[File:Mutillidae-Interface.png]]&lt;br /&gt;
&lt;br /&gt;
By clicking on any Item on the right dropdown menu, you can select any of the OWASP Top Ten Challanges from the last 15 years.&lt;br /&gt;
&lt;br /&gt;
* Hints and Videos - leads you directly to a structured guide how the exercise could be completed.&lt;br /&gt;
* Toggle Security - you can choose between 3 Security levels for each exercise&lt;br /&gt;
* Reset DB - Clear all user Data &lt;br /&gt;
* Labs - Study Questions associated with the Exercises&lt;br /&gt;
&lt;br /&gt;
== Examples of Vulnerabilities ==&lt;br /&gt;
&lt;br /&gt;
* SQL Injections (SQLi)[https://wiki.elvis.science/index.php?title=SQL_Injection]&lt;br /&gt;
* Cross-Site-Scripting [https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)]&lt;br /&gt;
* Sensitive Data Exposure&lt;br /&gt;
* other Injection (CSS, HTML, JavaScript)&lt;br /&gt;
* and many more...&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Apache Webserver&lt;br /&gt;
* Database (MySQL/MariaDb)&lt;br /&gt;
* Packages: Sourcecode from git (https://github.com/webpwnized/mutillidae)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install Apache Webserver on your local Machine&lt;br /&gt;
* Install PHP on your local Machine&lt;br /&gt;
* Install a supported Database (e.g. MySQL, MariaDB)&lt;br /&gt;
* Install Metasploit, it includes everything you need to run mutillidae&lt;br /&gt;
&lt;br /&gt;
If you have a XAMPP/LAMPP stack set up aleady, you might skip directly to installing Mutillidae.&lt;br /&gt;
There are Videos from the creator which gives a [https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae ===&lt;br /&gt;
&lt;br /&gt;
Head to the Folder where Websites are stored in Apache Webserver this could be the &amp;quot;htdocs&amp;quot; folder under XAMPP or if manually installed under a linux distribution this might be the folder &amp;quot;/var/www/html/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download the Repository from github (see [[#Requirements]]) and copy the contents of the Repository into the Webservers folder. After these steps go on your localhost webpage and make sure you can access Mutillidae Webinterface&lt;br /&gt;
&lt;br /&gt;
To see if the database is correctly installed press the &amp;quot;Reset DB&amp;quot; Button on the Webinterface. If you see the Message that no PHP or SQL errors were detected when resseting the database, the intallation of mutillidae succeded.&lt;br /&gt;
[[File:Mutllidae-no-errors.png]]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae with Metasploit ===&lt;br /&gt;
A different method for installing Mutillidae is to install Metasploit. Metasploit is a penetration testing software which inlcudes everything you need to set up and run Mutillidae.&lt;br /&gt;
This means that you don&#039;t have to install all the other components you need for example a database, because Metasploit is doing this for.&lt;br /&gt;
After installing you can use the credentials msfadmin for the username and password in order to login into Metasploit.&lt;br /&gt;
When Metasploit is running Mutillidae is also accessible and for that you use the ip address of the machine where Metasploit is running on.&lt;br /&gt;
To look up the ip address you can use the &#039;ip a&#039; command in the CLI to find the ip address.&lt;br /&gt;
Sometimes it happens that Mutillidae cannot access the database. This problem occurs when the database name in the config file is not set.&lt;br /&gt;
To fix this problem you have to navigate to this config file which is found in this destination &#039;/var/www/mutillidae/config.inc&#039;.&lt;br /&gt;
In this config file you change the value of the variable called &#039;$dbname&#039; to &#039;owasp10&#039;. After this configuration Mutillidae can access the database.&lt;br /&gt;
&lt;br /&gt;
[[File:Config.PNG]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://owasp.org/www-project-top-ten/&lt;br /&gt;
* https://github.com/webpwnized/mutillidae&lt;br /&gt;
* https://www.youtube.com/c/webpwnized/featured&lt;br /&gt;
* https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial&lt;br /&gt;
&lt;br /&gt;
Internal Links&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection_Examples_on_Known_Vulnerable_Web_Applications&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10886</id>
		<title>OWASP Mutillidae (2021)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10886"/>
		<updated>2023-01-08T12:13:32Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: /* Practical examples */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
OWASP Mutillidae is a free open source tool created for Pentesting of Web Applications. It is a &amp;quot;Vulnerable Web Application&amp;quot; that offers a Platform where the provided Exploits and Security flaws can be executed within a local environment. With over 40 different vulnerabilities and related training challenges, it provides a platform that shows the most common flaws of the last 15 years of web development. The vulnerabilities shown in the program are actual vulnerabilities within the application, so the application should only be run in a protected environment - such as a virtual machine. The current Version Mutillidae II was created by Jeremy Druin [https://www.youtube.com/c/webpwnized/featured] (pseudonym: webpwnized), who also created the Tutorials for the Challanges and Installation Guides. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How it Operates ==&lt;br /&gt;
&lt;br /&gt;
Every Vulnerability contained in the application is build in within a Webpage. By selecting the Exploit from a List (e.g. Authentication Bypass) a site with the corresponding explotable Webpage is loaded and ready to get &amp;quot;hacked&amp;quot;. Since everything run at your local machine you can not harm anyone. The data such as &amp;quot;User Data&amp;quot; are stored in a Database which you set up when you install the Application (see Installation for more Information).&lt;br /&gt;
&lt;br /&gt;
[[File:Muti-Dropdown.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Practical examples ===&lt;br /&gt;
&lt;br /&gt;
[[SQL_Injection]]-&amp;gt; SQLi Extract Data&lt;br /&gt;
&lt;br /&gt;
Now here is a short example how one vulnerability exploit could look like. In this case there is a query where user can request their userinformation by providing their credentials.&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-login.png]]&lt;br /&gt;
&lt;br /&gt;
Normally the query should only retrun only on record when correct credentials are entered.&lt;br /&gt;
&lt;br /&gt;
But this website is totally unsecure so we can easily rewrite the SQL query to give us a list of every user in the database. But how can we do this?&lt;br /&gt;
&lt;br /&gt;
==Step 1:==&lt;br /&gt;
get an Exception by typing in invalid characters such as (&#039;, #, --)&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Exception.png]]&lt;br /&gt;
&lt;br /&gt;
==Step 2:==&lt;br /&gt;
&lt;br /&gt;
Since we got an error message with the syntax how the sql statement is written we can alter the statement by simply put another statement in the form.&lt;br /&gt;
&lt;br /&gt;
In this case i wrote ’OR 1# in the username fields to alter the query which should be now&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM acccounts where username= ’ ’OR 1# AND password = ’’&lt;br /&gt;
&lt;br /&gt;
1 means true in SQL language and # is a comment so it ignores the password query. So our SQL String says now that it should gives as all datasets for which the condition is true which lead to following output:&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Extract-Data.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Cross-Site-Request_Forgery_(CSRF)]]-&amp;gt; Cross-Site-Request Forgery&lt;br /&gt;
This example can be found in the A5 section from the Owasp Top 10 examples, which is called &#039;Add to your blog&#039;.&lt;br /&gt;
Here we simulating an attack to vote for a security tool but without actually voting for it.&lt;br /&gt;
In the screenshot below you can see the site which we are attacking. So this site is basically the good site.&lt;br /&gt;
&lt;br /&gt;
[[File:UserPoll.PNG]]&lt;br /&gt;
&lt;br /&gt;
The evil site is in this case the &#039;Add to your blog&#039; site. Users can save a blog to a blog table. An attacker can you use this mechanism to manipulate a blog to fire an action.&lt;br /&gt;
Instead of a normal blog you can also add a script to the blog table. This script calls a method when you hover over the blog and it redirects to the voting site and votes for a security tool.&lt;br /&gt;
&lt;br /&gt;
[[File:Blogs.PNG]]&lt;br /&gt;
&lt;br /&gt;
The script can be found on the official github webiste for Mutillidae https://github.com/webpwnized/mutillidae/blob/master/labs/lab-files/cross-site-request-forgery-lab-files/vote-for-nmap-onmouseover-csrf.txt&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* over 40 vulnerabilities (OWASP Top Ten 2007, 2010, 2013 and 2017[https://owasp.org/www-project-top-ten/])&lt;br /&gt;
* Actually Vulnerable&lt;br /&gt;
* Simple Intallation and Maintaining&lt;br /&gt;
* User can switch between 3 security levels (no security, Client-side Security, Server-side Security)&lt;br /&gt;
* Used in web security courses&lt;br /&gt;
* Tutorials and Guides included in Application&lt;br /&gt;
* Updated frequently&lt;br /&gt;
&lt;br /&gt;
== Interface ==&lt;br /&gt;
[[File:Mutillidae-Interface.png]]&lt;br /&gt;
&lt;br /&gt;
By clicking on any Item on the right dropdown menu, you can select any of the OWASP Top Ten Challanges from the last 15 years.&lt;br /&gt;
&lt;br /&gt;
* Hints and Videos - leads you directly to a structured guide how the exercise could be completed.&lt;br /&gt;
* Toggle Security - you can choose between 3 Security levels for each exercise&lt;br /&gt;
* Reset DB - Clear all user Data &lt;br /&gt;
* Labs - Study Questions associated with the Exercises&lt;br /&gt;
&lt;br /&gt;
== Examples of Vulnerabilities ==&lt;br /&gt;
&lt;br /&gt;
* SQL Injections (SQLi)[https://wiki.elvis.science/index.php?title=SQL_Injection]&lt;br /&gt;
* Cross-Site-Scripting [https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)]&lt;br /&gt;
* Sensitive Data Exposure&lt;br /&gt;
* other Injection (CSS, HTML, JavaScript)&lt;br /&gt;
* and many more...&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Apache Webserver&lt;br /&gt;
* Database (MySQL/MariaDb)&lt;br /&gt;
* Packages: Sourcecode from git (https://github.com/webpwnized/mutillidae)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install Apache Webserver on your local Machine&lt;br /&gt;
* Install PHP on your local Machine&lt;br /&gt;
* Install a supported Database (e.g. MySQL, MariaDB)&lt;br /&gt;
* Install Metasploit, it includes everything you need to run mutillidae&lt;br /&gt;
&lt;br /&gt;
If you have a XAMPP/LAMPP stack set up aleady, you might skip directly to installing Mutillidae.&lt;br /&gt;
There are Videos from the creator which gives a [https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae ===&lt;br /&gt;
&lt;br /&gt;
Head to the Folder where Websites are stored in Apache Webserver this could be the &amp;quot;htdocs&amp;quot; folder under XAMPP or if manually installed under a linux distribution this might be the folder &amp;quot;/var/www/html/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download the Repository from github (see [[#Requirements]]) and copy the contents of the Repository into the Webservers folder. After these steps go on your localhost webpage and make sure you can access Mutillidae Webinterface&lt;br /&gt;
&lt;br /&gt;
To see if the database is correctly installed press the &amp;quot;Reset DB&amp;quot; Button on the Webinterface. If you see the Message that no PHP or SQL errors were detected when resseting the database, the intallation of mutillidae succeded.&lt;br /&gt;
[[File:Mutllidae-no-errors.png]]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae with Metasploit ===&lt;br /&gt;
A different method for installing Mutillidae is to install Metasploit. Metasploit is a penetration testing software which inlcudes everything you need to set up and run Mutillidae.&lt;br /&gt;
This means that you don&#039;t have to install all the other components you need for example a database, because Metasploit is doing this for.&lt;br /&gt;
After installing you can use the credentials msfadmin for the username and password in order to login into Metasploit.&lt;br /&gt;
When Metasploit is running Mutillidae is also accessible and for that you use the ip address of the machine where Metasploit is running on.&lt;br /&gt;
To look up the ip address you can use the &#039;ip a&#039; command in the CLI to find the ip address.&lt;br /&gt;
Sometimes it happens that Mutillidae cannot access the database. This problem occurs when the database name in the config file is not set.&lt;br /&gt;
To fix this problem you have to navigate to this config file which is found in this destination &#039;/var/www/mutillidae/config.inc&#039;.&lt;br /&gt;
In this config file you change the value of the variable called &#039;$dbname&#039; to &#039;owasp10&#039;. After this configuration Mutillidae can access the database.&lt;br /&gt;
&lt;br /&gt;
[[File:Config.PNG]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://owasp.org/www-project-top-ten/&lt;br /&gt;
* https://github.com/webpwnized/mutillidae&lt;br /&gt;
* https://www.youtube.com/c/webpwnized/featured&lt;br /&gt;
* https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial&lt;br /&gt;
&lt;br /&gt;
Internal Links&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection_Examples_on_Known_Vulnerable_Web_Applications&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10885</id>
		<title>OWASP Mutillidae (2021)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10885"/>
		<updated>2023-01-08T12:12:55Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: /* Practical examples */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
OWASP Mutillidae is a free open source tool created for Pentesting of Web Applications. It is a &amp;quot;Vulnerable Web Application&amp;quot; that offers a Platform where the provided Exploits and Security flaws can be executed within a local environment. With over 40 different vulnerabilities and related training challenges, it provides a platform that shows the most common flaws of the last 15 years of web development. The vulnerabilities shown in the program are actual vulnerabilities within the application, so the application should only be run in a protected environment - such as a virtual machine. The current Version Mutillidae II was created by Jeremy Druin [https://www.youtube.com/c/webpwnized/featured] (pseudonym: webpwnized), who also created the Tutorials for the Challanges and Installation Guides. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How it Operates ==&lt;br /&gt;
&lt;br /&gt;
Every Vulnerability contained in the application is build in within a Webpage. By selecting the Exploit from a List (e.g. Authentication Bypass) a site with the corresponding explotable Webpage is loaded and ready to get &amp;quot;hacked&amp;quot;. Since everything run at your local machine you can not harm anyone. The data such as &amp;quot;User Data&amp;quot; are stored in a Database which you set up when you install the Application (see Installation for more Information).&lt;br /&gt;
&lt;br /&gt;
[[File:Muti-Dropdown.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Practical examples ==&lt;br /&gt;
&lt;br /&gt;
[[SQL_Injection]]-&amp;gt; SQLi Extract Data&lt;br /&gt;
&lt;br /&gt;
Now here is a short example how one vulnerability exploit could look like. In this case there is a query where user can request their userinformation by providing their credentials.&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-login.png]]&lt;br /&gt;
&lt;br /&gt;
Normally the query should only retrun only on record when correct credentials are entered.&lt;br /&gt;
&lt;br /&gt;
But this website is totally unsecure so we can easily rewrite the SQL query to give us a list of every user in the database. But how can we do this?&lt;br /&gt;
&lt;br /&gt;
===Step 1:=== &lt;br /&gt;
get an Exception by typing in invalid characters such as (&#039;, #, --)&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Exception.png]]&lt;br /&gt;
&lt;br /&gt;
===Step 2:=== &lt;br /&gt;
&lt;br /&gt;
Since we got an error message with the syntax how the sql statement is written we can alter the statement by simply put another statement in the form.&lt;br /&gt;
&lt;br /&gt;
In this case i wrote ’OR 1# in the username fields to alter the query which should be now&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM acccounts where username= ’ ’OR 1# AND password = ’’&lt;br /&gt;
&lt;br /&gt;
1 means true in SQL language and # is a comment so it ignores the password query. So our SQL String says now that it should gives as all datasets for which the condition is true which lead to following output:&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Extract-Data.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Cross-Site-Request_Forgery_(CSRF)]]-&amp;gt; Cross-Site-Request Forgery&lt;br /&gt;
This example can be found in the A5 section from the Owasp Top 10 examples, which is called &#039;Add to your blog&#039;.&lt;br /&gt;
Here we simulating an attack to vote for a security tool but without actually voting for it.&lt;br /&gt;
In the screenshot below you can see the site which we are attacking. So this site is basically the good site.&lt;br /&gt;
&lt;br /&gt;
[[File:UserPoll.PNG]]&lt;br /&gt;
&lt;br /&gt;
The evil site is in this case the &#039;Add to your blog&#039; site. Users can save a blog to a blog table. An attacker can you use this mechanism to manipulate a blog to fire an action.&lt;br /&gt;
Instead of a normal blog you can also add a script to the blog table. This script calls a method when you hover over the blog and it redirects to the voting site and votes for a security tool.&lt;br /&gt;
&lt;br /&gt;
[[File:Blogs.PNG]]&lt;br /&gt;
&lt;br /&gt;
The script can be found on the official github webiste for Mutillidae https://github.com/webpwnized/mutillidae/blob/master/labs/lab-files/cross-site-request-forgery-lab-files/vote-for-nmap-onmouseover-csrf.txt&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* over 40 vulnerabilities (OWASP Top Ten 2007, 2010, 2013 and 2017[https://owasp.org/www-project-top-ten/])&lt;br /&gt;
* Actually Vulnerable&lt;br /&gt;
* Simple Intallation and Maintaining&lt;br /&gt;
* User can switch between 3 security levels (no security, Client-side Security, Server-side Security)&lt;br /&gt;
* Used in web security courses&lt;br /&gt;
* Tutorials and Guides included in Application&lt;br /&gt;
* Updated frequently&lt;br /&gt;
&lt;br /&gt;
== Interface ==&lt;br /&gt;
[[File:Mutillidae-Interface.png]]&lt;br /&gt;
&lt;br /&gt;
By clicking on any Item on the right dropdown menu, you can select any of the OWASP Top Ten Challanges from the last 15 years.&lt;br /&gt;
&lt;br /&gt;
* Hints and Videos - leads you directly to a structured guide how the exercise could be completed.&lt;br /&gt;
* Toggle Security - you can choose between 3 Security levels for each exercise&lt;br /&gt;
* Reset DB - Clear all user Data &lt;br /&gt;
* Labs - Study Questions associated with the Exercises&lt;br /&gt;
&lt;br /&gt;
== Examples of Vulnerabilities ==&lt;br /&gt;
&lt;br /&gt;
* SQL Injections (SQLi)[https://wiki.elvis.science/index.php?title=SQL_Injection]&lt;br /&gt;
* Cross-Site-Scripting [https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)]&lt;br /&gt;
* Sensitive Data Exposure&lt;br /&gt;
* other Injection (CSS, HTML, JavaScript)&lt;br /&gt;
* and many more...&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Apache Webserver&lt;br /&gt;
* Database (MySQL/MariaDb)&lt;br /&gt;
* Packages: Sourcecode from git (https://github.com/webpwnized/mutillidae)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install Apache Webserver on your local Machine&lt;br /&gt;
* Install PHP on your local Machine&lt;br /&gt;
* Install a supported Database (e.g. MySQL, MariaDB)&lt;br /&gt;
* Install Metasploit, it includes everything you need to run mutillidae&lt;br /&gt;
&lt;br /&gt;
If you have a XAMPP/LAMPP stack set up aleady, you might skip directly to installing Mutillidae.&lt;br /&gt;
There are Videos from the creator which gives a [https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae ===&lt;br /&gt;
&lt;br /&gt;
Head to the Folder where Websites are stored in Apache Webserver this could be the &amp;quot;htdocs&amp;quot; folder under XAMPP or if manually installed under a linux distribution this might be the folder &amp;quot;/var/www/html/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download the Repository from github (see [[#Requirements]]) and copy the contents of the Repository into the Webservers folder. After these steps go on your localhost webpage and make sure you can access Mutillidae Webinterface&lt;br /&gt;
&lt;br /&gt;
To see if the database is correctly installed press the &amp;quot;Reset DB&amp;quot; Button on the Webinterface. If you see the Message that no PHP or SQL errors were detected when resseting the database, the intallation of mutillidae succeded.&lt;br /&gt;
[[File:Mutllidae-no-errors.png]]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae with Metasploit ===&lt;br /&gt;
A different method for installing Mutillidae is to install Metasploit. Metasploit is a penetration testing software which inlcudes everything you need to set up and run Mutillidae.&lt;br /&gt;
This means that you don&#039;t have to install all the other components you need for example a database, because Metasploit is doing this for.&lt;br /&gt;
After installing you can use the credentials msfadmin for the username and password in order to login into Metasploit.&lt;br /&gt;
When Metasploit is running Mutillidae is also accessible and for that you use the ip address of the machine where Metasploit is running on.&lt;br /&gt;
To look up the ip address you can use the &#039;ip a&#039; command in the CLI to find the ip address.&lt;br /&gt;
Sometimes it happens that Mutillidae cannot access the database. This problem occurs when the database name in the config file is not set.&lt;br /&gt;
To fix this problem you have to navigate to this config file which is found in this destination &#039;/var/www/mutillidae/config.inc&#039;.&lt;br /&gt;
In this config file you change the value of the variable called &#039;$dbname&#039; to &#039;owasp10&#039;. After this configuration Mutillidae can access the database.&lt;br /&gt;
&lt;br /&gt;
[[File:Config.PNG]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://owasp.org/www-project-top-ten/&lt;br /&gt;
* https://github.com/webpwnized/mutillidae&lt;br /&gt;
* https://www.youtube.com/c/webpwnized/featured&lt;br /&gt;
* https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial&lt;br /&gt;
&lt;br /&gt;
Internal Links&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection_Examples_on_Known_Vulnerable_Web_Applications&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10884</id>
		<title>OWASP Mutillidae (2021)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10884"/>
		<updated>2023-01-08T12:11:29Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: /* Practical examples */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
OWASP Mutillidae is a free open source tool created for Pentesting of Web Applications. It is a &amp;quot;Vulnerable Web Application&amp;quot; that offers a Platform where the provided Exploits and Security flaws can be executed within a local environment. With over 40 different vulnerabilities and related training challenges, it provides a platform that shows the most common flaws of the last 15 years of web development. The vulnerabilities shown in the program are actual vulnerabilities within the application, so the application should only be run in a protected environment - such as a virtual machine. The current Version Mutillidae II was created by Jeremy Druin [https://www.youtube.com/c/webpwnized/featured] (pseudonym: webpwnized), who also created the Tutorials for the Challanges and Installation Guides. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How it Operates ==&lt;br /&gt;
&lt;br /&gt;
Every Vulnerability contained in the application is build in within a Webpage. By selecting the Exploit from a List (e.g. Authentication Bypass) a site with the corresponding explotable Webpage is loaded and ready to get &amp;quot;hacked&amp;quot;. Since everything run at your local machine you can not harm anyone. The data such as &amp;quot;User Data&amp;quot; are stored in a Database which you set up when you install the Application (see Installation for more Information).&lt;br /&gt;
&lt;br /&gt;
[[File:Muti-Dropdown.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Practical examples ==&lt;br /&gt;
&lt;br /&gt;
[[SQL_Injection]]-&amp;gt; SQLi Extract Data&lt;br /&gt;
&lt;br /&gt;
Now here is a short example how one vulnerability exploit could look like. In this case there is a query where user can request their userinformation by providing their credentials.&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-login.png]]&lt;br /&gt;
&lt;br /&gt;
Normally the query should only retrun only on record when correct credentials are entered.&lt;br /&gt;
&lt;br /&gt;
But this website is totally unsecure so we can easily rewrite the SQL query to give us a list of every user in the database. But how can we do this?&lt;br /&gt;
&lt;br /&gt;
===Step 1:=== &lt;br /&gt;
get an Exception by typing in invalid characters such as (&#039;, #, --)&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Exception.png]]&lt;br /&gt;
&lt;br /&gt;
===Step 2:=== &lt;br /&gt;
&lt;br /&gt;
Since we got an error message with the syntax how the sql statement is written we can alter the statement by simply put another statement in the form.&lt;br /&gt;
&lt;br /&gt;
In this case i wrote ’OR 1# in the username fields to alter the query which should be now&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM acccounts where username= ’ ’OR 1# AND password = ’’&lt;br /&gt;
&lt;br /&gt;
1 means true in SQL language and # is a comment so it ignores the password query. So our SQL String says now that it should gives as all datasets for which the condition is true which lead to following output:&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Extract-Data.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Cross-Site-Request_Forgery_(CSRF)]]-&amp;gt; Cross-Site-Request Forgery&lt;br /&gt;
This example can be found in the A5 section from the Owasp Top 10 examples, which is called &#039;Add to your blog&#039;.&lt;br /&gt;
Here we simulating an attack to vote for a security tool but without actually voting for it.&lt;br /&gt;
In the screenshot below you can see the site which we are attacking. So this site is basically the good site.&lt;br /&gt;
&lt;br /&gt;
[[File:UserPoll.PNG]]&lt;br /&gt;
&lt;br /&gt;
The evil site is in this case the &#039;Add to your blog&#039; site. Users can save a blog to a blog table. An attacker can you use this mechanism to manipulate a blog to fire an action.&lt;br /&gt;
Instead of a normal blog you can also add a script to the blog table. This script calls a method when you hover over the blog and it redirects to the voting site and votes for a security tool.&lt;br /&gt;
[[File:Blogs.PNG]]&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* over 40 vulnerabilities (OWASP Top Ten 2007, 2010, 2013 and 2017[https://owasp.org/www-project-top-ten/])&lt;br /&gt;
* Actually Vulnerable&lt;br /&gt;
* Simple Intallation and Maintaining&lt;br /&gt;
* User can switch between 3 security levels (no security, Client-side Security, Server-side Security)&lt;br /&gt;
* Used in web security courses&lt;br /&gt;
* Tutorials and Guides included in Application&lt;br /&gt;
* Updated frequently&lt;br /&gt;
&lt;br /&gt;
== Interface ==&lt;br /&gt;
[[File:Mutillidae-Interface.png]]&lt;br /&gt;
&lt;br /&gt;
By clicking on any Item on the right dropdown menu, you can select any of the OWASP Top Ten Challanges from the last 15 years.&lt;br /&gt;
&lt;br /&gt;
* Hints and Videos - leads you directly to a structured guide how the exercise could be completed.&lt;br /&gt;
* Toggle Security - you can choose between 3 Security levels for each exercise&lt;br /&gt;
* Reset DB - Clear all user Data &lt;br /&gt;
* Labs - Study Questions associated with the Exercises&lt;br /&gt;
&lt;br /&gt;
== Examples of Vulnerabilities ==&lt;br /&gt;
&lt;br /&gt;
* SQL Injections (SQLi)[https://wiki.elvis.science/index.php?title=SQL_Injection]&lt;br /&gt;
* Cross-Site-Scripting [https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)]&lt;br /&gt;
* Sensitive Data Exposure&lt;br /&gt;
* other Injection (CSS, HTML, JavaScript)&lt;br /&gt;
* and many more...&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Apache Webserver&lt;br /&gt;
* Database (MySQL/MariaDb)&lt;br /&gt;
* Packages: Sourcecode from git (https://github.com/webpwnized/mutillidae)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install Apache Webserver on your local Machine&lt;br /&gt;
* Install PHP on your local Machine&lt;br /&gt;
* Install a supported Database (e.g. MySQL, MariaDB)&lt;br /&gt;
* Install Metasploit, it includes everything you need to run mutillidae&lt;br /&gt;
&lt;br /&gt;
If you have a XAMPP/LAMPP stack set up aleady, you might skip directly to installing Mutillidae.&lt;br /&gt;
There are Videos from the creator which gives a [https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae ===&lt;br /&gt;
&lt;br /&gt;
Head to the Folder where Websites are stored in Apache Webserver this could be the &amp;quot;htdocs&amp;quot; folder under XAMPP or if manually installed under a linux distribution this might be the folder &amp;quot;/var/www/html/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download the Repository from github (see [[#Requirements]]) and copy the contents of the Repository into the Webservers folder. After these steps go on your localhost webpage and make sure you can access Mutillidae Webinterface&lt;br /&gt;
&lt;br /&gt;
To see if the database is correctly installed press the &amp;quot;Reset DB&amp;quot; Button on the Webinterface. If you see the Message that no PHP or SQL errors were detected when resseting the database, the intallation of mutillidae succeded.&lt;br /&gt;
[[File:Mutllidae-no-errors.png]]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae with Metasploit ===&lt;br /&gt;
A different method for installing Mutillidae is to install Metasploit. Metasploit is a penetration testing software which inlcudes everything you need to set up and run Mutillidae.&lt;br /&gt;
This means that you don&#039;t have to install all the other components you need for example a database, because Metasploit is doing this for.&lt;br /&gt;
After installing you can use the credentials msfadmin for the username and password in order to login into Metasploit.&lt;br /&gt;
When Metasploit is running Mutillidae is also accessible and for that you use the ip address of the machine where Metasploit is running on.&lt;br /&gt;
To look up the ip address you can use the &#039;ip a&#039; command in the CLI to find the ip address.&lt;br /&gt;
Sometimes it happens that Mutillidae cannot access the database. This problem occurs when the database name in the config file is not set.&lt;br /&gt;
To fix this problem you have to navigate to this config file which is found in this destination &#039;/var/www/mutillidae/config.inc&#039;.&lt;br /&gt;
In this config file you change the value of the variable called &#039;$dbname&#039; to &#039;owasp10&#039;. After this configuration Mutillidae can access the database.&lt;br /&gt;
&lt;br /&gt;
[[File:Config.PNG]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://owasp.org/www-project-top-ten/&lt;br /&gt;
* https://github.com/webpwnized/mutillidae&lt;br /&gt;
* https://www.youtube.com/c/webpwnized/featured&lt;br /&gt;
* https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial&lt;br /&gt;
&lt;br /&gt;
Internal Links&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection_Examples_on_Known_Vulnerable_Web_Applications&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=File:Blogs.PNG&amp;diff=10883</id>
		<title>File:Blogs.PNG</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=File:Blogs.PNG&amp;diff=10883"/>
		<updated>2023-01-08T12:11:10Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10882</id>
		<title>OWASP Mutillidae (2021)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10882"/>
		<updated>2023-01-08T12:09:47Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: /* Practical example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
OWASP Mutillidae is a free open source tool created for Pentesting of Web Applications. It is a &amp;quot;Vulnerable Web Application&amp;quot; that offers a Platform where the provided Exploits and Security flaws can be executed within a local environment. With over 40 different vulnerabilities and related training challenges, it provides a platform that shows the most common flaws of the last 15 years of web development. The vulnerabilities shown in the program are actual vulnerabilities within the application, so the application should only be run in a protected environment - such as a virtual machine. The current Version Mutillidae II was created by Jeremy Druin [https://www.youtube.com/c/webpwnized/featured] (pseudonym: webpwnized), who also created the Tutorials for the Challanges and Installation Guides. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How it Operates ==&lt;br /&gt;
&lt;br /&gt;
Every Vulnerability contained in the application is build in within a Webpage. By selecting the Exploit from a List (e.g. Authentication Bypass) a site with the corresponding explotable Webpage is loaded and ready to get &amp;quot;hacked&amp;quot;. Since everything run at your local machine you can not harm anyone. The data such as &amp;quot;User Data&amp;quot; are stored in a Database which you set up when you install the Application (see Installation for more Information).&lt;br /&gt;
&lt;br /&gt;
[[File:Muti-Dropdown.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Practical examples ==&lt;br /&gt;
&lt;br /&gt;
[[SQL_Injection]]-&amp;gt; SQLi Extract Data&lt;br /&gt;
&lt;br /&gt;
Now here is a short example how one vulnerability exploit could look like. In this case there is a query where user can request their userinformation by providing their credentials.&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-login.png]]&lt;br /&gt;
&lt;br /&gt;
Normally the query should only retrun only on record when correct credentials are entered.&lt;br /&gt;
&lt;br /&gt;
But this website is totally unsecure so we can easily rewrite the SQL query to give us a list of every user in the database. But how can we do this?&lt;br /&gt;
&lt;br /&gt;
===Step 1:=== &lt;br /&gt;
get an Exception by typing in invalid characters such as (&#039;, #, --)&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Exception.png]]&lt;br /&gt;
&lt;br /&gt;
===Step 2:=== &lt;br /&gt;
&lt;br /&gt;
Since we got an error message with the syntax how the sql statement is written we can alter the statement by simply put another statement in the form.&lt;br /&gt;
&lt;br /&gt;
In this case i wrote ’OR 1# in the username fields to alter the query which should be now&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM acccounts where username= ’ ’OR 1# AND password = ’’&lt;br /&gt;
&lt;br /&gt;
1 means true in SQL language and # is a comment so it ignores the password query. So our SQL String says now that it should gives as all datasets for which the condition is true which lead to following output:&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Extract-Data.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Cross-Site-Request_Forgery_(CSRF)]]-&amp;gt; Cross-Site-Request Forgery&lt;br /&gt;
This example can be found in the A5 section from the Owasp Top 10 examples, which is called &#039;Add to your blog&#039;.&lt;br /&gt;
Here we simulating an attack to vote for a security tool but without actually voting for it.&lt;br /&gt;
In the screenshot below you can see the site which we are attacking. So this site is basically the good site.&lt;br /&gt;
[[File:UserPoll.PNG]]&lt;br /&gt;
The evil site is in this case the &#039;Add to your blog&#039; site. Users can save a blog to a blog table. An attacker can you use this mechanism to manipulate a blog to fire an action.&lt;br /&gt;
Instead of a normal blog you can also add a script to the blog table. This script calls a method when you hover over the blog and it redirects to the voting site and votes for a security tool.&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* over 40 vulnerabilities (OWASP Top Ten 2007, 2010, 2013 and 2017[https://owasp.org/www-project-top-ten/])&lt;br /&gt;
* Actually Vulnerable&lt;br /&gt;
* Simple Intallation and Maintaining&lt;br /&gt;
* User can switch between 3 security levels (no security, Client-side Security, Server-side Security)&lt;br /&gt;
* Used in web security courses&lt;br /&gt;
* Tutorials and Guides included in Application&lt;br /&gt;
* Updated frequently&lt;br /&gt;
&lt;br /&gt;
== Interface ==&lt;br /&gt;
[[File:Mutillidae-Interface.png]]&lt;br /&gt;
&lt;br /&gt;
By clicking on any Item on the right dropdown menu, you can select any of the OWASP Top Ten Challanges from the last 15 years.&lt;br /&gt;
&lt;br /&gt;
* Hints and Videos - leads you directly to a structured guide how the exercise could be completed.&lt;br /&gt;
* Toggle Security - you can choose between 3 Security levels for each exercise&lt;br /&gt;
* Reset DB - Clear all user Data &lt;br /&gt;
* Labs - Study Questions associated with the Exercises&lt;br /&gt;
&lt;br /&gt;
== Examples of Vulnerabilities ==&lt;br /&gt;
&lt;br /&gt;
* SQL Injections (SQLi)[https://wiki.elvis.science/index.php?title=SQL_Injection]&lt;br /&gt;
* Cross-Site-Scripting [https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)]&lt;br /&gt;
* Sensitive Data Exposure&lt;br /&gt;
* other Injection (CSS, HTML, JavaScript)&lt;br /&gt;
* and many more...&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Apache Webserver&lt;br /&gt;
* Database (MySQL/MariaDb)&lt;br /&gt;
* Packages: Sourcecode from git (https://github.com/webpwnized/mutillidae)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install Apache Webserver on your local Machine&lt;br /&gt;
* Install PHP on your local Machine&lt;br /&gt;
* Install a supported Database (e.g. MySQL, MariaDB)&lt;br /&gt;
* Install Metasploit, it includes everything you need to run mutillidae&lt;br /&gt;
&lt;br /&gt;
If you have a XAMPP/LAMPP stack set up aleady, you might skip directly to installing Mutillidae.&lt;br /&gt;
There are Videos from the creator which gives a [https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae ===&lt;br /&gt;
&lt;br /&gt;
Head to the Folder where Websites are stored in Apache Webserver this could be the &amp;quot;htdocs&amp;quot; folder under XAMPP or if manually installed under a linux distribution this might be the folder &amp;quot;/var/www/html/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download the Repository from github (see [[#Requirements]]) and copy the contents of the Repository into the Webservers folder. After these steps go on your localhost webpage and make sure you can access Mutillidae Webinterface&lt;br /&gt;
&lt;br /&gt;
To see if the database is correctly installed press the &amp;quot;Reset DB&amp;quot; Button on the Webinterface. If you see the Message that no PHP or SQL errors were detected when resseting the database, the intallation of mutillidae succeded.&lt;br /&gt;
[[File:Mutllidae-no-errors.png]]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae with Metasploit ===&lt;br /&gt;
A different method for installing Mutillidae is to install Metasploit. Metasploit is a penetration testing software which inlcudes everything you need to set up and run Mutillidae.&lt;br /&gt;
This means that you don&#039;t have to install all the other components you need for example a database, because Metasploit is doing this for.&lt;br /&gt;
After installing you can use the credentials msfadmin for the username and password in order to login into Metasploit.&lt;br /&gt;
When Metasploit is running Mutillidae is also accessible and for that you use the ip address of the machine where Metasploit is running on.&lt;br /&gt;
To look up the ip address you can use the &#039;ip a&#039; command in the CLI to find the ip address.&lt;br /&gt;
Sometimes it happens that Mutillidae cannot access the database. This problem occurs when the database name in the config file is not set.&lt;br /&gt;
To fix this problem you have to navigate to this config file which is found in this destination &#039;/var/www/mutillidae/config.inc&#039;.&lt;br /&gt;
In this config file you change the value of the variable called &#039;$dbname&#039; to &#039;owasp10&#039;. After this configuration Mutillidae can access the database.&lt;br /&gt;
&lt;br /&gt;
[[File:Config.PNG]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://owasp.org/www-project-top-ten/&lt;br /&gt;
* https://github.com/webpwnized/mutillidae&lt;br /&gt;
* https://www.youtube.com/c/webpwnized/featured&lt;br /&gt;
* https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial&lt;br /&gt;
&lt;br /&gt;
Internal Links&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection_Examples_on_Known_Vulnerable_Web_Applications&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10881</id>
		<title>OWASP Mutillidae (2021)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10881"/>
		<updated>2023-01-08T12:02:53Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: /* Installing Mutillidae with Metasploit */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
OWASP Mutillidae is a free open source tool created for Pentesting of Web Applications. It is a &amp;quot;Vulnerable Web Application&amp;quot; that offers a Platform where the provided Exploits and Security flaws can be executed within a local environment. With over 40 different vulnerabilities and related training challenges, it provides a platform that shows the most common flaws of the last 15 years of web development. The vulnerabilities shown in the program are actual vulnerabilities within the application, so the application should only be run in a protected environment - such as a virtual machine. The current Version Mutillidae II was created by Jeremy Druin [https://www.youtube.com/c/webpwnized/featured] (pseudonym: webpwnized), who also created the Tutorials for the Challanges and Installation Guides. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How it Operates ==&lt;br /&gt;
&lt;br /&gt;
Every Vulnerability contained in the application is build in within a Webpage. By selecting the Exploit from a List (e.g. Authentication Bypass) a site with the corresponding explotable Webpage is loaded and ready to get &amp;quot;hacked&amp;quot;. Since everything run at your local machine you can not harm anyone. The data such as &amp;quot;User Data&amp;quot; are stored in a Database which you set up when you install the Application (see Installation for more Information).&lt;br /&gt;
&lt;br /&gt;
[[File:Muti-Dropdown.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Practical example ==&lt;br /&gt;
&lt;br /&gt;
[[SQL_Injection]]-&amp;gt; SQLi Extract Data&lt;br /&gt;
&lt;br /&gt;
Now here is a short example how one vulnerability exploit could look like. In this case there is a query where user can request their userinformation by providing their credentials.&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-login.png]]&lt;br /&gt;
&lt;br /&gt;
Normally the query should only retrun only on record when correct credentials are entered.&lt;br /&gt;
&lt;br /&gt;
But this website is totally unsecure so we can easily rewrite the SQL query to give us a list of every user in the database. But how can we do this?&lt;br /&gt;
&lt;br /&gt;
===Step 1:=== &lt;br /&gt;
get an Exception by typing in invalid characters such as (&#039;, #, --)&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Exception.png]]&lt;br /&gt;
&lt;br /&gt;
===Step 2:=== &lt;br /&gt;
&lt;br /&gt;
Since we got an error message with the syntax how the sql statement is written we can alter the statement by simply put another statement in the form.&lt;br /&gt;
&lt;br /&gt;
In this case i wrote ’OR 1# in the username fields to alter the query which should be now&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM acccounts where username= ’ ’OR 1# AND password = ’’&lt;br /&gt;
&lt;br /&gt;
1 means true in SQL language and # is a comment so it ignores the password query. So our SQL String says now that it should gives as all datasets for which the condition is true which lead to following output:&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Extract-Data.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Cross-Site-Request_Forgery_(CSRF)]]-&amp;gt; Cross-Site-Request Forgery&lt;br /&gt;
This example can be found in the A5 section from the Owasp Top 10 examples, which is called &#039;Add to your blog&#039;.&lt;br /&gt;
Here we simulating an attack to vote for a security tool but without actually voting for it.&lt;br /&gt;
In the screenshot below you can the site which we are attacking. So this site is basically the good site.&lt;br /&gt;
The evil site is in this case the &#039;Add to your blog&#039; site. Users can save a blog to a table. An attacker can you use this mechanism to&lt;br /&gt;
[[File:UserPoll.PNG]]&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* over 40 vulnerabilities (OWASP Top Ten 2007, 2010, 2013 and 2017[https://owasp.org/www-project-top-ten/])&lt;br /&gt;
* Actually Vulnerable&lt;br /&gt;
* Simple Intallation and Maintaining&lt;br /&gt;
* User can switch between 3 security levels (no security, Client-side Security, Server-side Security)&lt;br /&gt;
* Used in web security courses&lt;br /&gt;
* Tutorials and Guides included in Application&lt;br /&gt;
* Updated frequently&lt;br /&gt;
&lt;br /&gt;
== Interface ==&lt;br /&gt;
[[File:Mutillidae-Interface.png]]&lt;br /&gt;
&lt;br /&gt;
By clicking on any Item on the right dropdown menu, you can select any of the OWASP Top Ten Challanges from the last 15 years.&lt;br /&gt;
&lt;br /&gt;
* Hints and Videos - leads you directly to a structured guide how the exercise could be completed.&lt;br /&gt;
* Toggle Security - you can choose between 3 Security levels for each exercise&lt;br /&gt;
* Reset DB - Clear all user Data &lt;br /&gt;
* Labs - Study Questions associated with the Exercises&lt;br /&gt;
&lt;br /&gt;
== Examples of Vulnerabilities ==&lt;br /&gt;
&lt;br /&gt;
* SQL Injections (SQLi)[https://wiki.elvis.science/index.php?title=SQL_Injection]&lt;br /&gt;
* Cross-Site-Scripting [https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)]&lt;br /&gt;
* Sensitive Data Exposure&lt;br /&gt;
* other Injection (CSS, HTML, JavaScript)&lt;br /&gt;
* and many more...&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Apache Webserver&lt;br /&gt;
* Database (MySQL/MariaDb)&lt;br /&gt;
* Packages: Sourcecode from git (https://github.com/webpwnized/mutillidae)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install Apache Webserver on your local Machine&lt;br /&gt;
* Install PHP on your local Machine&lt;br /&gt;
* Install a supported Database (e.g. MySQL, MariaDB)&lt;br /&gt;
* Install Metasploit, it includes everything you need to run mutillidae&lt;br /&gt;
&lt;br /&gt;
If you have a XAMPP/LAMPP stack set up aleady, you might skip directly to installing Mutillidae.&lt;br /&gt;
There are Videos from the creator which gives a [https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae ===&lt;br /&gt;
&lt;br /&gt;
Head to the Folder where Websites are stored in Apache Webserver this could be the &amp;quot;htdocs&amp;quot; folder under XAMPP or if manually installed under a linux distribution this might be the folder &amp;quot;/var/www/html/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download the Repository from github (see [[#Requirements]]) and copy the contents of the Repository into the Webservers folder. After these steps go on your localhost webpage and make sure you can access Mutillidae Webinterface&lt;br /&gt;
&lt;br /&gt;
To see if the database is correctly installed press the &amp;quot;Reset DB&amp;quot; Button on the Webinterface. If you see the Message that no PHP or SQL errors were detected when resseting the database, the intallation of mutillidae succeded.&lt;br /&gt;
[[File:Mutllidae-no-errors.png]]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae with Metasploit ===&lt;br /&gt;
A different method for installing Mutillidae is to install Metasploit. Metasploit is a penetration testing software which inlcudes everything you need to set up and run Mutillidae.&lt;br /&gt;
This means that you don&#039;t have to install all the other components you need for example a database, because Metasploit is doing this for.&lt;br /&gt;
After installing you can use the credentials msfadmin for the username and password in order to login into Metasploit.&lt;br /&gt;
When Metasploit is running Mutillidae is also accessible and for that you use the ip address of the machine where Metasploit is running on.&lt;br /&gt;
To look up the ip address you can use the &#039;ip a&#039; command in the CLI to find the ip address.&lt;br /&gt;
Sometimes it happens that Mutillidae cannot access the database. This problem occurs when the database name in the config file is not set.&lt;br /&gt;
To fix this problem you have to navigate to this config file which is found in this destination &#039;/var/www/mutillidae/config.inc&#039;.&lt;br /&gt;
In this config file you change the value of the variable called &#039;$dbname&#039; to &#039;owasp10&#039;. After this configuration Mutillidae can access the database.&lt;br /&gt;
&lt;br /&gt;
[[File:Config.PNG]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://owasp.org/www-project-top-ten/&lt;br /&gt;
* https://github.com/webpwnized/mutillidae&lt;br /&gt;
* https://www.youtube.com/c/webpwnized/featured&lt;br /&gt;
* https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial&lt;br /&gt;
&lt;br /&gt;
Internal Links&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection_Examples_on_Known_Vulnerable_Web_Applications&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10880</id>
		<title>OWASP Mutillidae (2021)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10880"/>
		<updated>2023-01-08T12:01:27Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: /* Practical example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
OWASP Mutillidae is a free open source tool created for Pentesting of Web Applications. It is a &amp;quot;Vulnerable Web Application&amp;quot; that offers a Platform where the provided Exploits and Security flaws can be executed within a local environment. With over 40 different vulnerabilities and related training challenges, it provides a platform that shows the most common flaws of the last 15 years of web development. The vulnerabilities shown in the program are actual vulnerabilities within the application, so the application should only be run in a protected environment - such as a virtual machine. The current Version Mutillidae II was created by Jeremy Druin [https://www.youtube.com/c/webpwnized/featured] (pseudonym: webpwnized), who also created the Tutorials for the Challanges and Installation Guides. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How it Operates ==&lt;br /&gt;
&lt;br /&gt;
Every Vulnerability contained in the application is build in within a Webpage. By selecting the Exploit from a List (e.g. Authentication Bypass) a site with the corresponding explotable Webpage is loaded and ready to get &amp;quot;hacked&amp;quot;. Since everything run at your local machine you can not harm anyone. The data such as &amp;quot;User Data&amp;quot; are stored in a Database which you set up when you install the Application (see Installation for more Information).&lt;br /&gt;
&lt;br /&gt;
[[File:Muti-Dropdown.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Practical example ==&lt;br /&gt;
&lt;br /&gt;
[[SQL_Injection]]-&amp;gt; SQLi Extract Data&lt;br /&gt;
&lt;br /&gt;
Now here is a short example how one vulnerability exploit could look like. In this case there is a query where user can request their userinformation by providing their credentials.&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-login.png]]&lt;br /&gt;
&lt;br /&gt;
Normally the query should only retrun only on record when correct credentials are entered.&lt;br /&gt;
&lt;br /&gt;
But this website is totally unsecure so we can easily rewrite the SQL query to give us a list of every user in the database. But how can we do this?&lt;br /&gt;
&lt;br /&gt;
===Step 1:=== &lt;br /&gt;
get an Exception by typing in invalid characters such as (&#039;, #, --)&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Exception.png]]&lt;br /&gt;
&lt;br /&gt;
===Step 2:=== &lt;br /&gt;
&lt;br /&gt;
Since we got an error message with the syntax how the sql statement is written we can alter the statement by simply put another statement in the form.&lt;br /&gt;
&lt;br /&gt;
In this case i wrote ’OR 1# in the username fields to alter the query which should be now&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM acccounts where username= ’ ’OR 1# AND password = ’’&lt;br /&gt;
&lt;br /&gt;
1 means true in SQL language and # is a comment so it ignores the password query. So our SQL String says now that it should gives as all datasets for which the condition is true which lead to following output:&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Extract-Data.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Cross-Site-Request_Forgery_(CSRF)]]-&amp;gt; Cross-Site-Request Forgery&lt;br /&gt;
This example can be found in the A5 section from the Owasp Top 10 examples, which is called &#039;Add to your blog&#039;.&lt;br /&gt;
Here we simulating an attack to vote for a security tool but without actually voting for it.&lt;br /&gt;
In the screenshot below you can the site which we are attacking. So this site is basically the good site.&lt;br /&gt;
The evil site is in this case the &#039;Add to your blog&#039; site. Users can save a blog to a table. An attacker can you use this mechanism to&lt;br /&gt;
[[File:UserPoll.PNG]]&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* over 40 vulnerabilities (OWASP Top Ten 2007, 2010, 2013 and 2017[https://owasp.org/www-project-top-ten/])&lt;br /&gt;
* Actually Vulnerable&lt;br /&gt;
* Simple Intallation and Maintaining&lt;br /&gt;
* User can switch between 3 security levels (no security, Client-side Security, Server-side Security)&lt;br /&gt;
* Used in web security courses&lt;br /&gt;
* Tutorials and Guides included in Application&lt;br /&gt;
* Updated frequently&lt;br /&gt;
&lt;br /&gt;
== Interface ==&lt;br /&gt;
[[File:Mutillidae-Interface.png]]&lt;br /&gt;
&lt;br /&gt;
By clicking on any Item on the right dropdown menu, you can select any of the OWASP Top Ten Challanges from the last 15 years.&lt;br /&gt;
&lt;br /&gt;
* Hints and Videos - leads you directly to a structured guide how the exercise could be completed.&lt;br /&gt;
* Toggle Security - you can choose between 3 Security levels for each exercise&lt;br /&gt;
* Reset DB - Clear all user Data &lt;br /&gt;
* Labs - Study Questions associated with the Exercises&lt;br /&gt;
&lt;br /&gt;
== Examples of Vulnerabilities ==&lt;br /&gt;
&lt;br /&gt;
* SQL Injections (SQLi)[https://wiki.elvis.science/index.php?title=SQL_Injection]&lt;br /&gt;
* Cross-Site-Scripting [https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)]&lt;br /&gt;
* Sensitive Data Exposure&lt;br /&gt;
* other Injection (CSS, HTML, JavaScript)&lt;br /&gt;
* and many more...&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Apache Webserver&lt;br /&gt;
* Database (MySQL/MariaDb)&lt;br /&gt;
* Packages: Sourcecode from git (https://github.com/webpwnized/mutillidae)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install Apache Webserver on your local Machine&lt;br /&gt;
* Install PHP on your local Machine&lt;br /&gt;
* Install a supported Database (e.g. MySQL, MariaDB)&lt;br /&gt;
* Install Metasploit, it includes everything you need to run mutillidae&lt;br /&gt;
&lt;br /&gt;
If you have a XAMPP/LAMPP stack set up aleady, you might skip directly to installing Mutillidae.&lt;br /&gt;
There are Videos from the creator which gives a [https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae ===&lt;br /&gt;
&lt;br /&gt;
Head to the Folder where Websites are stored in Apache Webserver this could be the &amp;quot;htdocs&amp;quot; folder under XAMPP or if manually installed under a linux distribution this might be the folder &amp;quot;/var/www/html/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download the Repository from github (see [[#Requirements]]) and copy the contents of the Repository into the Webservers folder. After these steps go on your localhost webpage and make sure you can access Mutillidae Webinterface&lt;br /&gt;
&lt;br /&gt;
To see if the database is correctly installed press the &amp;quot;Reset DB&amp;quot; Button on the Webinterface. If you see the Message that no PHP or SQL errors were detected when resseting the database, the intallation of mutillidae succeded.&lt;br /&gt;
[[File:Mutllidae-no-errors.png]]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae with Metasploit ===&lt;br /&gt;
A different method for installing Mutillidae is to install metasploit. Metasploit is a penetration testing software which inlcudes everything you need to set up and run Mutillidae.&lt;br /&gt;
This means that you don&#039;t have to install all the other components you need for example a database, because Metasploit is doing this for.&lt;br /&gt;
After installing you can use the credentials msfadmin for the username and password in order to login into Metasploit.&lt;br /&gt;
When Metasploit is running Mutillidae is also accessible and for that you use the ip address of the machine where Metasploit is running on.&lt;br /&gt;
To look up the ip address you can use the &#039;ip a&#039; command in the CLI to find the ip address.&lt;br /&gt;
Sometimes it happens that Mutillidae cannot access the database. This problem occurs when the database name in the config file is not set.&lt;br /&gt;
To fix this problem you have to navigate to this config file which is found in this destination &#039;/var/www/mutillidae/config.inc&#039;.&lt;br /&gt;
In this config file you change the value of the variable called &#039;$dbname&#039; to &#039;owasp10&#039;. After this configuration Mutillidae can access the database.&lt;br /&gt;
&lt;br /&gt;
[[File:Config.PNG]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://owasp.org/www-project-top-ten/&lt;br /&gt;
* https://github.com/webpwnized/mutillidae&lt;br /&gt;
* https://www.youtube.com/c/webpwnized/featured&lt;br /&gt;
* https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial&lt;br /&gt;
&lt;br /&gt;
Internal Links&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection_Examples_on_Known_Vulnerable_Web_Applications&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10878</id>
		<title>OWASP Mutillidae (2021)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10878"/>
		<updated>2023-01-08T11:57:04Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: /* Installing Mutillidae */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
OWASP Mutillidae is a free open source tool created for Pentesting of Web Applications. It is a &amp;quot;Vulnerable Web Application&amp;quot; that offers a Platform where the provided Exploits and Security flaws can be executed within a local environment. With over 40 different vulnerabilities and related training challenges, it provides a platform that shows the most common flaws of the last 15 years of web development. The vulnerabilities shown in the program are actual vulnerabilities within the application, so the application should only be run in a protected environment - such as a virtual machine. The current Version Mutillidae II was created by Jeremy Druin [https://www.youtube.com/c/webpwnized/featured] (pseudonym: webpwnized), who also created the Tutorials for the Challanges and Installation Guides. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How it Operates ==&lt;br /&gt;
&lt;br /&gt;
Every Vulnerability contained in the application is build in within a Webpage. By selecting the Exploit from a List (e.g. Authentication Bypass) a site with the corresponding explotable Webpage is loaded and ready to get &amp;quot;hacked&amp;quot;. Since everything run at your local machine you can not harm anyone. The data such as &amp;quot;User Data&amp;quot; are stored in a Database which you set up when you install the Application (see Installation for more Information).&lt;br /&gt;
&lt;br /&gt;
[[File:Muti-Dropdown.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Practical example ==&lt;br /&gt;
&lt;br /&gt;
[[SQL_Injection]]-&amp;gt; SQLi Extract Data&lt;br /&gt;
&lt;br /&gt;
Now here is a short example how one vulnerability exploit could look like. In this case there is a query where user can request their userinformation by providing their credentials.&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-login.png]]&lt;br /&gt;
&lt;br /&gt;
Normally the query should only retrun only on record when correct credentials are entered.&lt;br /&gt;
&lt;br /&gt;
But this website is totally unsecure so we can easily rewrite the SQL query to give us a list of every user in the database. But how can we do this?&lt;br /&gt;
&lt;br /&gt;
===Step 1:=== &lt;br /&gt;
get an Exception by typing in invalid characters such as (&#039;, #, --)&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Exception.png]]&lt;br /&gt;
&lt;br /&gt;
===Step 2:=== &lt;br /&gt;
&lt;br /&gt;
Since we got an error message with the syntax how the sql statement is written we can alter the statement by simply put another statement in the form.&lt;br /&gt;
&lt;br /&gt;
In this case i wrote ’OR 1# in the username fields to alter the query which should be now&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM acccounts where username= ’ ’OR 1# AND password = ’’&lt;br /&gt;
&lt;br /&gt;
1 means true in SQL language and # is a comment so it ignores the password query. So our SQL String says now that it should gives as all datasets for which the condition is true which lead to following output:&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Extract-Data.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Cross-Site-Request_Forgery_(CSRF)]]-&amp;gt; Cross-Site-Request Forgery&lt;br /&gt;
This example can be found in the A5 section from the Owasp Top 10 examples, which is called &#039;Add to your blog&#039;.&lt;br /&gt;
Here we simulating an attack to vote for a security tool but without actually voting for it.&lt;br /&gt;
&lt;br /&gt;
[[File:UserPoll.PNG]]&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* over 40 vulnerabilities (OWASP Top Ten 2007, 2010, 2013 and 2017[https://owasp.org/www-project-top-ten/])&lt;br /&gt;
* Actually Vulnerable&lt;br /&gt;
* Simple Intallation and Maintaining&lt;br /&gt;
* User can switch between 3 security levels (no security, Client-side Security, Server-side Security)&lt;br /&gt;
* Used in web security courses&lt;br /&gt;
* Tutorials and Guides included in Application&lt;br /&gt;
* Updated frequently&lt;br /&gt;
&lt;br /&gt;
== Interface ==&lt;br /&gt;
[[File:Mutillidae-Interface.png]]&lt;br /&gt;
&lt;br /&gt;
By clicking on any Item on the right dropdown menu, you can select any of the OWASP Top Ten Challanges from the last 15 years.&lt;br /&gt;
&lt;br /&gt;
* Hints and Videos - leads you directly to a structured guide how the exercise could be completed.&lt;br /&gt;
* Toggle Security - you can choose between 3 Security levels for each exercise&lt;br /&gt;
* Reset DB - Clear all user Data &lt;br /&gt;
* Labs - Study Questions associated with the Exercises&lt;br /&gt;
&lt;br /&gt;
== Examples of Vulnerabilities ==&lt;br /&gt;
&lt;br /&gt;
* SQL Injections (SQLi)[https://wiki.elvis.science/index.php?title=SQL_Injection]&lt;br /&gt;
* Cross-Site-Scripting [https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)]&lt;br /&gt;
* Sensitive Data Exposure&lt;br /&gt;
* other Injection (CSS, HTML, JavaScript)&lt;br /&gt;
* and many more...&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Apache Webserver&lt;br /&gt;
* Database (MySQL/MariaDb)&lt;br /&gt;
* Packages: Sourcecode from git (https://github.com/webpwnized/mutillidae)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install Apache Webserver on your local Machine&lt;br /&gt;
* Install PHP on your local Machine&lt;br /&gt;
* Install a supported Database (e.g. MySQL, MariaDB)&lt;br /&gt;
* Install Metasploit, it includes everything you need to run mutillidae&lt;br /&gt;
&lt;br /&gt;
If you have a XAMPP/LAMPP stack set up aleady, you might skip directly to installing Mutillidae.&lt;br /&gt;
There are Videos from the creator which gives a [https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae ===&lt;br /&gt;
&lt;br /&gt;
Head to the Folder where Websites are stored in Apache Webserver this could be the &amp;quot;htdocs&amp;quot; folder under XAMPP or if manually installed under a linux distribution this might be the folder &amp;quot;/var/www/html/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download the Repository from github (see [[#Requirements]]) and copy the contents of the Repository into the Webservers folder. After these steps go on your localhost webpage and make sure you can access Mutillidae Webinterface&lt;br /&gt;
&lt;br /&gt;
To see if the database is correctly installed press the &amp;quot;Reset DB&amp;quot; Button on the Webinterface. If you see the Message that no PHP or SQL errors were detected when resseting the database, the intallation of mutillidae succeded.&lt;br /&gt;
[[File:Mutllidae-no-errors.png]]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae with Metasploit ===&lt;br /&gt;
A different method for installing Mutillidae is to install metasploit. Metasploit is a penetration testing software which inlcudes everything you need to set up and run Mutillidae.&lt;br /&gt;
This means that you don&#039;t have to install all the other components you need for example a database, because Metasploit is doing this for.&lt;br /&gt;
After installing you can use the credentials msfadmin for the username and password in order to login into Metasploit.&lt;br /&gt;
When Metasploit is running Mutillidae is also accessible and for that you use the ip address of the machine where Metasploit is running on.&lt;br /&gt;
To look up the ip address you can use the &#039;ip a&#039; command in the CLI to find the ip address.&lt;br /&gt;
Sometimes it happens that Mutillidae cannot access the database. This problem occurs when the database name in the config file is not set.&lt;br /&gt;
To fix this problem you have to navigate to this config file which is found in this destination &#039;/var/www/mutillidae/config.inc&#039;.&lt;br /&gt;
In this config file you change the value of the variable called &#039;$dbname&#039; to &#039;owasp10&#039;. After this configuration Mutillidae can access the database.&lt;br /&gt;
&lt;br /&gt;
[[File:Config.PNG]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://owasp.org/www-project-top-ten/&lt;br /&gt;
* https://github.com/webpwnized/mutillidae&lt;br /&gt;
* https://www.youtube.com/c/webpwnized/featured&lt;br /&gt;
* https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial&lt;br /&gt;
&lt;br /&gt;
Internal Links&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection_Examples_on_Known_Vulnerable_Web_Applications&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10877</id>
		<title>OWASP Mutillidae (2021)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10877"/>
		<updated>2023-01-08T11:56:58Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: /* Installing Mutillidae with Metasploit */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
OWASP Mutillidae is a free open source tool created for Pentesting of Web Applications. It is a &amp;quot;Vulnerable Web Application&amp;quot; that offers a Platform where the provided Exploits and Security flaws can be executed within a local environment. With over 40 different vulnerabilities and related training challenges, it provides a platform that shows the most common flaws of the last 15 years of web development. The vulnerabilities shown in the program are actual vulnerabilities within the application, so the application should only be run in a protected environment - such as a virtual machine. The current Version Mutillidae II was created by Jeremy Druin [https://www.youtube.com/c/webpwnized/featured] (pseudonym: webpwnized), who also created the Tutorials for the Challanges and Installation Guides. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How it Operates ==&lt;br /&gt;
&lt;br /&gt;
Every Vulnerability contained in the application is build in within a Webpage. By selecting the Exploit from a List (e.g. Authentication Bypass) a site with the corresponding explotable Webpage is loaded and ready to get &amp;quot;hacked&amp;quot;. Since everything run at your local machine you can not harm anyone. The data such as &amp;quot;User Data&amp;quot; are stored in a Database which you set up when you install the Application (see Installation for more Information).&lt;br /&gt;
&lt;br /&gt;
[[File:Muti-Dropdown.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Practical example ==&lt;br /&gt;
&lt;br /&gt;
[[SQL_Injection]]-&amp;gt; SQLi Extract Data&lt;br /&gt;
&lt;br /&gt;
Now here is a short example how one vulnerability exploit could look like. In this case there is a query where user can request their userinformation by providing their credentials.&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-login.png]]&lt;br /&gt;
&lt;br /&gt;
Normally the query should only retrun only on record when correct credentials are entered.&lt;br /&gt;
&lt;br /&gt;
But this website is totally unsecure so we can easily rewrite the SQL query to give us a list of every user in the database. But how can we do this?&lt;br /&gt;
&lt;br /&gt;
===Step 1:=== &lt;br /&gt;
get an Exception by typing in invalid characters such as (&#039;, #, --)&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Exception.png]]&lt;br /&gt;
&lt;br /&gt;
===Step 2:=== &lt;br /&gt;
&lt;br /&gt;
Since we got an error message with the syntax how the sql statement is written we can alter the statement by simply put another statement in the form.&lt;br /&gt;
&lt;br /&gt;
In this case i wrote ’OR 1# in the username fields to alter the query which should be now&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM acccounts where username= ’ ’OR 1# AND password = ’’&lt;br /&gt;
&lt;br /&gt;
1 means true in SQL language and # is a comment so it ignores the password query. So our SQL String says now that it should gives as all datasets for which the condition is true which lead to following output:&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Extract-Data.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Cross-Site-Request_Forgery_(CSRF)]]-&amp;gt; Cross-Site-Request Forgery&lt;br /&gt;
This example can be found in the A5 section from the Owasp Top 10 examples, which is called &#039;Add to your blog&#039;.&lt;br /&gt;
Here we simulating an attack to vote for a security tool but without actually voting for it.&lt;br /&gt;
&lt;br /&gt;
[[File:UserPoll.PNG]]&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* over 40 vulnerabilities (OWASP Top Ten 2007, 2010, 2013 and 2017[https://owasp.org/www-project-top-ten/])&lt;br /&gt;
* Actually Vulnerable&lt;br /&gt;
* Simple Intallation and Maintaining&lt;br /&gt;
* User can switch between 3 security levels (no security, Client-side Security, Server-side Security)&lt;br /&gt;
* Used in web security courses&lt;br /&gt;
* Tutorials and Guides included in Application&lt;br /&gt;
* Updated frequently&lt;br /&gt;
&lt;br /&gt;
== Interface ==&lt;br /&gt;
[[File:Mutillidae-Interface.png]]&lt;br /&gt;
&lt;br /&gt;
By clicking on any Item on the right dropdown menu, you can select any of the OWASP Top Ten Challanges from the last 15 years.&lt;br /&gt;
&lt;br /&gt;
* Hints and Videos - leads you directly to a structured guide how the exercise could be completed.&lt;br /&gt;
* Toggle Security - you can choose between 3 Security levels for each exercise&lt;br /&gt;
* Reset DB - Clear all user Data &lt;br /&gt;
* Labs - Study Questions associated with the Exercises&lt;br /&gt;
&lt;br /&gt;
== Examples of Vulnerabilities ==&lt;br /&gt;
&lt;br /&gt;
* SQL Injections (SQLi)[https://wiki.elvis.science/index.php?title=SQL_Injection]&lt;br /&gt;
* Cross-Site-Scripting [https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)]&lt;br /&gt;
* Sensitive Data Exposure&lt;br /&gt;
* other Injection (CSS, HTML, JavaScript)&lt;br /&gt;
* and many more...&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Apache Webserver&lt;br /&gt;
* Database (MySQL/MariaDb)&lt;br /&gt;
* Packages: Sourcecode from git (https://github.com/webpwnized/mutillidae)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install Apache Webserver on your local Machine&lt;br /&gt;
* Install PHP on your local Machine&lt;br /&gt;
* Install a supported Database (e.g. MySQL, MariaDB)&lt;br /&gt;
* Install Metasploit, it includes everything you need to run mutillidae&lt;br /&gt;
&lt;br /&gt;
If you have a XAMPP/LAMPP stack set up aleady, you might skip directly to installing Mutillidae.&lt;br /&gt;
There are Videos from the creator which gives a [https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae ===&lt;br /&gt;
&lt;br /&gt;
Head to the Folder where Websites are stored in Apache Webserver this could be the &amp;quot;htdocs&amp;quot; folder under XAMPP or if manually installed under a linux distribution this might be the folder &amp;quot;/var/www/html/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download the Repository from github (see [[#Requirements]]) and copy the contents of the Repository into the Webservers folder. After these steps go on your localhost webpage and make sure you can access Mutillidae Webinterface&lt;br /&gt;
&lt;br /&gt;
To see if the database is correctly installed press the &amp;quot;Reset DB&amp;quot; Button on the Webinterface. If you see the Message that no PHP or SQL errors were detected when resseting the database, the intallation of mutillidae succeded.&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae with Metasploit ===&lt;br /&gt;
A different method for installing Mutillidae is to install metasploit. Metasploit is a penetration testing software which inlcudes everything you need to set up and run Mutillidae.&lt;br /&gt;
This means that you don&#039;t have to install all the other components you need for example a database, because Metasploit is doing this for.&lt;br /&gt;
After installing you can use the credentials msfadmin for the username and password in order to login into Metasploit.&lt;br /&gt;
When Metasploit is running Mutillidae is also accessible and for that you use the ip address of the machine where Metasploit is running on.&lt;br /&gt;
To look up the ip address you can use the &#039;ip a&#039; command in the CLI to find the ip address.&lt;br /&gt;
Sometimes it happens that Mutillidae cannot access the database. This problem occurs when the database name in the config file is not set.&lt;br /&gt;
To fix this problem you have to navigate to this config file which is found in this destination &#039;/var/www/mutillidae/config.inc&#039;.&lt;br /&gt;
In this config file you change the value of the variable called &#039;$dbname&#039; to &#039;owasp10&#039;. After this configuration Mutillidae can access the database.&lt;br /&gt;
&lt;br /&gt;
[[File:Config.PNG]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://owasp.org/www-project-top-ten/&lt;br /&gt;
* https://github.com/webpwnized/mutillidae&lt;br /&gt;
* https://www.youtube.com/c/webpwnized/featured&lt;br /&gt;
* https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial&lt;br /&gt;
&lt;br /&gt;
Internal Links&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection_Examples_on_Known_Vulnerable_Web_Applications&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10876</id>
		<title>OWASP Mutillidae (2021)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10876"/>
		<updated>2023-01-08T11:56:45Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: /* Installing Mutillidae with Metasploit */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
OWASP Mutillidae is a free open source tool created for Pentesting of Web Applications. It is a &amp;quot;Vulnerable Web Application&amp;quot; that offers a Platform where the provided Exploits and Security flaws can be executed within a local environment. With over 40 different vulnerabilities and related training challenges, it provides a platform that shows the most common flaws of the last 15 years of web development. The vulnerabilities shown in the program are actual vulnerabilities within the application, so the application should only be run in a protected environment - such as a virtual machine. The current Version Mutillidae II was created by Jeremy Druin [https://www.youtube.com/c/webpwnized/featured] (pseudonym: webpwnized), who also created the Tutorials for the Challanges and Installation Guides. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How it Operates ==&lt;br /&gt;
&lt;br /&gt;
Every Vulnerability contained in the application is build in within a Webpage. By selecting the Exploit from a List (e.g. Authentication Bypass) a site with the corresponding explotable Webpage is loaded and ready to get &amp;quot;hacked&amp;quot;. Since everything run at your local machine you can not harm anyone. The data such as &amp;quot;User Data&amp;quot; are stored in a Database which you set up when you install the Application (see Installation for more Information).&lt;br /&gt;
&lt;br /&gt;
[[File:Muti-Dropdown.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Practical example ==&lt;br /&gt;
&lt;br /&gt;
[[SQL_Injection]]-&amp;gt; SQLi Extract Data&lt;br /&gt;
&lt;br /&gt;
Now here is a short example how one vulnerability exploit could look like. In this case there is a query where user can request their userinformation by providing their credentials.&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-login.png]]&lt;br /&gt;
&lt;br /&gt;
Normally the query should only retrun only on record when correct credentials are entered.&lt;br /&gt;
&lt;br /&gt;
But this website is totally unsecure so we can easily rewrite the SQL query to give us a list of every user in the database. But how can we do this?&lt;br /&gt;
&lt;br /&gt;
===Step 1:=== &lt;br /&gt;
get an Exception by typing in invalid characters such as (&#039;, #, --)&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Exception.png]]&lt;br /&gt;
&lt;br /&gt;
===Step 2:=== &lt;br /&gt;
&lt;br /&gt;
Since we got an error message with the syntax how the sql statement is written we can alter the statement by simply put another statement in the form.&lt;br /&gt;
&lt;br /&gt;
In this case i wrote ’OR 1# in the username fields to alter the query which should be now&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM acccounts where username= ’ ’OR 1# AND password = ’’&lt;br /&gt;
&lt;br /&gt;
1 means true in SQL language and # is a comment so it ignores the password query. So our SQL String says now that it should gives as all datasets for which the condition is true which lead to following output:&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Extract-Data.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Cross-Site-Request_Forgery_(CSRF)]]-&amp;gt; Cross-Site-Request Forgery&lt;br /&gt;
This example can be found in the A5 section from the Owasp Top 10 examples, which is called &#039;Add to your blog&#039;.&lt;br /&gt;
Here we simulating an attack to vote for a security tool but without actually voting for it.&lt;br /&gt;
&lt;br /&gt;
[[File:UserPoll.PNG]]&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* over 40 vulnerabilities (OWASP Top Ten 2007, 2010, 2013 and 2017[https://owasp.org/www-project-top-ten/])&lt;br /&gt;
* Actually Vulnerable&lt;br /&gt;
* Simple Intallation and Maintaining&lt;br /&gt;
* User can switch between 3 security levels (no security, Client-side Security, Server-side Security)&lt;br /&gt;
* Used in web security courses&lt;br /&gt;
* Tutorials and Guides included in Application&lt;br /&gt;
* Updated frequently&lt;br /&gt;
&lt;br /&gt;
== Interface ==&lt;br /&gt;
[[File:Mutillidae-Interface.png]]&lt;br /&gt;
&lt;br /&gt;
By clicking on any Item on the right dropdown menu, you can select any of the OWASP Top Ten Challanges from the last 15 years.&lt;br /&gt;
&lt;br /&gt;
* Hints and Videos - leads you directly to a structured guide how the exercise could be completed.&lt;br /&gt;
* Toggle Security - you can choose between 3 Security levels for each exercise&lt;br /&gt;
* Reset DB - Clear all user Data &lt;br /&gt;
* Labs - Study Questions associated with the Exercises&lt;br /&gt;
&lt;br /&gt;
== Examples of Vulnerabilities ==&lt;br /&gt;
&lt;br /&gt;
* SQL Injections (SQLi)[https://wiki.elvis.science/index.php?title=SQL_Injection]&lt;br /&gt;
* Cross-Site-Scripting [https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)]&lt;br /&gt;
* Sensitive Data Exposure&lt;br /&gt;
* other Injection (CSS, HTML, JavaScript)&lt;br /&gt;
* and many more...&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Apache Webserver&lt;br /&gt;
* Database (MySQL/MariaDb)&lt;br /&gt;
* Packages: Sourcecode from git (https://github.com/webpwnized/mutillidae)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install Apache Webserver on your local Machine&lt;br /&gt;
* Install PHP on your local Machine&lt;br /&gt;
* Install a supported Database (e.g. MySQL, MariaDB)&lt;br /&gt;
* Install Metasploit, it includes everything you need to run mutillidae&lt;br /&gt;
&lt;br /&gt;
If you have a XAMPP/LAMPP stack set up aleady, you might skip directly to installing Mutillidae.&lt;br /&gt;
There are Videos from the creator which gives a [https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae ===&lt;br /&gt;
&lt;br /&gt;
Head to the Folder where Websites are stored in Apache Webserver this could be the &amp;quot;htdocs&amp;quot; folder under XAMPP or if manually installed under a linux distribution this might be the folder &amp;quot;/var/www/html/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download the Repository from github (see [[#Requirements]]) and copy the contents of the Repository into the Webservers folder. After these steps go on your localhost webpage and make sure you can access Mutillidae Webinterface&lt;br /&gt;
&lt;br /&gt;
To see if the database is correctly installed press the &amp;quot;Reset DB&amp;quot; Button on the Webinterface. If you see the Message that no PHP or SQL errors were detected when resseting the database, the intallation of mutillidae succeded.&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae with Metasploit ===&lt;br /&gt;
A different method for installing Mutillidae is to install metasploit. Metasploit is a penetration testing software which inlcudes everything you need to set up and run Mutillidae.&lt;br /&gt;
This means that you don&#039;t have to install all the other components you need for example a database, because Metasploit is doing this for.&lt;br /&gt;
After installing you can use the credentials msfadmin for the username and password in order to login into Metasploit.&lt;br /&gt;
When Metasploit is running Mutillidae is also accessible and for that you use the ip address of the machine where Metasploit is running on.&lt;br /&gt;
To look up the ip address you can use the &#039;ip a&#039; command in the CLI to find the ip address.&lt;br /&gt;
Sometimes it happens that Mutillidae cannot access the database. This problem occurs when the database name in the config file is not set.&lt;br /&gt;
To fix this problem you have to navigate to this config file which is found in this destination &#039;/var/www/mutillidae/config.inc&#039;.&lt;br /&gt;
In this config file you change the value of the variable called &#039;$dbname&#039; to &#039;owasp10&#039;. After this configuration Mutillidae can access the database.&lt;br /&gt;
&lt;br /&gt;
[[File:Config.PNG]]&lt;br /&gt;
&lt;br /&gt;
[[File:Mutllidae-no-errors.png]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://owasp.org/www-project-top-ten/&lt;br /&gt;
* https://github.com/webpwnized/mutillidae&lt;br /&gt;
* https://www.youtube.com/c/webpwnized/featured&lt;br /&gt;
* https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial&lt;br /&gt;
&lt;br /&gt;
Internal Links&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection_Examples_on_Known_Vulnerable_Web_Applications&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10875</id>
		<title>OWASP Mutillidae (2021)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10875"/>
		<updated>2023-01-08T11:56:37Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
OWASP Mutillidae is a free open source tool created for Pentesting of Web Applications. It is a &amp;quot;Vulnerable Web Application&amp;quot; that offers a Platform where the provided Exploits and Security flaws can be executed within a local environment. With over 40 different vulnerabilities and related training challenges, it provides a platform that shows the most common flaws of the last 15 years of web development. The vulnerabilities shown in the program are actual vulnerabilities within the application, so the application should only be run in a protected environment - such as a virtual machine. The current Version Mutillidae II was created by Jeremy Druin [https://www.youtube.com/c/webpwnized/featured] (pseudonym: webpwnized), who also created the Tutorials for the Challanges and Installation Guides. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How it Operates ==&lt;br /&gt;
&lt;br /&gt;
Every Vulnerability contained in the application is build in within a Webpage. By selecting the Exploit from a List (e.g. Authentication Bypass) a site with the corresponding explotable Webpage is loaded and ready to get &amp;quot;hacked&amp;quot;. Since everything run at your local machine you can not harm anyone. The data such as &amp;quot;User Data&amp;quot; are stored in a Database which you set up when you install the Application (see Installation for more Information).&lt;br /&gt;
&lt;br /&gt;
[[File:Muti-Dropdown.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Practical example ==&lt;br /&gt;
&lt;br /&gt;
[[SQL_Injection]]-&amp;gt; SQLi Extract Data&lt;br /&gt;
&lt;br /&gt;
Now here is a short example how one vulnerability exploit could look like. In this case there is a query where user can request their userinformation by providing their credentials.&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-login.png]]&lt;br /&gt;
&lt;br /&gt;
Normally the query should only retrun only on record when correct credentials are entered.&lt;br /&gt;
&lt;br /&gt;
But this website is totally unsecure so we can easily rewrite the SQL query to give us a list of every user in the database. But how can we do this?&lt;br /&gt;
&lt;br /&gt;
===Step 1:=== &lt;br /&gt;
get an Exception by typing in invalid characters such as (&#039;, #, --)&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Exception.png]]&lt;br /&gt;
&lt;br /&gt;
===Step 2:=== &lt;br /&gt;
&lt;br /&gt;
Since we got an error message with the syntax how the sql statement is written we can alter the statement by simply put another statement in the form.&lt;br /&gt;
&lt;br /&gt;
In this case i wrote ’OR 1# in the username fields to alter the query which should be now&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM acccounts where username= ’ ’OR 1# AND password = ’’&lt;br /&gt;
&lt;br /&gt;
1 means true in SQL language and # is a comment so it ignores the password query. So our SQL String says now that it should gives as all datasets for which the condition is true which lead to following output:&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Extract-Data.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Cross-Site-Request_Forgery_(CSRF)]]-&amp;gt; Cross-Site-Request Forgery&lt;br /&gt;
This example can be found in the A5 section from the Owasp Top 10 examples, which is called &#039;Add to your blog&#039;.&lt;br /&gt;
Here we simulating an attack to vote for a security tool but without actually voting for it.&lt;br /&gt;
&lt;br /&gt;
[[File:UserPoll.PNG]]&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* over 40 vulnerabilities (OWASP Top Ten 2007, 2010, 2013 and 2017[https://owasp.org/www-project-top-ten/])&lt;br /&gt;
* Actually Vulnerable&lt;br /&gt;
* Simple Intallation and Maintaining&lt;br /&gt;
* User can switch between 3 security levels (no security, Client-side Security, Server-side Security)&lt;br /&gt;
* Used in web security courses&lt;br /&gt;
* Tutorials and Guides included in Application&lt;br /&gt;
* Updated frequently&lt;br /&gt;
&lt;br /&gt;
== Interface ==&lt;br /&gt;
[[File:Mutillidae-Interface.png]]&lt;br /&gt;
&lt;br /&gt;
By clicking on any Item on the right dropdown menu, you can select any of the OWASP Top Ten Challanges from the last 15 years.&lt;br /&gt;
&lt;br /&gt;
* Hints and Videos - leads you directly to a structured guide how the exercise could be completed.&lt;br /&gt;
* Toggle Security - you can choose between 3 Security levels for each exercise&lt;br /&gt;
* Reset DB - Clear all user Data &lt;br /&gt;
* Labs - Study Questions associated with the Exercises&lt;br /&gt;
&lt;br /&gt;
== Examples of Vulnerabilities ==&lt;br /&gt;
&lt;br /&gt;
* SQL Injections (SQLi)[https://wiki.elvis.science/index.php?title=SQL_Injection]&lt;br /&gt;
* Cross-Site-Scripting [https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)]&lt;br /&gt;
* Sensitive Data Exposure&lt;br /&gt;
* other Injection (CSS, HTML, JavaScript)&lt;br /&gt;
* and many more...&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Apache Webserver&lt;br /&gt;
* Database (MySQL/MariaDb)&lt;br /&gt;
* Packages: Sourcecode from git (https://github.com/webpwnized/mutillidae)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install Apache Webserver on your local Machine&lt;br /&gt;
* Install PHP on your local Machine&lt;br /&gt;
* Install a supported Database (e.g. MySQL, MariaDB)&lt;br /&gt;
* Install Metasploit, it includes everything you need to run mutillidae&lt;br /&gt;
&lt;br /&gt;
If you have a XAMPP/LAMPP stack set up aleady, you might skip directly to installing Mutillidae.&lt;br /&gt;
There are Videos from the creator which gives a [https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae ===&lt;br /&gt;
&lt;br /&gt;
Head to the Folder where Websites are stored in Apache Webserver this could be the &amp;quot;htdocs&amp;quot; folder under XAMPP or if manually installed under a linux distribution this might be the folder &amp;quot;/var/www/html/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download the Repository from github (see [[#Requirements]]) and copy the contents of the Repository into the Webservers folder. After these steps go on your localhost webpage and make sure you can access Mutillidae Webinterface&lt;br /&gt;
&lt;br /&gt;
To see if the database is correctly installed press the &amp;quot;Reset DB&amp;quot; Button on the Webinterface. If you see the Message that no PHP or SQL errors were detected when resseting the database, the intallation of mutillidae succeded.&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae with Metasploit ===&lt;br /&gt;
A different method for installing Mutillidae is to install metasploit. Metasploit is a penetration testing software which inlcudes everything you need to set up and run Mutillidae.&lt;br /&gt;
This means that you don&#039;t have to install all the other components you need for example a database, because Metasploit is doing this for.&lt;br /&gt;
After installing you can use the credentials msfadmin for the username and password in order to login into Metasploit.&lt;br /&gt;
When Metasploit is running Mutillidae is also accessible and for that you use the ip address of the machine where Metasploit is running on.&lt;br /&gt;
To look up the ip address you can use the &#039;ip a&#039; command in the CLI to find the ip address.&lt;br /&gt;
Sometimes it happens that Mutillidae cannot access the database. This problem occurs when the database name in the config file is not set.&lt;br /&gt;
To fix this problem you have to navigate to this config file which is found in this destination &#039;/var/www/mutillidae/config.inc&#039;.&lt;br /&gt;
In this config file you change the value of the variable called &#039;$dbname&#039; to &#039;owasp10&#039;. After this configuration Mutillidae can access the database.&lt;br /&gt;
&lt;br /&gt;
[[File:database-config.PNG]]&lt;br /&gt;
&lt;br /&gt;
[[File:Mutllidae-no-errors.png]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://owasp.org/www-project-top-ten/&lt;br /&gt;
* https://github.com/webpwnized/mutillidae&lt;br /&gt;
* https://www.youtube.com/c/webpwnized/featured&lt;br /&gt;
* https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial&lt;br /&gt;
&lt;br /&gt;
Internal Links&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection_Examples_on_Known_Vulnerable_Web_Applications&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10874</id>
		<title>OWASP Mutillidae (2021)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10874"/>
		<updated>2023-01-08T11:56:14Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: /* Practical example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
OWASP Mutillidae is a free open source tool created for Pentesting of Web Applications. It is a &amp;quot;Vulnerable Web Application&amp;quot; that offers a Platform where the provided Exploits and Security flaws can be executed within a local environment. With over 40 different vulnerabilities and related training challenges, it provides a platform that shows the most common flaws of the last 15 years of web development. The vulnerabilities shown in the program are actual vulnerabilities within the application, so the application should only be run in a protected environment - such as a virtual machine. The current Version Mutillidae II was created by Jeremy Druin [https://www.youtube.com/c/webpwnized/featured] (pseudonym: webpwnized), who also created the Tutorials for the Challanges and Installation Guides. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How it Operates ==&lt;br /&gt;
&lt;br /&gt;
Every Vulnerability contained in the application is build in within a Webpage. By selecting the Exploit from a List (e.g. Authentication Bypass) a site with the corresponding explotable Webpage is loaded and ready to get &amp;quot;hacked&amp;quot;. Since everything run at your local machine you can not harm anyone. The data such as &amp;quot;User Data&amp;quot; are stored in a Database which you set up when you install the Application (see Installation for more Information).&lt;br /&gt;
&lt;br /&gt;
[[File:Muti-Dropdown.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Practical example ==&lt;br /&gt;
&lt;br /&gt;
[[SQL_Injection]]-&amp;gt; SQLi Extract Data&lt;br /&gt;
&lt;br /&gt;
Now here is a short example how one vulnerability exploit could look like. In this case there is a query where user can request their userinformation by providing their credentials.&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-login.png]]&lt;br /&gt;
&lt;br /&gt;
Normally the query should only retrun only on record when correct credentials are entered.&lt;br /&gt;
&lt;br /&gt;
But this website is totally unsecure so we can easily rewrite the SQL query to give us a list of every user in the database. But how can we do this?&lt;br /&gt;
&lt;br /&gt;
===Step 1:=== &lt;br /&gt;
get an Exception by typing in invalid characters such as (&#039;, #, --)&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Exception.png]]&lt;br /&gt;
&lt;br /&gt;
===Step 2:=== &lt;br /&gt;
&lt;br /&gt;
Since we got an error message with the syntax how the sql statement is written we can alter the statement by simply put another statement in the form.&lt;br /&gt;
&lt;br /&gt;
In this case i wrote ’OR 1# in the username fields to alter the query which should be now&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM acccounts where username= ’ ’OR 1# AND password = ’’&lt;br /&gt;
&lt;br /&gt;
1 means true in SQL language and # is a comment so it ignores the password query. So our SQL String says now that it should gives as all datasets for which the condition is true which lead to following output:&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Extract-Data.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Cross-Site-Request_Forgery_(CSRF)]]-&amp;gt; Cross-Site-Request Forgery&lt;br /&gt;
This example can be found in the A5 section from the Owasp Top 10 examples, which is called &#039;Add to your blog&#039;.&lt;br /&gt;
Here we simulating an attack to vote for a security tool but without actually voting for it.&lt;br /&gt;
&lt;br /&gt;
[[File:UserPoll.PNG]]&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* over 40 vulnerabilities (OWASP Top Ten 2007, 2010, 2013 and 2017[https://owasp.org/www-project-top-ten/])&lt;br /&gt;
* Actually Vulnerable&lt;br /&gt;
* Simple Intallation and Maintaining&lt;br /&gt;
* User can switch between 3 security levels (no security, Client-side Security, Server-side Security)&lt;br /&gt;
* Used in web security courses&lt;br /&gt;
* Tutorials and Guides included in Application&lt;br /&gt;
* Updated frequently&lt;br /&gt;
&lt;br /&gt;
== Interface ==&lt;br /&gt;
[[File:Mutillidae-Interface.png]]&lt;br /&gt;
&lt;br /&gt;
By clicking on any Item on the right dropdown menu, you can select any of the OWASP Top Ten Challanges from the last 15 years.&lt;br /&gt;
&lt;br /&gt;
* Hints and Videos - leads you directly to a structured guide how the exercise could be completed.&lt;br /&gt;
* Toggle Security - you can choose between 3 Security levels for each exercise&lt;br /&gt;
* Reset DB - Clear all user Data &lt;br /&gt;
* Labs - Study Questions associated with the Exercises&lt;br /&gt;
&lt;br /&gt;
== Examples of Vulnerabilities ==&lt;br /&gt;
&lt;br /&gt;
* SQL Injections (SQLi)[https://wiki.elvis.science/index.php?title=SQL_Injection]&lt;br /&gt;
* Cross-Site-Scripting [https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)]&lt;br /&gt;
* Sensitive Data Exposure&lt;br /&gt;
* other Injection (CSS, HTML, JavaScript)&lt;br /&gt;
* and many more...&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Apache Webserver&lt;br /&gt;
* Database (MySQL/MariaDb)&lt;br /&gt;
* Packages: Sourcecode from git (https://github.com/webpwnized/mutillidae)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install Apache Webserver on your local Machine&lt;br /&gt;
* Install PHP on your local Machine&lt;br /&gt;
* Install a supported Database (e.g. MySQL, MariaDB)&lt;br /&gt;
* Install Metasploit, it includes everything you need to run mutillidae&lt;br /&gt;
&lt;br /&gt;
If you have a XAMPP/LAMPP stack set up aleady, you might skip directly to installing Mutillidae.&lt;br /&gt;
There are Videos from the creator which gives a [https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae ===&lt;br /&gt;
&lt;br /&gt;
Head to the Folder where Websites are stored in Apache Webserver this could be the &amp;quot;htdocs&amp;quot; folder under XAMPP or if manually installed under a linux distribution this might be the folder &amp;quot;/var/www/html/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download the Repository from github (see [[#Requirements]]) and copy the contents of the Repository into the Webservers folder. After these steps go on your localhost webpage and make sure you can access Mutillidae Webinterface&lt;br /&gt;
&lt;br /&gt;
To see if the database is correctly installed press the &amp;quot;Reset DB&amp;quot; Button on the Webinterface. If you see the Message that no PHP or SQL errors were detected when resseting the database, the intallation of mutillidae succeded.&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae with Metasploit ===&lt;br /&gt;
A different method for installing Mutillidae is to install metasploit. Metasploit is a penetration testing software which inlcudes everything you need to set up and run Mutillidae.&lt;br /&gt;
This means that you don&#039;t have to install all the other components you need for example a database, because Metasploit is doing this for.&lt;br /&gt;
After installing you can use the credentials msfadmin for the username and password in order to login into Metasploit.&lt;br /&gt;
When Metasploit is running Mutillidae is also accessible and for that you use the ip address of the machine where Metasploit is running on.&lt;br /&gt;
To look up the ip address you can use the &#039;ip a&#039; command in the CLI to find the ip address.&lt;br /&gt;
Sometimes it happens that Mutillidae cannot access the database. This problem occurs when the database name in the config file is not set.&lt;br /&gt;
To fix this problem you have to navigate to this config file which is found in this destination &#039;/var/www/mutillidae/config.inc&#039;.&lt;br /&gt;
In this config file you change the value of the variable called &#039;$dbname&#039; to &#039;owasp10&#039;. After this configuration Mutillidae can access the database.&lt;br /&gt;
&lt;br /&gt;
[[File:database-config.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:Mutllidae-no-errors.png]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://owasp.org/www-project-top-ten/&lt;br /&gt;
* https://github.com/webpwnized/mutillidae&lt;br /&gt;
* https://www.youtube.com/c/webpwnized/featured&lt;br /&gt;
* https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial&lt;br /&gt;
&lt;br /&gt;
Internal Links&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection_Examples_on_Known_Vulnerable_Web_Applications&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10873</id>
		<title>OWASP Mutillidae (2021)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10873"/>
		<updated>2023-01-08T11:55:34Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: /* Practical example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
OWASP Mutillidae is a free open source tool created for Pentesting of Web Applications. It is a &amp;quot;Vulnerable Web Application&amp;quot; that offers a Platform where the provided Exploits and Security flaws can be executed within a local environment. With over 40 different vulnerabilities and related training challenges, it provides a platform that shows the most common flaws of the last 15 years of web development. The vulnerabilities shown in the program are actual vulnerabilities within the application, so the application should only be run in a protected environment - such as a virtual machine. The current Version Mutillidae II was created by Jeremy Druin [https://www.youtube.com/c/webpwnized/featured] (pseudonym: webpwnized), who also created the Tutorials for the Challanges and Installation Guides. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How it Operates ==&lt;br /&gt;
&lt;br /&gt;
Every Vulnerability contained in the application is build in within a Webpage. By selecting the Exploit from a List (e.g. Authentication Bypass) a site with the corresponding explotable Webpage is loaded and ready to get &amp;quot;hacked&amp;quot;. Since everything run at your local machine you can not harm anyone. The data such as &amp;quot;User Data&amp;quot; are stored in a Database which you set up when you install the Application (see Installation for more Information).&lt;br /&gt;
&lt;br /&gt;
[[File:Muti-Dropdown.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Practical example ==&lt;br /&gt;
&lt;br /&gt;
[[SQL_Injection]]-&amp;gt; SQLi Extract Data&lt;br /&gt;
&lt;br /&gt;
Now here is a short example how one vulnerability exploit could look like. In this case there is a query where user can request their userinformation by providing their credentials.&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-login.png]]&lt;br /&gt;
&lt;br /&gt;
Normally the query should only retrun only on record when correct credentials are entered.&lt;br /&gt;
&lt;br /&gt;
But this website is totally unsecure so we can easily rewrite the SQL query to give us a list of every user in the database. But how can we do this?&lt;br /&gt;
&lt;br /&gt;
===Step 1:=== &lt;br /&gt;
get an Exception by typing in invalid characters such as (&#039;, #, --)&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Exception.png]]&lt;br /&gt;
&lt;br /&gt;
===Step 2:=== &lt;br /&gt;
&lt;br /&gt;
Since we got an error message with the syntax how the sql statement is written we can alter the statement by simply put another statement in the form.&lt;br /&gt;
&lt;br /&gt;
In this case i wrote ’OR 1# in the username fields to alter the query which should be now&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM acccounts where username= ’ ’OR 1# AND password = ’’&lt;br /&gt;
&lt;br /&gt;
1 means true in SQL language and # is a comment so it ignores the password query. So our SQL String says now that it should gives as all datasets for which the condition is true which lead to following output:&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Extract-Data.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Cross-Site-Request_Forgery_(CSRF)]]-&amp;gt; Cross-Site-Request Forgery&lt;br /&gt;
This example can be found in the A5 section from the Owasp Top 10 examples, which is called &#039;Add to your blog&#039;.&lt;br /&gt;
Here we simulating an attack to vote for a security tool but without actually voting for it.&lt;br /&gt;
&lt;br /&gt;
[[File:UserPoll.png]]&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* over 40 vulnerabilities (OWASP Top Ten 2007, 2010, 2013 and 2017[https://owasp.org/www-project-top-ten/])&lt;br /&gt;
* Actually Vulnerable&lt;br /&gt;
* Simple Intallation and Maintaining&lt;br /&gt;
* User can switch between 3 security levels (no security, Client-side Security, Server-side Security)&lt;br /&gt;
* Used in web security courses&lt;br /&gt;
* Tutorials and Guides included in Application&lt;br /&gt;
* Updated frequently&lt;br /&gt;
&lt;br /&gt;
== Interface ==&lt;br /&gt;
[[File:Mutillidae-Interface.png]]&lt;br /&gt;
&lt;br /&gt;
By clicking on any Item on the right dropdown menu, you can select any of the OWASP Top Ten Challanges from the last 15 years.&lt;br /&gt;
&lt;br /&gt;
* Hints and Videos - leads you directly to a structured guide how the exercise could be completed.&lt;br /&gt;
* Toggle Security - you can choose between 3 Security levels for each exercise&lt;br /&gt;
* Reset DB - Clear all user Data &lt;br /&gt;
* Labs - Study Questions associated with the Exercises&lt;br /&gt;
&lt;br /&gt;
== Examples of Vulnerabilities ==&lt;br /&gt;
&lt;br /&gt;
* SQL Injections (SQLi)[https://wiki.elvis.science/index.php?title=SQL_Injection]&lt;br /&gt;
* Cross-Site-Scripting [https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)]&lt;br /&gt;
* Sensitive Data Exposure&lt;br /&gt;
* other Injection (CSS, HTML, JavaScript)&lt;br /&gt;
* and many more...&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Apache Webserver&lt;br /&gt;
* Database (MySQL/MariaDb)&lt;br /&gt;
* Packages: Sourcecode from git (https://github.com/webpwnized/mutillidae)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install Apache Webserver on your local Machine&lt;br /&gt;
* Install PHP on your local Machine&lt;br /&gt;
* Install a supported Database (e.g. MySQL, MariaDB)&lt;br /&gt;
* Install Metasploit, it includes everything you need to run mutillidae&lt;br /&gt;
&lt;br /&gt;
If you have a XAMPP/LAMPP stack set up aleady, you might skip directly to installing Mutillidae.&lt;br /&gt;
There are Videos from the creator which gives a [https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae ===&lt;br /&gt;
&lt;br /&gt;
Head to the Folder where Websites are stored in Apache Webserver this could be the &amp;quot;htdocs&amp;quot; folder under XAMPP or if manually installed under a linux distribution this might be the folder &amp;quot;/var/www/html/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download the Repository from github (see [[#Requirements]]) and copy the contents of the Repository into the Webservers folder. After these steps go on your localhost webpage and make sure you can access Mutillidae Webinterface&lt;br /&gt;
&lt;br /&gt;
To see if the database is correctly installed press the &amp;quot;Reset DB&amp;quot; Button on the Webinterface. If you see the Message that no PHP or SQL errors were detected when resseting the database, the intallation of mutillidae succeded.&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae with Metasploit ===&lt;br /&gt;
A different method for installing Mutillidae is to install metasploit. Metasploit is a penetration testing software which inlcudes everything you need to set up and run Mutillidae.&lt;br /&gt;
This means that you don&#039;t have to install all the other components you need for example a database, because Metasploit is doing this for.&lt;br /&gt;
After installing you can use the credentials msfadmin for the username and password in order to login into Metasploit.&lt;br /&gt;
When Metasploit is running Mutillidae is also accessible and for that you use the ip address of the machine where Metasploit is running on.&lt;br /&gt;
To look up the ip address you can use the &#039;ip a&#039; command in the CLI to find the ip address.&lt;br /&gt;
Sometimes it happens that Mutillidae cannot access the database. This problem occurs when the database name in the config file is not set.&lt;br /&gt;
To fix this problem you have to navigate to this config file which is found in this destination &#039;/var/www/mutillidae/config.inc&#039;.&lt;br /&gt;
In this config file you change the value of the variable called &#039;$dbname&#039; to &#039;owasp10&#039;. After this configuration Mutillidae can access the database.&lt;br /&gt;
&lt;br /&gt;
[[File:database-config.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:Mutllidae-no-errors.png]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://owasp.org/www-project-top-ten/&lt;br /&gt;
* https://github.com/webpwnized/mutillidae&lt;br /&gt;
* https://www.youtube.com/c/webpwnized/featured&lt;br /&gt;
* https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial&lt;br /&gt;
&lt;br /&gt;
Internal Links&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection_Examples_on_Known_Vulnerable_Web_Applications&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10872</id>
		<title>OWASP Mutillidae (2021)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10872"/>
		<updated>2023-01-08T11:53:07Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: /* Practical example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
OWASP Mutillidae is a free open source tool created for Pentesting of Web Applications. It is a &amp;quot;Vulnerable Web Application&amp;quot; that offers a Platform where the provided Exploits and Security flaws can be executed within a local environment. With over 40 different vulnerabilities and related training challenges, it provides a platform that shows the most common flaws of the last 15 years of web development. The vulnerabilities shown in the program are actual vulnerabilities within the application, so the application should only be run in a protected environment - such as a virtual machine. The current Version Mutillidae II was created by Jeremy Druin [https://www.youtube.com/c/webpwnized/featured] (pseudonym: webpwnized), who also created the Tutorials for the Challanges and Installation Guides. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How it Operates ==&lt;br /&gt;
&lt;br /&gt;
Every Vulnerability contained in the application is build in within a Webpage. By selecting the Exploit from a List (e.g. Authentication Bypass) a site with the corresponding explotable Webpage is loaded and ready to get &amp;quot;hacked&amp;quot;. Since everything run at your local machine you can not harm anyone. The data such as &amp;quot;User Data&amp;quot; are stored in a Database which you set up when you install the Application (see Installation for more Information).&lt;br /&gt;
&lt;br /&gt;
[[File:Muti-Dropdown.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Practical example ==&lt;br /&gt;
&lt;br /&gt;
[[SQL_Injection]]-&amp;gt; SQLi Extract Data&lt;br /&gt;
&lt;br /&gt;
Now here is a short example how one vulnerability exploit could look like. In this case there is a query where user can request their userinformation by providing their credentials.&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-login.png]]&lt;br /&gt;
&lt;br /&gt;
Normally the query should only retrun only on record when correct credentials are entered.&lt;br /&gt;
&lt;br /&gt;
But this website is totally unsecure so we can easily rewrite the SQL query to give us a list of every user in the database. But how can we do this?&lt;br /&gt;
&lt;br /&gt;
===Step 1:=== &lt;br /&gt;
get an Exception by typing in invalid characters such as (&#039;, #, --)&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Exception.png]]&lt;br /&gt;
&lt;br /&gt;
===Step 2:=== &lt;br /&gt;
&lt;br /&gt;
Since we got an error message with the syntax how the sql statement is written we can alter the statement by simply put another statement in the form.&lt;br /&gt;
&lt;br /&gt;
In this case i wrote ’OR 1# in the username fields to alter the query which should be now&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM acccounts where username= ’ ’OR 1# AND password = ’’&lt;br /&gt;
&lt;br /&gt;
1 means true in SQL language and # is a comment so it ignores the password query. So our SQL String says now that it should gives as all datasets for which the condition is true which lead to following output:&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Extract-Data.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Cross-Site-Request_Forgery_(CSRF)]]-&amp;gt; Cross-Site-Request Forgery&lt;br /&gt;
This example can be found in the A5 section from the Owasp Top 10 examples, which is called &#039;Add to your blog&#039;.&lt;br /&gt;
Here we simulating an attack to vote for a security tool but without actually voting for it.&lt;br /&gt;
[[File:UserPoll.png]]&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* over 40 vulnerabilities (OWASP Top Ten 2007, 2010, 2013 and 2017[https://owasp.org/www-project-top-ten/])&lt;br /&gt;
* Actually Vulnerable&lt;br /&gt;
* Simple Intallation and Maintaining&lt;br /&gt;
* User can switch between 3 security levels (no security, Client-side Security, Server-side Security)&lt;br /&gt;
* Used in web security courses&lt;br /&gt;
* Tutorials and Guides included in Application&lt;br /&gt;
* Updated frequently&lt;br /&gt;
&lt;br /&gt;
== Interface ==&lt;br /&gt;
[[File:Mutillidae-Interface.png]]&lt;br /&gt;
&lt;br /&gt;
By clicking on any Item on the right dropdown menu, you can select any of the OWASP Top Ten Challanges from the last 15 years.&lt;br /&gt;
&lt;br /&gt;
* Hints and Videos - leads you directly to a structured guide how the exercise could be completed.&lt;br /&gt;
* Toggle Security - you can choose between 3 Security levels for each exercise&lt;br /&gt;
* Reset DB - Clear all user Data &lt;br /&gt;
* Labs - Study Questions associated with the Exercises&lt;br /&gt;
&lt;br /&gt;
== Examples of Vulnerabilities ==&lt;br /&gt;
&lt;br /&gt;
* SQL Injections (SQLi)[https://wiki.elvis.science/index.php?title=SQL_Injection]&lt;br /&gt;
* Cross-Site-Scripting [https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)]&lt;br /&gt;
* Sensitive Data Exposure&lt;br /&gt;
* other Injection (CSS, HTML, JavaScript)&lt;br /&gt;
* and many more...&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Apache Webserver&lt;br /&gt;
* Database (MySQL/MariaDb)&lt;br /&gt;
* Packages: Sourcecode from git (https://github.com/webpwnized/mutillidae)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install Apache Webserver on your local Machine&lt;br /&gt;
* Install PHP on your local Machine&lt;br /&gt;
* Install a supported Database (e.g. MySQL, MariaDB)&lt;br /&gt;
* Install Metasploit, it includes everything you need to run mutillidae&lt;br /&gt;
&lt;br /&gt;
If you have a XAMPP/LAMPP stack set up aleady, you might skip directly to installing Mutillidae.&lt;br /&gt;
There are Videos from the creator which gives a [https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae ===&lt;br /&gt;
&lt;br /&gt;
Head to the Folder where Websites are stored in Apache Webserver this could be the &amp;quot;htdocs&amp;quot; folder under XAMPP or if manually installed under a linux distribution this might be the folder &amp;quot;/var/www/html/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download the Repository from github (see [[#Requirements]]) and copy the contents of the Repository into the Webservers folder. After these steps go on your localhost webpage and make sure you can access Mutillidae Webinterface&lt;br /&gt;
&lt;br /&gt;
To see if the database is correctly installed press the &amp;quot;Reset DB&amp;quot; Button on the Webinterface. If you see the Message that no PHP or SQL errors were detected when resseting the database, the intallation of mutillidae succeded.&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae with Metasploit ===&lt;br /&gt;
A different method for installing Mutillidae is to install metasploit. Metasploit is a penetration testing software which inlcudes everything you need to set up and run Mutillidae.&lt;br /&gt;
This means that you don&#039;t have to install all the other components you need for example a database, because Metasploit is doing this for.&lt;br /&gt;
After installing you can use the credentials msfadmin for the username and password in order to login into Metasploit.&lt;br /&gt;
When Metasploit is running Mutillidae is also accessible and for that you use the ip address of the machine where Metasploit is running on.&lt;br /&gt;
To look up the ip address you can use the &#039;ip a&#039; command in the CLI to find the ip address.&lt;br /&gt;
Sometimes it happens that Mutillidae cannot access the database. This problem occurs when the database name in the config file is not set.&lt;br /&gt;
To fix this problem you have to navigate to this config file which is found in this destination &#039;/var/www/mutillidae/config.inc&#039;.&lt;br /&gt;
In this config file you change the value of the variable called &#039;$dbname&#039; to &#039;owasp10&#039;. After this configuration Mutillidae can access the database.&lt;br /&gt;
&lt;br /&gt;
[[File:database-config.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:Mutllidae-no-errors.png]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://owasp.org/www-project-top-ten/&lt;br /&gt;
* https://github.com/webpwnized/mutillidae&lt;br /&gt;
* https://www.youtube.com/c/webpwnized/featured&lt;br /&gt;
* https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial&lt;br /&gt;
&lt;br /&gt;
Internal Links&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection_Examples_on_Known_Vulnerable_Web_Applications&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10871</id>
		<title>OWASP Mutillidae (2021)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10871"/>
		<updated>2023-01-08T11:51:45Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: /* Practical example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
OWASP Mutillidae is a free open source tool created for Pentesting of Web Applications. It is a &amp;quot;Vulnerable Web Application&amp;quot; that offers a Platform where the provided Exploits and Security flaws can be executed within a local environment. With over 40 different vulnerabilities and related training challenges, it provides a platform that shows the most common flaws of the last 15 years of web development. The vulnerabilities shown in the program are actual vulnerabilities within the application, so the application should only be run in a protected environment - such as a virtual machine. The current Version Mutillidae II was created by Jeremy Druin [https://www.youtube.com/c/webpwnized/featured] (pseudonym: webpwnized), who also created the Tutorials for the Challanges and Installation Guides. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How it Operates ==&lt;br /&gt;
&lt;br /&gt;
Every Vulnerability contained in the application is build in within a Webpage. By selecting the Exploit from a List (e.g. Authentication Bypass) a site with the corresponding explotable Webpage is loaded and ready to get &amp;quot;hacked&amp;quot;. Since everything run at your local machine you can not harm anyone. The data such as &amp;quot;User Data&amp;quot; are stored in a Database which you set up when you install the Application (see Installation for more Information).&lt;br /&gt;
&lt;br /&gt;
[[File:Muti-Dropdown.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Practical example ==&lt;br /&gt;
&lt;br /&gt;
[[SQL_Injection]]-&amp;gt; SQLi Extract Data&lt;br /&gt;
&lt;br /&gt;
Now here is a short example how one vulnerability exploit could look like. In this case there is a query where user can request their userinformation by providing their credentials.&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-login.png]]&lt;br /&gt;
&lt;br /&gt;
Normally the query should only retrun only on record when correct credentials are entered.&lt;br /&gt;
&lt;br /&gt;
But this website is totally unsecure so we can easily rewrite the SQL query to give us a list of every user in the database. But how can we do this?&lt;br /&gt;
&lt;br /&gt;
===Step 1:=== &lt;br /&gt;
get an Exception by typing in invalid characters such as (&#039;, #, --)&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Exception.png]]&lt;br /&gt;
&lt;br /&gt;
===Step 2:=== &lt;br /&gt;
&lt;br /&gt;
Since we got an error message with the syntax how the sql statement is written we can alter the statement by simply put another statement in the form.&lt;br /&gt;
&lt;br /&gt;
In this case i wrote ’OR 1# in the username fields to alter the query which should be now&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM acccounts where username= ’ ’OR 1# AND password = ’’&lt;br /&gt;
&lt;br /&gt;
1 means true in SQL language and # is a comment so it ignores the password query. So our SQL String says now that it should gives as all datasets for which the condition is true which lead to following output:&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Extract-Data.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Cross-Site-Request_Forgery_(CSRF)]]-&amp;gt; Cross-Site-Request Forgery&lt;br /&gt;
This example can be found in the A5 section from the Owasp Top 10 examples, which is called &#039;Add to your blog&#039;.&lt;br /&gt;
Here we simulating an attack to vote for a security tool but without actually voting for it.&lt;br /&gt;
[[File:UserPoll.png]&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* over 40 vulnerabilities (OWASP Top Ten 2007, 2010, 2013 and 2017[https://owasp.org/www-project-top-ten/])&lt;br /&gt;
* Actually Vulnerable&lt;br /&gt;
* Simple Intallation and Maintaining&lt;br /&gt;
* User can switch between 3 security levels (no security, Client-side Security, Server-side Security)&lt;br /&gt;
* Used in web security courses&lt;br /&gt;
* Tutorials and Guides included in Application&lt;br /&gt;
* Updated frequently&lt;br /&gt;
&lt;br /&gt;
== Interface ==&lt;br /&gt;
[[File:Mutillidae-Interface.png]]&lt;br /&gt;
&lt;br /&gt;
By clicking on any Item on the right dropdown menu, you can select any of the OWASP Top Ten Challanges from the last 15 years.&lt;br /&gt;
&lt;br /&gt;
* Hints and Videos - leads you directly to a structured guide how the exercise could be completed.&lt;br /&gt;
* Toggle Security - you can choose between 3 Security levels for each exercise&lt;br /&gt;
* Reset DB - Clear all user Data &lt;br /&gt;
* Labs - Study Questions associated with the Exercises&lt;br /&gt;
&lt;br /&gt;
== Examples of Vulnerabilities ==&lt;br /&gt;
&lt;br /&gt;
* SQL Injections (SQLi)[https://wiki.elvis.science/index.php?title=SQL_Injection]&lt;br /&gt;
* Cross-Site-Scripting [https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)]&lt;br /&gt;
* Sensitive Data Exposure&lt;br /&gt;
* other Injection (CSS, HTML, JavaScript)&lt;br /&gt;
* and many more...&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Apache Webserver&lt;br /&gt;
* Database (MySQL/MariaDb)&lt;br /&gt;
* Packages: Sourcecode from git (https://github.com/webpwnized/mutillidae)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install Apache Webserver on your local Machine&lt;br /&gt;
* Install PHP on your local Machine&lt;br /&gt;
* Install a supported Database (e.g. MySQL, MariaDB)&lt;br /&gt;
* Install Metasploit, it includes everything you need to run mutillidae&lt;br /&gt;
&lt;br /&gt;
If you have a XAMPP/LAMPP stack set up aleady, you might skip directly to installing Mutillidae.&lt;br /&gt;
There are Videos from the creator which gives a [https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae ===&lt;br /&gt;
&lt;br /&gt;
Head to the Folder where Websites are stored in Apache Webserver this could be the &amp;quot;htdocs&amp;quot; folder under XAMPP or if manually installed under a linux distribution this might be the folder &amp;quot;/var/www/html/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download the Repository from github (see [[#Requirements]]) and copy the contents of the Repository into the Webservers folder. After these steps go on your localhost webpage and make sure you can access Mutillidae Webinterface&lt;br /&gt;
&lt;br /&gt;
To see if the database is correctly installed press the &amp;quot;Reset DB&amp;quot; Button on the Webinterface. If you see the Message that no PHP or SQL errors were detected when resseting the database, the intallation of mutillidae succeded.&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae with Metasploit ===&lt;br /&gt;
A different method for installing Mutillidae is to install metasploit. Metasploit is a penetration testing software which inlcudes everything you need to set up and run Mutillidae.&lt;br /&gt;
This means that you don&#039;t have to install all the other components you need for example a database, because Metasploit is doing this for.&lt;br /&gt;
After installing you can use the credentials msfadmin for the username and password in order to login into Metasploit.&lt;br /&gt;
When Metasploit is running Mutillidae is also accessible and for that you use the ip address of the machine where Metasploit is running on.&lt;br /&gt;
To look up the ip address you can use the &#039;ip a&#039; command in the CLI to find the ip address.&lt;br /&gt;
Sometimes it happens that Mutillidae cannot access the database. This problem occurs when the database name in the config file is not set.&lt;br /&gt;
To fix this problem you have to navigate to this config file which is found in this destination &#039;/var/www/mutillidae/config.inc&#039;.&lt;br /&gt;
In this config file you change the value of the variable called &#039;$dbname&#039; to &#039;owasp10&#039;. After this configuration Mutillidae can access the database.&lt;br /&gt;
&lt;br /&gt;
[[File:database-config.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:Mutllidae-no-errors.png]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://owasp.org/www-project-top-ten/&lt;br /&gt;
* https://github.com/webpwnized/mutillidae&lt;br /&gt;
* https://www.youtube.com/c/webpwnized/featured&lt;br /&gt;
* https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial&lt;br /&gt;
&lt;br /&gt;
Internal Links&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection_Examples_on_Known_Vulnerable_Web_Applications&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=File:UserPoll.PNG&amp;diff=10870</id>
		<title>File:UserPoll.PNG</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=File:UserPoll.PNG&amp;diff=10870"/>
		<updated>2023-01-08T11:50:35Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: Voting site for security tools&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
Voting site for security tools&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10869</id>
		<title>OWASP Mutillidae (2021)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10869"/>
		<updated>2023-01-08T11:48:34Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: /* Practical example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
OWASP Mutillidae is a free open source tool created for Pentesting of Web Applications. It is a &amp;quot;Vulnerable Web Application&amp;quot; that offers a Platform where the provided Exploits and Security flaws can be executed within a local environment. With over 40 different vulnerabilities and related training challenges, it provides a platform that shows the most common flaws of the last 15 years of web development. The vulnerabilities shown in the program are actual vulnerabilities within the application, so the application should only be run in a protected environment - such as a virtual machine. The current Version Mutillidae II was created by Jeremy Druin [https://www.youtube.com/c/webpwnized/featured] (pseudonym: webpwnized), who also created the Tutorials for the Challanges and Installation Guides. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How it Operates ==&lt;br /&gt;
&lt;br /&gt;
Every Vulnerability contained in the application is build in within a Webpage. By selecting the Exploit from a List (e.g. Authentication Bypass) a site with the corresponding explotable Webpage is loaded and ready to get &amp;quot;hacked&amp;quot;. Since everything run at your local machine you can not harm anyone. The data such as &amp;quot;User Data&amp;quot; are stored in a Database which you set up when you install the Application (see Installation for more Information).&lt;br /&gt;
&lt;br /&gt;
[[File:Muti-Dropdown.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Practical example ==&lt;br /&gt;
&lt;br /&gt;
[[SQL_Injection]]-&amp;gt; SQLi Extract Data&lt;br /&gt;
&lt;br /&gt;
Now here is a short example how one vulnerability exploit could look like. In this case there is a query where user can request their userinformation by providing their credentials.&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-login.png]]&lt;br /&gt;
&lt;br /&gt;
Normally the query should only retrun only on record when correct credentials are entered.&lt;br /&gt;
&lt;br /&gt;
But this website is totally unsecure so we can easily rewrite the SQL query to give us a list of every user in the database. But how can we do this?&lt;br /&gt;
&lt;br /&gt;
===Step 1:=== &lt;br /&gt;
get an Exception by typing in invalid characters such as (&#039;, #, --)&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Exception.png]]&lt;br /&gt;
&lt;br /&gt;
===Step 2:=== &lt;br /&gt;
&lt;br /&gt;
Since we got an error message with the syntax how the sql statement is written we can alter the statement by simply put another statement in the form.&lt;br /&gt;
&lt;br /&gt;
In this case i wrote ’OR 1# in the username fields to alter the query which should be now&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM acccounts where username= ’ ’OR 1# AND password = ’’&lt;br /&gt;
&lt;br /&gt;
1 means true in SQL language and # is a comment so it ignores the password query. So our SQL String says now that it should gives as all datasets for which the condition is true which lead to following output:&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Extract-Data.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Cross-Site-Request_Forgery_(CSRF)]]-&amp;gt; Cross-Site-Request Forgery&lt;br /&gt;
This example can be found in the A5 section from the Owasp Top 10 examples, which is called &#039;Add to your blog&#039;.&lt;br /&gt;
Here we simulating an attack to vote for a security tool but without actually voting for it.&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* over 40 vulnerabilities (OWASP Top Ten 2007, 2010, 2013 and 2017[https://owasp.org/www-project-top-ten/])&lt;br /&gt;
* Actually Vulnerable&lt;br /&gt;
* Simple Intallation and Maintaining&lt;br /&gt;
* User can switch between 3 security levels (no security, Client-side Security, Server-side Security)&lt;br /&gt;
* Used in web security courses&lt;br /&gt;
* Tutorials and Guides included in Application&lt;br /&gt;
* Updated frequently&lt;br /&gt;
&lt;br /&gt;
== Interface ==&lt;br /&gt;
[[File:Mutillidae-Interface.png]]&lt;br /&gt;
&lt;br /&gt;
By clicking on any Item on the right dropdown menu, you can select any of the OWASP Top Ten Challanges from the last 15 years.&lt;br /&gt;
&lt;br /&gt;
* Hints and Videos - leads you directly to a structured guide how the exercise could be completed.&lt;br /&gt;
* Toggle Security - you can choose between 3 Security levels for each exercise&lt;br /&gt;
* Reset DB - Clear all user Data &lt;br /&gt;
* Labs - Study Questions associated with the Exercises&lt;br /&gt;
&lt;br /&gt;
== Examples of Vulnerabilities ==&lt;br /&gt;
&lt;br /&gt;
* SQL Injections (SQLi)[https://wiki.elvis.science/index.php?title=SQL_Injection]&lt;br /&gt;
* Cross-Site-Scripting [https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)]&lt;br /&gt;
* Sensitive Data Exposure&lt;br /&gt;
* other Injection (CSS, HTML, JavaScript)&lt;br /&gt;
* and many more...&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Apache Webserver&lt;br /&gt;
* Database (MySQL/MariaDb)&lt;br /&gt;
* Packages: Sourcecode from git (https://github.com/webpwnized/mutillidae)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install Apache Webserver on your local Machine&lt;br /&gt;
* Install PHP on your local Machine&lt;br /&gt;
* Install a supported Database (e.g. MySQL, MariaDB)&lt;br /&gt;
* Install Metasploit, it includes everything you need to run mutillidae&lt;br /&gt;
&lt;br /&gt;
If you have a XAMPP/LAMPP stack set up aleady, you might skip directly to installing Mutillidae.&lt;br /&gt;
There are Videos from the creator which gives a [https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae ===&lt;br /&gt;
&lt;br /&gt;
Head to the Folder where Websites are stored in Apache Webserver this could be the &amp;quot;htdocs&amp;quot; folder under XAMPP or if manually installed under a linux distribution this might be the folder &amp;quot;/var/www/html/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download the Repository from github (see [[#Requirements]]) and copy the contents of the Repository into the Webservers folder. After these steps go on your localhost webpage and make sure you can access Mutillidae Webinterface&lt;br /&gt;
&lt;br /&gt;
To see if the database is correctly installed press the &amp;quot;Reset DB&amp;quot; Button on the Webinterface. If you see the Message that no PHP or SQL errors were detected when resseting the database, the intallation of mutillidae succeded.&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae with Metasploit ===&lt;br /&gt;
A different method for installing Mutillidae is to install metasploit. Metasploit is a penetration testing software which inlcudes everything you need to set up and run Mutillidae.&lt;br /&gt;
This means that you don&#039;t have to install all the other components you need for example a database, because Metasploit is doing this for.&lt;br /&gt;
After installing you can use the credentials msfadmin for the username and password in order to login into Metasploit.&lt;br /&gt;
When Metasploit is running Mutillidae is also accessible and for that you use the ip address of the machine where Metasploit is running on.&lt;br /&gt;
To look up the ip address you can use the &#039;ip a&#039; command in the CLI to find the ip address.&lt;br /&gt;
Sometimes it happens that Mutillidae cannot access the database. This problem occurs when the database name in the config file is not set.&lt;br /&gt;
To fix this problem you have to navigate to this config file which is found in this destination &#039;/var/www/mutillidae/config.inc&#039;.&lt;br /&gt;
In this config file you change the value of the variable called &#039;$dbname&#039; to &#039;owasp10&#039;. After this configuration Mutillidae can access the database.&lt;br /&gt;
&lt;br /&gt;
[[File:database-config.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:Mutllidae-no-errors.png]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://owasp.org/www-project-top-ten/&lt;br /&gt;
* https://github.com/webpwnized/mutillidae&lt;br /&gt;
* https://www.youtube.com/c/webpwnized/featured&lt;br /&gt;
* https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial&lt;br /&gt;
&lt;br /&gt;
Internal Links&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection_Examples_on_Known_Vulnerable_Web_Applications&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10868</id>
		<title>OWASP Mutillidae (2021)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10868"/>
		<updated>2023-01-08T11:39:33Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: /* Practical example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
OWASP Mutillidae is a free open source tool created for Pentesting of Web Applications. It is a &amp;quot;Vulnerable Web Application&amp;quot; that offers a Platform where the provided Exploits and Security flaws can be executed within a local environment. With over 40 different vulnerabilities and related training challenges, it provides a platform that shows the most common flaws of the last 15 years of web development. The vulnerabilities shown in the program are actual vulnerabilities within the application, so the application should only be run in a protected environment - such as a virtual machine. The current Version Mutillidae II was created by Jeremy Druin [https://www.youtube.com/c/webpwnized/featured] (pseudonym: webpwnized), who also created the Tutorials for the Challanges and Installation Guides. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How it Operates ==&lt;br /&gt;
&lt;br /&gt;
Every Vulnerability contained in the application is build in within a Webpage. By selecting the Exploit from a List (e.g. Authentication Bypass) a site with the corresponding explotable Webpage is loaded and ready to get &amp;quot;hacked&amp;quot;. Since everything run at your local machine you can not harm anyone. The data such as &amp;quot;User Data&amp;quot; are stored in a Database which you set up when you install the Application (see Installation for more Information).&lt;br /&gt;
&lt;br /&gt;
[[File:Muti-Dropdown.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Practical example ==&lt;br /&gt;
&lt;br /&gt;
[[SQL_Injection]]-&amp;gt; SQLi Extract Data&lt;br /&gt;
&lt;br /&gt;
Now here is a short example how one vulnerability exploit could look like. In this case there is a query where user can request their userinformation by providing their credentials.&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-login.png]]&lt;br /&gt;
&lt;br /&gt;
Normally the query should only retrun only on record when correct credentials are entered.&lt;br /&gt;
&lt;br /&gt;
But this website is totally unsecure so we can easily rewrite the SQL query to give us a list of every user in the database. But how can we do this?&lt;br /&gt;
&lt;br /&gt;
===Step 1:=== &lt;br /&gt;
get an Exception by typing in invalid characters such as (&#039;, #, --)&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Exception.png]]&lt;br /&gt;
&lt;br /&gt;
===Step 2:=== &lt;br /&gt;
&lt;br /&gt;
Since we got an error message with the syntax how the sql statement is written we can alter the statement by simply put another statement in the form.&lt;br /&gt;
&lt;br /&gt;
In this case i wrote ’OR 1# in the username fields to alter the query which should be now&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM acccounts where username= ’ ’OR 1# AND password = ’’&lt;br /&gt;
&lt;br /&gt;
1 means true in SQL language and # is a comment so it ignores the password query. So our SQL String says now that it should gives as all datasets for which the condition is true which lead to following output:&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Extract-Data.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Cross-Site-Request_Forgery_(CSRF)]]-&amp;gt; Cross-Site-Request Forgery&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* over 40 vulnerabilities (OWASP Top Ten 2007, 2010, 2013 and 2017[https://owasp.org/www-project-top-ten/])&lt;br /&gt;
* Actually Vulnerable&lt;br /&gt;
* Simple Intallation and Maintaining&lt;br /&gt;
* User can switch between 3 security levels (no security, Client-side Security, Server-side Security)&lt;br /&gt;
* Used in web security courses&lt;br /&gt;
* Tutorials and Guides included in Application&lt;br /&gt;
* Updated frequently&lt;br /&gt;
&lt;br /&gt;
== Interface ==&lt;br /&gt;
[[File:Mutillidae-Interface.png]]&lt;br /&gt;
&lt;br /&gt;
By clicking on any Item on the right dropdown menu, you can select any of the OWASP Top Ten Challanges from the last 15 years.&lt;br /&gt;
&lt;br /&gt;
* Hints and Videos - leads you directly to a structured guide how the exercise could be completed.&lt;br /&gt;
* Toggle Security - you can choose between 3 Security levels for each exercise&lt;br /&gt;
* Reset DB - Clear all user Data &lt;br /&gt;
* Labs - Study Questions associated with the Exercises&lt;br /&gt;
&lt;br /&gt;
== Examples of Vulnerabilities ==&lt;br /&gt;
&lt;br /&gt;
* SQL Injections (SQLi)[https://wiki.elvis.science/index.php?title=SQL_Injection]&lt;br /&gt;
* Cross-Site-Scripting [https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)]&lt;br /&gt;
* Sensitive Data Exposure&lt;br /&gt;
* other Injection (CSS, HTML, JavaScript)&lt;br /&gt;
* and many more...&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Apache Webserver&lt;br /&gt;
* Database (MySQL/MariaDb)&lt;br /&gt;
* Packages: Sourcecode from git (https://github.com/webpwnized/mutillidae)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install Apache Webserver on your local Machine&lt;br /&gt;
* Install PHP on your local Machine&lt;br /&gt;
* Install a supported Database (e.g. MySQL, MariaDB)&lt;br /&gt;
* Install Metasploit, it includes everything you need to run mutillidae&lt;br /&gt;
&lt;br /&gt;
If you have a XAMPP/LAMPP stack set up aleady, you might skip directly to installing Mutillidae.&lt;br /&gt;
There are Videos from the creator which gives a [https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae ===&lt;br /&gt;
&lt;br /&gt;
Head to the Folder where Websites are stored in Apache Webserver this could be the &amp;quot;htdocs&amp;quot; folder under XAMPP or if manually installed under a linux distribution this might be the folder &amp;quot;/var/www/html/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download the Repository from github (see [[#Requirements]]) and copy the contents of the Repository into the Webservers folder. After these steps go on your localhost webpage and make sure you can access Mutillidae Webinterface&lt;br /&gt;
&lt;br /&gt;
To see if the database is correctly installed press the &amp;quot;Reset DB&amp;quot; Button on the Webinterface. If you see the Message that no PHP or SQL errors were detected when resseting the database, the intallation of mutillidae succeded.&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae with Metasploit ===&lt;br /&gt;
A different method for installing Mutillidae is to install metasploit. Metasploit is a penetration testing software which inlcudes everything you need to set up and run Mutillidae.&lt;br /&gt;
This means that you don&#039;t have to install all the other components you need for example a database, because Metasploit is doing this for.&lt;br /&gt;
After installing you can use the credentials msfadmin for the username and password in order to login into Metasploit.&lt;br /&gt;
When Metasploit is running Mutillidae is also accessible and for that you use the ip address of the machine where Metasploit is running on.&lt;br /&gt;
To look up the ip address you can use the &#039;ip a&#039; command in the CLI to find the ip address.&lt;br /&gt;
Sometimes it happens that Mutillidae cannot access the database. This problem occurs when the database name in the config file is not set.&lt;br /&gt;
To fix this problem you have to navigate to this config file which is found in this destination &#039;/var/www/mutillidae/config.inc&#039;.&lt;br /&gt;
In this config file you change the value of the variable called &#039;$dbname&#039; to &#039;owasp10&#039;. After this configuration Mutillidae can access the database.&lt;br /&gt;
&lt;br /&gt;
[[File:database-config.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:Mutllidae-no-errors.png]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://owasp.org/www-project-top-ten/&lt;br /&gt;
* https://github.com/webpwnized/mutillidae&lt;br /&gt;
* https://www.youtube.com/c/webpwnized/featured&lt;br /&gt;
* https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial&lt;br /&gt;
&lt;br /&gt;
Internal Links&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection_Examples_on_Known_Vulnerable_Web_Applications&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae&amp;diff=10866</id>
		<title>OWASP Mutillidae</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae&amp;diff=10866"/>
		<updated>2023-01-08T11:23:44Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;OWASP Mutillidae is a &amp;quot;Vulnerable Web Application&amp;quot; (see also: [[Unsecure Webservices: bWAPP vs. JuiceShop]]) that allows users to test Exploits in a legal manner inside a insulated Sandbox Environment. A big advantage of Mutillidae is the fact that it doesn&#039;t rely on &amp;quot;Magic Statements&amp;quot; - user inputs that are checked against a predefined list of accepted solutions. Instead, the way to complete challenges is completely up to the users.&lt;br /&gt;
Mutillidae Version II has been written by Jeremy Druin and currently contains about 40 Exploits and Skill Challenges, mainly picked from the [[Thread Modelling#Top 10 Web Application Security Risks|OWASP Top Ten Vulnerabilities]].&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
In order to use Mutillidae &amp;lt;ref&amp;gt;https://github.com/webpwnized/mutillidae &amp;lt;/ref&amp;gt;, the XAMPP-Stack&amp;lt;ref&amp;gt;https://www.apachefriends.org/download.html&amp;lt;/ref&amp;gt; has to be running on the user&#039;s OS. The Mutillidae source code can then be placed inside XAMPP&#039;s &amp;quot;htdocs&amp;quot; folder. This will allow the website to be reached under http://127.0.0.1/mutillidae/.&lt;br /&gt;
&lt;br /&gt;
Another way to use Mutillidae is to install Metasploit. Metasploit has everything you need to run Mutillidae. After installing and starting it you can use for the credentials &#039;msfadmin&#039; to login.&lt;br /&gt;
Then you have to check the ip address of the machine where Metasploit is running on, so you know which ip address you have to use in the browser to access Metasploit.&lt;br /&gt;
&lt;br /&gt;
== User Interface ==&lt;br /&gt;
[[File:Landing page.png|1200px]]&lt;br /&gt;
&lt;br /&gt;
As seen above, different features can be controlled on the landing page. The horizontal bar on top e.g. offers the possibility to hide or show hints, toggle through the three security levels or reset the backend database.&lt;br /&gt;
On the left side, users can choose from different Vulnerabilities, sorted by the different published OWASP Vulnerabilities published throughout time. Pages will be offered, on which the specified Vulnerabilities can be tested. If hints are activated, the system will describe potential vulnerabilities presented by the different elements shown on the site.&lt;br /&gt;
&lt;br /&gt;
== Selected Vulnerabilities ==&lt;br /&gt;
&lt;br /&gt;
A list of offered vulnerabilities include:&lt;br /&gt;
&lt;br /&gt;
*[[SQL Injection]] (Data Extraction, Authentication Bypass)&lt;br /&gt;
*Various other forms of Injection (CSS, HTML, JavaScript, [[Buffer Overflows]], XML)&lt;br /&gt;
*[[Cross-Site-Scripting (XSS)]]&lt;br /&gt;
*Various Security Missconfigurations&lt;br /&gt;
*Various forms of Authentication Bypass and Priviledge Escalation&lt;br /&gt;
&lt;br /&gt;
== Unique Features ==&lt;br /&gt;
&lt;br /&gt;
*Actual environment instead of &amp;quot;Magic Statements&amp;quot;&lt;br /&gt;
*3 Security Levels&lt;br /&gt;
*Embedded Help System&lt;br /&gt;
*A large amount of video tutorials by the creator &amp;lt;ref&amp;gt; https://www.youtube.com/user/webpwnized &amp;lt;/ref&amp;gt;&lt;br /&gt;
*Fast backend reset&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Pentesting]]&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10862</id>
		<title>OWASP Mutillidae (2021)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10862"/>
		<updated>2023-01-08T11:12:25Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
OWASP Mutillidae is a free open source tool created for Pentesting of Web Applications. It is a &amp;quot;Vulnerable Web Application&amp;quot; that offers a Platform where the provided Exploits and Security flaws can be executed within a local environment. With over 40 different vulnerabilities and related training challenges, it provides a platform that shows the most common flaws of the last 15 years of web development. The vulnerabilities shown in the program are actual vulnerabilities within the application, so the application should only be run in a protected environment - such as a virtual machine. The current Version Mutillidae II was created by Jeremy Druin [https://www.youtube.com/c/webpwnized/featured] (pseudonym: webpwnized), who also created the Tutorials for the Challanges and Installation Guides. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How it Operates ==&lt;br /&gt;
&lt;br /&gt;
Every Vulnerability contained in the application is build in within a Webpage. By selecting the Exploit from a List (e.g. Authentication Bypass) a site with the corresponding explotable Webpage is loaded and ready to get &amp;quot;hacked&amp;quot;. Since everything run at your local machine you can not harm anyone. The data such as &amp;quot;User Data&amp;quot; are stored in a Database which you set up when you install the Application (see Installation for more Information).&lt;br /&gt;
&lt;br /&gt;
[[File:Muti-Dropdown.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Practical example ==&lt;br /&gt;
&lt;br /&gt;
[[SQL_Injection]]-&amp;gt; SQLi Extract Data&lt;br /&gt;
&lt;br /&gt;
Now here is a short example how one vulnerability exploit could look like. In this case there is a query where user can request their userinformation by providing their credentials.&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-login.png]]&lt;br /&gt;
&lt;br /&gt;
Normally the query should only retrun only on record when correct credentials are entered.&lt;br /&gt;
&lt;br /&gt;
But this website is totally unsecure so we can easily rewrite the SQL query to give us a list of every user in the database. But how can we do this?&lt;br /&gt;
&lt;br /&gt;
===Step 1:=== &lt;br /&gt;
get an Exception by typing in invalid characters such as (&#039;, #, --)&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Exception.png]]&lt;br /&gt;
&lt;br /&gt;
===Step 2:=== &lt;br /&gt;
&lt;br /&gt;
Since we got an error message with the syntax how the sql statement is written we can alter the statement by simply put another statement in the form.&lt;br /&gt;
&lt;br /&gt;
In this case i wrote ’OR 1# in the username fields to alter the query which should be now&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM acccounts where username= ’ ’OR 1# AND password = ’’&lt;br /&gt;
&lt;br /&gt;
1 means true in SQL language and # is a comment so it ignores the password query. So our SQL String says now that it should gives as all datasets for which the condition is true which lead to following output:&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Extract-Data.png]]&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* over 40 vulnerabilities (OWASP Top Ten 2007, 2010, 2013 and 2017[https://owasp.org/www-project-top-ten/])&lt;br /&gt;
* Actually Vulnerable&lt;br /&gt;
* Simple Intallation and Maintaining&lt;br /&gt;
* User can switch between 3 security levels (no security, Client-side Security, Server-side Security)&lt;br /&gt;
* Used in web security courses&lt;br /&gt;
* Tutorials and Guides included in Application&lt;br /&gt;
* Updated frequently&lt;br /&gt;
&lt;br /&gt;
== Interface ==&lt;br /&gt;
[[File:Mutillidae-Interface.png]]&lt;br /&gt;
&lt;br /&gt;
By clicking on any Item on the right dropdown menu, you can select any of the OWASP Top Ten Challanges from the last 15 years.&lt;br /&gt;
&lt;br /&gt;
* Hints and Videos - leads you directly to a structured guide how the exercise could be completed.&lt;br /&gt;
* Toggle Security - you can choose between 3 Security levels for each exercise&lt;br /&gt;
* Reset DB - Clear all user Data &lt;br /&gt;
* Labs - Study Questions associated with the Exercises&lt;br /&gt;
&lt;br /&gt;
== Examples of Vulnerabilities ==&lt;br /&gt;
&lt;br /&gt;
* SQL Injections (SQLi)[https://wiki.elvis.science/index.php?title=SQL_Injection]&lt;br /&gt;
* Cross-Site-Scripting [https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)]&lt;br /&gt;
* Sensitive Data Exposure&lt;br /&gt;
* other Injection (CSS, HTML, JavaScript)&lt;br /&gt;
* and many more...&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Apache Webserver&lt;br /&gt;
* Database (MySQL/MariaDb)&lt;br /&gt;
* Packages: Sourcecode from git (https://github.com/webpwnized/mutillidae)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install Apache Webserver on your local Machine&lt;br /&gt;
* Install PHP on your local Machine&lt;br /&gt;
* Install a supported Database (e.g. MySQL, MariaDB)&lt;br /&gt;
* Install Metasploit, it includes everything you need to run mutillidae&lt;br /&gt;
&lt;br /&gt;
If you have a XAMPP/LAMPP stack set up aleady, you might skip directly to installing Mutillidae.&lt;br /&gt;
There are Videos from the creator which gives a [https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae ===&lt;br /&gt;
&lt;br /&gt;
Head to the Folder where Websites are stored in Apache Webserver this could be the &amp;quot;htdocs&amp;quot; folder under XAMPP or if manually installed under a linux distribution this might be the folder &amp;quot;/var/www/html/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download the Repository from github (see [[#Requirements]]) and copy the contents of the Repository into the Webservers folder. After these steps go on your localhost webpage and make sure you can access Mutillidae Webinterface&lt;br /&gt;
&lt;br /&gt;
To see if the database is correctly installed press the &amp;quot;Reset DB&amp;quot; Button on the Webinterface. If you see the Message that no PHP or SQL errors were detected when resseting the database, the intallation of mutillidae succeded.&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae with Metasploit ===&lt;br /&gt;
A different method for installing Mutillidae is to install metasploit. Metasploit is a penetration testing software which inlcudes everything you need to set up and run Mutillidae.&lt;br /&gt;
This means that you don&#039;t have to install all the other components you need for example a database, because Metasploit is doing this for.&lt;br /&gt;
After installing you can use the credentials msfadmin for the username and password in order to login into Metasploit.&lt;br /&gt;
When Metasploit is running Mutillidae is also accessible and for that you use the ip address of the machine where Metasploit is running on.&lt;br /&gt;
To look up the ip address you can use the &#039;ip a&#039; command in the CLI to find the ip address.&lt;br /&gt;
Sometimes it happens that Mutillidae cannot access the database. This problem occurs when the database name in the config file is not set.&lt;br /&gt;
To fix this problem you have to navigate to this config file which is found in this destination &#039;/var/www/mutillidae/config.inc&#039;.&lt;br /&gt;
In this config file you change the value of the variable called &#039;$dbname&#039; to &#039;owasp10&#039;. After this configuration Mutillidae can access the database.&lt;br /&gt;
&lt;br /&gt;
[[File:database-config.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:Mutllidae-no-errors.png]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://owasp.org/www-project-top-ten/&lt;br /&gt;
* https://github.com/webpwnized/mutillidae&lt;br /&gt;
* https://www.youtube.com/c/webpwnized/featured&lt;br /&gt;
* https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial&lt;br /&gt;
&lt;br /&gt;
Internal Links&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection_Examples_on_Known_Vulnerable_Web_Applications&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10860</id>
		<title>OWASP Mutillidae (2021)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10860"/>
		<updated>2023-01-08T11:08:11Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: /* Installing Mutillidae with Metasploit */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
OWASP Mutillidae is a free open source tool created for Pentesting of Web Applications. It is a &amp;quot;Vulnerable Web Application&amp;quot; that offers a Platform where the provided Exploits and Security flaws can be executed within a local environment. With over 40 different vulnerabilities and related training challenges, it provides a platform that shows the most common flaws of the last 15 years of web development. The vulnerabilities shown in the program are actual vulnerabilities within the application, so the application should only be run in a protected environment - such as a virtual machine. The current Version Mutillidae II was created by Jeremy Druin [https://www.youtube.com/c/webpwnized/featured] (pseudonym: webpwnized), who also created the Tutorials for the Challanges and Installation Guides. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How it Operates ==&lt;br /&gt;
&lt;br /&gt;
Every Vulnerability contained in the application is build in within a Webpage. By selecting the Exploit from a List (e.g. Authentication Bypass) a site with the corresponding explotable Webpage is loaded and ready to get &amp;quot;hacked&amp;quot;. Since everything run at your local machine you can not harm anyone. The data such as &amp;quot;User Data&amp;quot; are stored in a Database which you set up when you install the Application (see Installation for more Information).&lt;br /&gt;
&lt;br /&gt;
[[File:Muti-Dropdown.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Practical example ==&lt;br /&gt;
&lt;br /&gt;
[[SQL_Injection]]-&amp;gt; SQLi Extract Data&lt;br /&gt;
&lt;br /&gt;
Now here is a short example how one vulnerability exploit could look like. In this case there is a query where user can request their userinformation by providing their credentials.&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-login.png]]&lt;br /&gt;
&lt;br /&gt;
Normally the query should only retrun only on record when correct credentials are entered.&lt;br /&gt;
&lt;br /&gt;
But this website is totally unsecure so we can easily rewrite the SQL query to give us a list of every user in the database. But how can we do this?&lt;br /&gt;
&lt;br /&gt;
===Step 1:=== &lt;br /&gt;
get an Exception by typing in invalid characters such as (&#039;, #, --)&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Exception.png]]&lt;br /&gt;
&lt;br /&gt;
===Step 2:=== &lt;br /&gt;
&lt;br /&gt;
Since we got an error message with the syntax how the sql statement is written we can alter the statement by simply put another statement in the form.&lt;br /&gt;
&lt;br /&gt;
In this case i wrote ’OR 1# in the username fields to alter the query which should be now&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM acccounts where username= ’ ’OR 1# AND password = ’’&lt;br /&gt;
&lt;br /&gt;
1 means true in SQL language and # is a comment so it ignores the password query. So our SQL String says now that it should gives as all datasets for which the condition is true which lead to following output:&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Extract-Data.png]]&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* over 40 vulnerabilities (OWASP Top Ten 2007, 2010, 2013 and 2017[https://owasp.org/www-project-top-ten/])&lt;br /&gt;
* Actually Vulnerable&lt;br /&gt;
* Simple Intallation and Maintaining&lt;br /&gt;
* User can switch between 3 security levels (no security, Client-side Security, Server-side Security)&lt;br /&gt;
* Used in web security courses&lt;br /&gt;
* Tutorials and Guides included in Application&lt;br /&gt;
* Updated frequently&lt;br /&gt;
&lt;br /&gt;
== Interface ==&lt;br /&gt;
[[File:Mutillidae-Interface.png]]&lt;br /&gt;
&lt;br /&gt;
By clicking on any Item on the right dropdown menu, you can select any of the OWASP Top Ten Challanges from the last 15 years.&lt;br /&gt;
&lt;br /&gt;
* Hints and Videos - leads you directly to a structured guide how the exercise could be completed.&lt;br /&gt;
* Toggle Security - you can choose between 3 Security levels for each exercise&lt;br /&gt;
* Reset DB - Clear all user Data &lt;br /&gt;
* Labs - Study Questions associated with the Exercises&lt;br /&gt;
&lt;br /&gt;
== Examples of Vulnerabilities ==&lt;br /&gt;
&lt;br /&gt;
* SQL Injections (SQLi)[https://wiki.elvis.science/index.php?title=SQL_Injection]&lt;br /&gt;
* Cross-Site-Scripting [https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)]&lt;br /&gt;
* Sensitive Data Exposure&lt;br /&gt;
* other Injection (CSS, HTML, JavaScript)&lt;br /&gt;
* and many more...&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Apache Webserver&lt;br /&gt;
* Database (MySQL/MariaDb)&lt;br /&gt;
* Packages: Sourcecode from git (https://github.com/webpwnized/mutillidae)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install Apache Webserver on your local Machine&lt;br /&gt;
* Install PHP on your local Machine&lt;br /&gt;
* Install a supported Database (e.g. MySQL, MariaDB)&lt;br /&gt;
* Install metasploit, it includes everything you need to run mutillidae&lt;br /&gt;
&lt;br /&gt;
If you have a XAMPP/LAMPP stack set up aleady, you might skip directly to installing Mutillidae.&lt;br /&gt;
There are Videos from the creator which gives a [https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae ===&lt;br /&gt;
&lt;br /&gt;
Head to the Folder where Websites are stored in Apache Webserver this could be the &amp;quot;htdocs&amp;quot; folder under XAMPP or if manually installed under a linux distribution this might be the folder &amp;quot;/var/www/html/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download the Repository from github (see [[#Requirements]]) and copy the contents of the Repository into the Webservers folder. After these steps go on your localhost webpage and make sure you can access Mutillidae Webinterface&lt;br /&gt;
&lt;br /&gt;
To see if the database is correctly installed press the &amp;quot;Reset DB&amp;quot; Button on the Webinterface. If you see the Message that no PHP or SQL errors were detected when resseting the database, the intallation of mutillidae succeded.&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae with Metasploit ===&lt;br /&gt;
A different method for installing Mutillidae is to install metasploit. Metasploit is a penetration testing software which inlcudes everything you need to set up and run Mutillidae.&lt;br /&gt;
This means that you don&#039;t have to install all the other components you need for example a database, because Metasploit is doing this for.&lt;br /&gt;
After installing you can use the credentials msfadmin for the username and password in order to login into Metasploit.&lt;br /&gt;
When Metasploit is running Mutillidae is also accessible and for that you use the ip address of the machine where Metasploit is running on.&lt;br /&gt;
To look up the ip address you can use the &#039;ip a&#039; command in the CLI to find the ip address.&lt;br /&gt;
Sometimes it happens that Mutillidae cannot access the database. This problem occurs when the database name in the config file is not set.&lt;br /&gt;
To fix this problem you have to navigate to this config file which is found in this destination &#039;/var/www/mutillidae/config.inc&#039;.&lt;br /&gt;
In this config file you change the value of the variable called &#039;$dbname&#039; to &#039;owasp10&#039;. After this configuration Mutillidae can access the database.&lt;br /&gt;
&lt;br /&gt;
[[File:database-config.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:Mutllidae-no-errors.png]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://owasp.org/www-project-top-ten/&lt;br /&gt;
* https://github.com/webpwnized/mutillidae&lt;br /&gt;
* https://www.youtube.com/c/webpwnized/featured&lt;br /&gt;
* https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial&lt;br /&gt;
&lt;br /&gt;
Internal Links&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection_Examples_on_Known_Vulnerable_Web_Applications&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10859</id>
		<title>OWASP Mutillidae (2021)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10859"/>
		<updated>2023-01-08T11:06:36Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: /* Installing Mutillidae with Metasploit */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
OWASP Mutillidae is a free open source tool created for Pentesting of Web Applications. It is a &amp;quot;Vulnerable Web Application&amp;quot; that offers a Platform where the provided Exploits and Security flaws can be executed within a local environment. With over 40 different vulnerabilities and related training challenges, it provides a platform that shows the most common flaws of the last 15 years of web development. The vulnerabilities shown in the program are actual vulnerabilities within the application, so the application should only be run in a protected environment - such as a virtual machine. The current Version Mutillidae II was created by Jeremy Druin [https://www.youtube.com/c/webpwnized/featured] (pseudonym: webpwnized), who also created the Tutorials for the Challanges and Installation Guides. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How it Operates ==&lt;br /&gt;
&lt;br /&gt;
Every Vulnerability contained in the application is build in within a Webpage. By selecting the Exploit from a List (e.g. Authentication Bypass) a site with the corresponding explotable Webpage is loaded and ready to get &amp;quot;hacked&amp;quot;. Since everything run at your local machine you can not harm anyone. The data such as &amp;quot;User Data&amp;quot; are stored in a Database which you set up when you install the Application (see Installation for more Information).&lt;br /&gt;
&lt;br /&gt;
[[File:Muti-Dropdown.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Practical example ==&lt;br /&gt;
&lt;br /&gt;
[[SQL_Injection]]-&amp;gt; SQLi Extract Data&lt;br /&gt;
&lt;br /&gt;
Now here is a short example how one vulnerability exploit could look like. In this case there is a query where user can request their userinformation by providing their credentials.&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-login.png]]&lt;br /&gt;
&lt;br /&gt;
Normally the query should only retrun only on record when correct credentials are entered.&lt;br /&gt;
&lt;br /&gt;
But this website is totally unsecure so we can easily rewrite the SQL query to give us a list of every user in the database. But how can we do this?&lt;br /&gt;
&lt;br /&gt;
===Step 1:=== &lt;br /&gt;
get an Exception by typing in invalid characters such as (&#039;, #, --)&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Exception.png]]&lt;br /&gt;
&lt;br /&gt;
===Step 2:=== &lt;br /&gt;
&lt;br /&gt;
Since we got an error message with the syntax how the sql statement is written we can alter the statement by simply put another statement in the form.&lt;br /&gt;
&lt;br /&gt;
In this case i wrote ’OR 1# in the username fields to alter the query which should be now&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM acccounts where username= ’ ’OR 1# AND password = ’’&lt;br /&gt;
&lt;br /&gt;
1 means true in SQL language and # is a comment so it ignores the password query. So our SQL String says now that it should gives as all datasets for which the condition is true which lead to following output:&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Extract-Data.png]]&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* over 40 vulnerabilities (OWASP Top Ten 2007, 2010, 2013 and 2017[https://owasp.org/www-project-top-ten/])&lt;br /&gt;
* Actually Vulnerable&lt;br /&gt;
* Simple Intallation and Maintaining&lt;br /&gt;
* User can switch between 3 security levels (no security, Client-side Security, Server-side Security)&lt;br /&gt;
* Used in web security courses&lt;br /&gt;
* Tutorials and Guides included in Application&lt;br /&gt;
* Updated frequently&lt;br /&gt;
&lt;br /&gt;
== Interface ==&lt;br /&gt;
[[File:Mutillidae-Interface.png]]&lt;br /&gt;
&lt;br /&gt;
By clicking on any Item on the right dropdown menu, you can select any of the OWASP Top Ten Challanges from the last 15 years.&lt;br /&gt;
&lt;br /&gt;
* Hints and Videos - leads you directly to a structured guide how the exercise could be completed.&lt;br /&gt;
* Toggle Security - you can choose between 3 Security levels for each exercise&lt;br /&gt;
* Reset DB - Clear all user Data &lt;br /&gt;
* Labs - Study Questions associated with the Exercises&lt;br /&gt;
&lt;br /&gt;
== Examples of Vulnerabilities ==&lt;br /&gt;
&lt;br /&gt;
* SQL Injections (SQLi)[https://wiki.elvis.science/index.php?title=SQL_Injection]&lt;br /&gt;
* Cross-Site-Scripting [https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)]&lt;br /&gt;
* Sensitive Data Exposure&lt;br /&gt;
* other Injection (CSS, HTML, JavaScript)&lt;br /&gt;
* and many more...&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Apache Webserver&lt;br /&gt;
* Database (MySQL/MariaDb)&lt;br /&gt;
* Packages: Sourcecode from git (https://github.com/webpwnized/mutillidae)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install Apache Webserver on your local Machine&lt;br /&gt;
* Install PHP on your local Machine&lt;br /&gt;
* Install a supported Database (e.g. MySQL, MariaDB)&lt;br /&gt;
* Install metasploit, it includes everything you need to run mutillidae&lt;br /&gt;
&lt;br /&gt;
If you have a XAMPP/LAMPP stack set up aleady, you might skip directly to installing Mutillidae.&lt;br /&gt;
There are Videos from the creator which gives a [https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae ===&lt;br /&gt;
&lt;br /&gt;
Head to the Folder where Websites are stored in Apache Webserver this could be the &amp;quot;htdocs&amp;quot; folder under XAMPP or if manually installed under a linux distribution this might be the folder &amp;quot;/var/www/html/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download the Repository from github (see [[#Requirements]]) and copy the contents of the Repository into the Webservers folder. After these steps go on your localhost webpage and make sure you can access Mutillidae Webinterface&lt;br /&gt;
&lt;br /&gt;
To see if the database is correctly installed press the &amp;quot;Reset DB&amp;quot; Button on the Webinterface. If you see the Message that no PHP or SQL errors were detected when resseting the database, the intallation of mutillidae succeded.&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae with Metasploit ===&lt;br /&gt;
A different method for installing Mutillidae is to install metasploit. Metasploit is a penetration testing software which inlcudes everything you need to set up and run Mutillidae.&lt;br /&gt;
This means that you don&#039;t have to install all the other components you need for example a database, because Metasploit is doing this for.&lt;br /&gt;
After installing you can use the credentials msfadmin for the username and password in order to login into Metasploit.&lt;br /&gt;
When Metasploit is running Mutillidae is also accessible and for that you use the ip address of the machine where Metasploit is running on.&lt;br /&gt;
To look up the ip address you can use the &#039;ip a&#039; command in the CLI to find the ip address.&lt;br /&gt;
Sometimes it happens that Mutillidae cannot access the database. This problem occurs when the database name in the config file is not set.&lt;br /&gt;
To fix this problem you have to navigate to this config file which is found in this destination &#039;/var/www/mutillidae/config.inc&#039;.&lt;br /&gt;
In this config file you change the value of the variable called &#039;$dbname&#039; to &#039;owasp10&#039;. After this configuration Mutillidae can access the database.&lt;br /&gt;
&lt;br /&gt;
[[File:Config.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:Mutllidae-no-errors.png]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://owasp.org/www-project-top-ten/&lt;br /&gt;
* https://github.com/webpwnized/mutillidae&lt;br /&gt;
* https://www.youtube.com/c/webpwnized/featured&lt;br /&gt;
* https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial&lt;br /&gt;
&lt;br /&gt;
Internal Links&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection_Examples_on_Known_Vulnerable_Web_Applications&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10858</id>
		<title>OWASP Mutillidae (2021)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10858"/>
		<updated>2023-01-08T11:02:30Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: /* Installing Mutillidae with Metasploit */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
OWASP Mutillidae is a free open source tool created for Pentesting of Web Applications. It is a &amp;quot;Vulnerable Web Application&amp;quot; that offers a Platform where the provided Exploits and Security flaws can be executed within a local environment. With over 40 different vulnerabilities and related training challenges, it provides a platform that shows the most common flaws of the last 15 years of web development. The vulnerabilities shown in the program are actual vulnerabilities within the application, so the application should only be run in a protected environment - such as a virtual machine. The current Version Mutillidae II was created by Jeremy Druin [https://www.youtube.com/c/webpwnized/featured] (pseudonym: webpwnized), who also created the Tutorials for the Challanges and Installation Guides. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How it Operates ==&lt;br /&gt;
&lt;br /&gt;
Every Vulnerability contained in the application is build in within a Webpage. By selecting the Exploit from a List (e.g. Authentication Bypass) a site with the corresponding explotable Webpage is loaded and ready to get &amp;quot;hacked&amp;quot;. Since everything run at your local machine you can not harm anyone. The data such as &amp;quot;User Data&amp;quot; are stored in a Database which you set up when you install the Application (see Installation for more Information).&lt;br /&gt;
&lt;br /&gt;
[[File:Muti-Dropdown.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Practical example ==&lt;br /&gt;
&lt;br /&gt;
[[SQL_Injection]]-&amp;gt; SQLi Extract Data&lt;br /&gt;
&lt;br /&gt;
Now here is a short example how one vulnerability exploit could look like. In this case there is a query where user can request their userinformation by providing their credentials.&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-login.png]]&lt;br /&gt;
&lt;br /&gt;
Normally the query should only retrun only on record when correct credentials are entered.&lt;br /&gt;
&lt;br /&gt;
But this website is totally unsecure so we can easily rewrite the SQL query to give us a list of every user in the database. But how can we do this?&lt;br /&gt;
&lt;br /&gt;
===Step 1:=== &lt;br /&gt;
get an Exception by typing in invalid characters such as (&#039;, #, --)&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Exception.png]]&lt;br /&gt;
&lt;br /&gt;
===Step 2:=== &lt;br /&gt;
&lt;br /&gt;
Since we got an error message with the syntax how the sql statement is written we can alter the statement by simply put another statement in the form.&lt;br /&gt;
&lt;br /&gt;
In this case i wrote ’OR 1# in the username fields to alter the query which should be now&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM acccounts where username= ’ ’OR 1# AND password = ’’&lt;br /&gt;
&lt;br /&gt;
1 means true in SQL language and # is a comment so it ignores the password query. So our SQL String says now that it should gives as all datasets for which the condition is true which lead to following output:&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Extract-Data.png]]&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* over 40 vulnerabilities (OWASP Top Ten 2007, 2010, 2013 and 2017[https://owasp.org/www-project-top-ten/])&lt;br /&gt;
* Actually Vulnerable&lt;br /&gt;
* Simple Intallation and Maintaining&lt;br /&gt;
* User can switch between 3 security levels (no security, Client-side Security, Server-side Security)&lt;br /&gt;
* Used in web security courses&lt;br /&gt;
* Tutorials and Guides included in Application&lt;br /&gt;
* Updated frequently&lt;br /&gt;
&lt;br /&gt;
== Interface ==&lt;br /&gt;
[[File:Mutillidae-Interface.png]]&lt;br /&gt;
&lt;br /&gt;
By clicking on any Item on the right dropdown menu, you can select any of the OWASP Top Ten Challanges from the last 15 years.&lt;br /&gt;
&lt;br /&gt;
* Hints and Videos - leads you directly to a structured guide how the exercise could be completed.&lt;br /&gt;
* Toggle Security - you can choose between 3 Security levels for each exercise&lt;br /&gt;
* Reset DB - Clear all user Data &lt;br /&gt;
* Labs - Study Questions associated with the Exercises&lt;br /&gt;
&lt;br /&gt;
== Examples of Vulnerabilities ==&lt;br /&gt;
&lt;br /&gt;
* SQL Injections (SQLi)[https://wiki.elvis.science/index.php?title=SQL_Injection]&lt;br /&gt;
* Cross-Site-Scripting [https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)]&lt;br /&gt;
* Sensitive Data Exposure&lt;br /&gt;
* other Injection (CSS, HTML, JavaScript)&lt;br /&gt;
* and many more...&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Apache Webserver&lt;br /&gt;
* Database (MySQL/MariaDb)&lt;br /&gt;
* Packages: Sourcecode from git (https://github.com/webpwnized/mutillidae)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install Apache Webserver on your local Machine&lt;br /&gt;
* Install PHP on your local Machine&lt;br /&gt;
* Install a supported Database (e.g. MySQL, MariaDB)&lt;br /&gt;
* Install metasploit, it includes everything you need to run mutillidae&lt;br /&gt;
&lt;br /&gt;
If you have a XAMPP/LAMPP stack set up aleady, you might skip directly to installing Mutillidae.&lt;br /&gt;
There are Videos from the creator which gives a [https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae ===&lt;br /&gt;
&lt;br /&gt;
Head to the Folder where Websites are stored in Apache Webserver this could be the &amp;quot;htdocs&amp;quot; folder under XAMPP or if manually installed under a linux distribution this might be the folder &amp;quot;/var/www/html/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download the Repository from github (see [[#Requirements]]) and copy the contents of the Repository into the Webservers folder. After these steps go on your localhost webpage and make sure you can access Mutillidae Webinterface&lt;br /&gt;
&lt;br /&gt;
To see if the database is correctly installed press the &amp;quot;Reset DB&amp;quot; Button on the Webinterface. If you see the Message that no PHP or SQL errors were detected when resseting the database, the intallation of mutillidae succeded.&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae with Metasploit ===&lt;br /&gt;
A different method for installing Mutillidae is to install metasploit. Metasploit is a penetration testing software which inlcudes everything you need to set up and run Mutillidae.&lt;br /&gt;
This means that you don&#039;t have to install all the other components you need for example a database, because Metasploit is doing this for.&lt;br /&gt;
After installing you can use the credentials msfadmin for the username and password in order to login into Metasploit.&lt;br /&gt;
When Metasploit is running Mutillidae is also accessible and for that you use the ip address of the machine where Metasploit is running on.&lt;br /&gt;
To look up the ip address you can use the &#039;ip a&#039; command in the CLI to find the ip address.&lt;br /&gt;
Sometimes it happens that Mutillidae cannot access the database. This problem occurs when the database name in the config file is not set.&lt;br /&gt;
To fix this problem you have to navigate to this config file which is found in this destination &#039;/var/www/mutillidae/config.inc&#039;.&lt;br /&gt;
In this config file you change the value of the variable called &#039;$dbname&#039; to &#039;owasp10&#039;. After this configuration Mutillidae can access the database.&lt;br /&gt;
[[File:Config.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Mutllidae-no-errors.png]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://owasp.org/www-project-top-ten/&lt;br /&gt;
* https://github.com/webpwnized/mutillidae&lt;br /&gt;
* https://www.youtube.com/c/webpwnized/featured&lt;br /&gt;
* https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial&lt;br /&gt;
&lt;br /&gt;
Internal Links&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection_Examples_on_Known_Vulnerable_Web_Applications&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10855</id>
		<title>OWASP Mutillidae (2021)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10855"/>
		<updated>2023-01-08T10:52:13Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: /* Installing Mutillidae with Metasploit */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
OWASP Mutillidae is a free open source tool created for Pentesting of Web Applications. It is a &amp;quot;Vulnerable Web Application&amp;quot; that offers a Platform where the provided Exploits and Security flaws can be executed within a local environment. With over 40 different vulnerabilities and related training challenges, it provides a platform that shows the most common flaws of the last 15 years of web development. The vulnerabilities shown in the program are actual vulnerabilities within the application, so the application should only be run in a protected environment - such as a virtual machine. The current Version Mutillidae II was created by Jeremy Druin [https://www.youtube.com/c/webpwnized/featured] (pseudonym: webpwnized), who also created the Tutorials for the Challanges and Installation Guides. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How it Operates ==&lt;br /&gt;
&lt;br /&gt;
Every Vulnerability contained in the application is build in within a Webpage. By selecting the Exploit from a List (e.g. Authentication Bypass) a site with the corresponding explotable Webpage is loaded and ready to get &amp;quot;hacked&amp;quot;. Since everything run at your local machine you can not harm anyone. The data such as &amp;quot;User Data&amp;quot; are stored in a Database which you set up when you install the Application (see Installation for more Information).&lt;br /&gt;
&lt;br /&gt;
[[File:Muti-Dropdown.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Practical example ==&lt;br /&gt;
&lt;br /&gt;
[[SQL_Injection]]-&amp;gt; SQLi Extract Data&lt;br /&gt;
&lt;br /&gt;
Now here is a short example how one vulnerability exploit could look like. In this case there is a query where user can request their userinformation by providing their credentials.&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-login.png]]&lt;br /&gt;
&lt;br /&gt;
Normally the query should only retrun only on record when correct credentials are entered.&lt;br /&gt;
&lt;br /&gt;
But this website is totally unsecure so we can easily rewrite the SQL query to give us a list of every user in the database. But how can we do this?&lt;br /&gt;
&lt;br /&gt;
===Step 1:=== &lt;br /&gt;
get an Exception by typing in invalid characters such as (&#039;, #, --)&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Exception.png]]&lt;br /&gt;
&lt;br /&gt;
===Step 2:=== &lt;br /&gt;
&lt;br /&gt;
Since we got an error message with the syntax how the sql statement is written we can alter the statement by simply put another statement in the form.&lt;br /&gt;
&lt;br /&gt;
In this case i wrote ’OR 1# in the username fields to alter the query which should be now&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM acccounts where username= ’ ’OR 1# AND password = ’’&lt;br /&gt;
&lt;br /&gt;
1 means true in SQL language and # is a comment so it ignores the password query. So our SQL String says now that it should gives as all datasets for which the condition is true which lead to following output:&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Extract-Data.png]]&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* over 40 vulnerabilities (OWASP Top Ten 2007, 2010, 2013 and 2017[https://owasp.org/www-project-top-ten/])&lt;br /&gt;
* Actually Vulnerable&lt;br /&gt;
* Simple Intallation and Maintaining&lt;br /&gt;
* User can switch between 3 security levels (no security, Client-side Security, Server-side Security)&lt;br /&gt;
* Used in web security courses&lt;br /&gt;
* Tutorials and Guides included in Application&lt;br /&gt;
* Updated frequently&lt;br /&gt;
&lt;br /&gt;
== Interface ==&lt;br /&gt;
[[File:Mutillidae-Interface.png]]&lt;br /&gt;
&lt;br /&gt;
By clicking on any Item on the right dropdown menu, you can select any of the OWASP Top Ten Challanges from the last 15 years.&lt;br /&gt;
&lt;br /&gt;
* Hints and Videos - leads you directly to a structured guide how the exercise could be completed.&lt;br /&gt;
* Toggle Security - you can choose between 3 Security levels for each exercise&lt;br /&gt;
* Reset DB - Clear all user Data &lt;br /&gt;
* Labs - Study Questions associated with the Exercises&lt;br /&gt;
&lt;br /&gt;
== Examples of Vulnerabilities ==&lt;br /&gt;
&lt;br /&gt;
* SQL Injections (SQLi)[https://wiki.elvis.science/index.php?title=SQL_Injection]&lt;br /&gt;
* Cross-Site-Scripting [https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)]&lt;br /&gt;
* Sensitive Data Exposure&lt;br /&gt;
* other Injection (CSS, HTML, JavaScript)&lt;br /&gt;
* and many more...&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Apache Webserver&lt;br /&gt;
* Database (MySQL/MariaDb)&lt;br /&gt;
* Packages: Sourcecode from git (https://github.com/webpwnized/mutillidae)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install Apache Webserver on your local Machine&lt;br /&gt;
* Install PHP on your local Machine&lt;br /&gt;
* Install a supported Database (e.g. MySQL, MariaDB)&lt;br /&gt;
* Install metasploit, it includes everything you need to run mutillidae&lt;br /&gt;
&lt;br /&gt;
If you have a XAMPP/LAMPP stack set up aleady, you might skip directly to installing Mutillidae.&lt;br /&gt;
There are Videos from the creator which gives a [https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae ===&lt;br /&gt;
&lt;br /&gt;
Head to the Folder where Websites are stored in Apache Webserver this could be the &amp;quot;htdocs&amp;quot; folder under XAMPP or if manually installed under a linux distribution this might be the folder &amp;quot;/var/www/html/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download the Repository from github (see [[#Requirements]]) and copy the contents of the Repository into the Webservers folder. After these steps go on your localhost webpage and make sure you can access Mutillidae Webinterface&lt;br /&gt;
&lt;br /&gt;
To see if the database is correctly installed press the &amp;quot;Reset DB&amp;quot; Button on the Webinterface. If you see the Message that no PHP or SQL errors were detected when resseting the database, the intallation of mutillidae succeded.&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae with Metasploit ===&lt;br /&gt;
A different method for installing Mutillidae is to install metasploit. Metasploit is a penetration testing software which inlcudes everything you need to set up and run Mutillidae.&lt;br /&gt;
This means that you don&#039;t have to install all the other components you need for example a database, because Metasploit is doing this for.&lt;br /&gt;
After installing you can use the credentials msfadmin for the username and password in order to login into Metasploit.&lt;br /&gt;
When Metasploit is running Mutillidae is also accessible and for that you use the ip address of the machine where Metasploit is running on.&lt;br /&gt;
To look up the ip address you can use the &#039;ip a&#039; command in the cli to find the ip address.&lt;br /&gt;
[[File:Config.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Mutllidae-no-errors.png]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://owasp.org/www-project-top-ten/&lt;br /&gt;
* https://github.com/webpwnized/mutillidae&lt;br /&gt;
* https://www.youtube.com/c/webpwnized/featured&lt;br /&gt;
* https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial&lt;br /&gt;
&lt;br /&gt;
Internal Links&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection_Examples_on_Known_Vulnerable_Web_Applications&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10854</id>
		<title>OWASP Mutillidae (2021)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10854"/>
		<updated>2023-01-08T10:49:58Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: /* Installing Mutillidae with Metasploit */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
OWASP Mutillidae is a free open source tool created for Pentesting of Web Applications. It is a &amp;quot;Vulnerable Web Application&amp;quot; that offers a Platform where the provided Exploits and Security flaws can be executed within a local environment. With over 40 different vulnerabilities and related training challenges, it provides a platform that shows the most common flaws of the last 15 years of web development. The vulnerabilities shown in the program are actual vulnerabilities within the application, so the application should only be run in a protected environment - such as a virtual machine. The current Version Mutillidae II was created by Jeremy Druin [https://www.youtube.com/c/webpwnized/featured] (pseudonym: webpwnized), who also created the Tutorials for the Challanges and Installation Guides. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How it Operates ==&lt;br /&gt;
&lt;br /&gt;
Every Vulnerability contained in the application is build in within a Webpage. By selecting the Exploit from a List (e.g. Authentication Bypass) a site with the corresponding explotable Webpage is loaded and ready to get &amp;quot;hacked&amp;quot;. Since everything run at your local machine you can not harm anyone. The data such as &amp;quot;User Data&amp;quot; are stored in a Database which you set up when you install the Application (see Installation for more Information).&lt;br /&gt;
&lt;br /&gt;
[[File:Muti-Dropdown.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Practical example ==&lt;br /&gt;
&lt;br /&gt;
[[SQL_Injection]]-&amp;gt; SQLi Extract Data&lt;br /&gt;
&lt;br /&gt;
Now here is a short example how one vulnerability exploit could look like. In this case there is a query where user can request their userinformation by providing their credentials.&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-login.png]]&lt;br /&gt;
&lt;br /&gt;
Normally the query should only retrun only on record when correct credentials are entered.&lt;br /&gt;
&lt;br /&gt;
But this website is totally unsecure so we can easily rewrite the SQL query to give us a list of every user in the database. But how can we do this?&lt;br /&gt;
&lt;br /&gt;
===Step 1:=== &lt;br /&gt;
get an Exception by typing in invalid characters such as (&#039;, #, --)&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Exception.png]]&lt;br /&gt;
&lt;br /&gt;
===Step 2:=== &lt;br /&gt;
&lt;br /&gt;
Since we got an error message with the syntax how the sql statement is written we can alter the statement by simply put another statement in the form.&lt;br /&gt;
&lt;br /&gt;
In this case i wrote ’OR 1# in the username fields to alter the query which should be now&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM acccounts where username= ’ ’OR 1# AND password = ’’&lt;br /&gt;
&lt;br /&gt;
1 means true in SQL language and # is a comment so it ignores the password query. So our SQL String says now that it should gives as all datasets for which the condition is true which lead to following output:&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Extract-Data.png]]&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* over 40 vulnerabilities (OWASP Top Ten 2007, 2010, 2013 and 2017[https://owasp.org/www-project-top-ten/])&lt;br /&gt;
* Actually Vulnerable&lt;br /&gt;
* Simple Intallation and Maintaining&lt;br /&gt;
* User can switch between 3 security levels (no security, Client-side Security, Server-side Security)&lt;br /&gt;
* Used in web security courses&lt;br /&gt;
* Tutorials and Guides included in Application&lt;br /&gt;
* Updated frequently&lt;br /&gt;
&lt;br /&gt;
== Interface ==&lt;br /&gt;
[[File:Mutillidae-Interface.png]]&lt;br /&gt;
&lt;br /&gt;
By clicking on any Item on the right dropdown menu, you can select any of the OWASP Top Ten Challanges from the last 15 years.&lt;br /&gt;
&lt;br /&gt;
* Hints and Videos - leads you directly to a structured guide how the exercise could be completed.&lt;br /&gt;
* Toggle Security - you can choose between 3 Security levels for each exercise&lt;br /&gt;
* Reset DB - Clear all user Data &lt;br /&gt;
* Labs - Study Questions associated with the Exercises&lt;br /&gt;
&lt;br /&gt;
== Examples of Vulnerabilities ==&lt;br /&gt;
&lt;br /&gt;
* SQL Injections (SQLi)[https://wiki.elvis.science/index.php?title=SQL_Injection]&lt;br /&gt;
* Cross-Site-Scripting [https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)]&lt;br /&gt;
* Sensitive Data Exposure&lt;br /&gt;
* other Injection (CSS, HTML, JavaScript)&lt;br /&gt;
* and many more...&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Apache Webserver&lt;br /&gt;
* Database (MySQL/MariaDb)&lt;br /&gt;
* Packages: Sourcecode from git (https://github.com/webpwnized/mutillidae)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install Apache Webserver on your local Machine&lt;br /&gt;
* Install PHP on your local Machine&lt;br /&gt;
* Install a supported Database (e.g. MySQL, MariaDB)&lt;br /&gt;
* Install metasploit, it includes everything you need to run mutillidae&lt;br /&gt;
&lt;br /&gt;
If you have a XAMPP/LAMPP stack set up aleady, you might skip directly to installing Mutillidae.&lt;br /&gt;
There are Videos from the creator which gives a [https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae ===&lt;br /&gt;
&lt;br /&gt;
Head to the Folder where Websites are stored in Apache Webserver this could be the &amp;quot;htdocs&amp;quot; folder under XAMPP or if manually installed under a linux distribution this might be the folder &amp;quot;/var/www/html/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download the Repository from github (see [[#Requirements]]) and copy the contents of the Repository into the Webservers folder. After these steps go on your localhost webpage and make sure you can access Mutillidae Webinterface&lt;br /&gt;
&lt;br /&gt;
To see if the database is correctly installed press the &amp;quot;Reset DB&amp;quot; Button on the Webinterface. If you see the Message that no PHP or SQL errors were detected when resseting the database, the intallation of mutillidae succeded.&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae with Metasploit ===&lt;br /&gt;
A different method for installing Mutillidae is to install metasploit. Metasploit is a penetration testing software which inlcudes everything you need to set up and run Mutillidae.&lt;br /&gt;
This means that you don&#039;t have to install all the other components you need for example a database, because Metasploit is doing this for.&lt;br /&gt;
After installing you can use the credentials msfadmin for the username and password in order to login into Metasploit.&lt;br /&gt;
[[File:Config.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Mutllidae-no-errors.png]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://owasp.org/www-project-top-ten/&lt;br /&gt;
* https://github.com/webpwnized/mutillidae&lt;br /&gt;
* https://www.youtube.com/c/webpwnized/featured&lt;br /&gt;
* https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial&lt;br /&gt;
&lt;br /&gt;
Internal Links&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection_Examples_on_Known_Vulnerable_Web_Applications&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=File:Config.PNG&amp;diff=10852</id>
		<title>File:Config.PNG</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=File:Config.PNG&amp;diff=10852"/>
		<updated>2023-01-08T10:47:05Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10851</id>
		<title>OWASP Mutillidae (2021)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10851"/>
		<updated>2023-01-08T10:44:45Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: /* Installing Mutillidae with Metasploit */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
OWASP Mutillidae is a free open source tool created for Pentesting of Web Applications. It is a &amp;quot;Vulnerable Web Application&amp;quot; that offers a Platform where the provided Exploits and Security flaws can be executed within a local environment. With over 40 different vulnerabilities and related training challenges, it provides a platform that shows the most common flaws of the last 15 years of web development. The vulnerabilities shown in the program are actual vulnerabilities within the application, so the application should only be run in a protected environment - such as a virtual machine. The current Version Mutillidae II was created by Jeremy Druin [https://www.youtube.com/c/webpwnized/featured] (pseudonym: webpwnized), who also created the Tutorials for the Challanges and Installation Guides. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How it Operates ==&lt;br /&gt;
&lt;br /&gt;
Every Vulnerability contained in the application is build in within a Webpage. By selecting the Exploit from a List (e.g. Authentication Bypass) a site with the corresponding explotable Webpage is loaded and ready to get &amp;quot;hacked&amp;quot;. Since everything run at your local machine you can not harm anyone. The data such as &amp;quot;User Data&amp;quot; are stored in a Database which you set up when you install the Application (see Installation for more Information).&lt;br /&gt;
&lt;br /&gt;
[[File:Muti-Dropdown.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Practical example ==&lt;br /&gt;
&lt;br /&gt;
[[SQL_Injection]]-&amp;gt; SQLi Extract Data&lt;br /&gt;
&lt;br /&gt;
Now here is a short example how one vulnerability exploit could look like. In this case there is a query where user can request their userinformation by providing their credentials.&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-login.png]]&lt;br /&gt;
&lt;br /&gt;
Normally the query should only retrun only on record when correct credentials are entered.&lt;br /&gt;
&lt;br /&gt;
But this website is totally unsecure so we can easily rewrite the SQL query to give us a list of every user in the database. But how can we do this?&lt;br /&gt;
&lt;br /&gt;
===Step 1:=== &lt;br /&gt;
get an Exception by typing in invalid characters such as (&#039;, #, --)&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Exception.png]]&lt;br /&gt;
&lt;br /&gt;
===Step 2:=== &lt;br /&gt;
&lt;br /&gt;
Since we got an error message with the syntax how the sql statement is written we can alter the statement by simply put another statement in the form.&lt;br /&gt;
&lt;br /&gt;
In this case i wrote ’OR 1# in the username fields to alter the query which should be now&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM acccounts where username= ’ ’OR 1# AND password = ’’&lt;br /&gt;
&lt;br /&gt;
1 means true in SQL language and # is a comment so it ignores the password query. So our SQL String says now that it should gives as all datasets for which the condition is true which lead to following output:&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Extract-Data.png]]&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* over 40 vulnerabilities (OWASP Top Ten 2007, 2010, 2013 and 2017[https://owasp.org/www-project-top-ten/])&lt;br /&gt;
* Actually Vulnerable&lt;br /&gt;
* Simple Intallation and Maintaining&lt;br /&gt;
* User can switch between 3 security levels (no security, Client-side Security, Server-side Security)&lt;br /&gt;
* Used in web security courses&lt;br /&gt;
* Tutorials and Guides included in Application&lt;br /&gt;
* Updated frequently&lt;br /&gt;
&lt;br /&gt;
== Interface ==&lt;br /&gt;
[[File:Mutillidae-Interface.png]]&lt;br /&gt;
&lt;br /&gt;
By clicking on any Item on the right dropdown menu, you can select any of the OWASP Top Ten Challanges from the last 15 years.&lt;br /&gt;
&lt;br /&gt;
* Hints and Videos - leads you directly to a structured guide how the exercise could be completed.&lt;br /&gt;
* Toggle Security - you can choose between 3 Security levels for each exercise&lt;br /&gt;
* Reset DB - Clear all user Data &lt;br /&gt;
* Labs - Study Questions associated with the Exercises&lt;br /&gt;
&lt;br /&gt;
== Examples of Vulnerabilities ==&lt;br /&gt;
&lt;br /&gt;
* SQL Injections (SQLi)[https://wiki.elvis.science/index.php?title=SQL_Injection]&lt;br /&gt;
* Cross-Site-Scripting [https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)]&lt;br /&gt;
* Sensitive Data Exposure&lt;br /&gt;
* other Injection (CSS, HTML, JavaScript)&lt;br /&gt;
* and many more...&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Apache Webserver&lt;br /&gt;
* Database (MySQL/MariaDb)&lt;br /&gt;
* Packages: Sourcecode from git (https://github.com/webpwnized/mutillidae)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install Apache Webserver on your local Machine&lt;br /&gt;
* Install PHP on your local Machine&lt;br /&gt;
* Install a supported Database (e.g. MySQL, MariaDB)&lt;br /&gt;
* Install metasploit, it includes everything you need to run mutillidae&lt;br /&gt;
&lt;br /&gt;
If you have a XAMPP/LAMPP stack set up aleady, you might skip directly to installing Mutillidae.&lt;br /&gt;
There are Videos from the creator which gives a [https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae ===&lt;br /&gt;
&lt;br /&gt;
Head to the Folder where Websites are stored in Apache Webserver this could be the &amp;quot;htdocs&amp;quot; folder under XAMPP or if manually installed under a linux distribution this might be the folder &amp;quot;/var/www/html/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download the Repository from github (see [[#Requirements]]) and copy the contents of the Repository into the Webservers folder. After these steps go on your localhost webpage and make sure you can access Mutillidae Webinterface&lt;br /&gt;
&lt;br /&gt;
To see if the database is correctly installed press the &amp;quot;Reset DB&amp;quot; Button on the Webinterface. If you see the Message that no PHP or SQL errors were detected when resseting the database, the intallation of mutillidae succeded.&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae with Metasploit ===&lt;br /&gt;
A different method for installing Mutillidae is to install metasploit. Metasploit is a penetration testing software which inlcudes everything you need to set up and run Mutillidae.&lt;br /&gt;
This means that you don&#039;t have to install all the other components you need for example a database, because Metasploit is doing this for.&lt;br /&gt;
After installing you can use the credentials msfadmin for the username and password in order to login into Metasploit.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Mutllidae-no-errors.png]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://owasp.org/www-project-top-ten/&lt;br /&gt;
* https://github.com/webpwnized/mutillidae&lt;br /&gt;
* https://www.youtube.com/c/webpwnized/featured&lt;br /&gt;
* https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial&lt;br /&gt;
&lt;br /&gt;
Internal Links&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection_Examples_on_Known_Vulnerable_Web_Applications&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10814</id>
		<title>OWASP Mutillidae (2021)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10814"/>
		<updated>2023-01-07T16:55:27Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: /* Installing Mutillidae with Metasploit */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
OWASP Mutillidae is a free open source tool created for Pentesting of Web Applications. It is a &amp;quot;Vulnerable Web Application&amp;quot; that offers a Platform where the provided Exploits and Security flaws can be executed within a local environment. With over 40 different vulnerabilities and related training challenges, it provides a platform that shows the most common flaws of the last 15 years of web development. The vulnerabilities shown in the program are actual vulnerabilities within the application, so the application should only be run in a protected environment - such as a virtual machine. The current Version Mutillidae II was created by Jeremy Druin [https://www.youtube.com/c/webpwnized/featured] (pseudonym: webpwnized), who also created the Tutorials for the Challanges and Installation Guides. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How it Operates ==&lt;br /&gt;
&lt;br /&gt;
Every Vulnerability contained in the application is build in within a Webpage. By selecting the Exploit from a List (e.g. Authentication Bypass) a site with the corresponding explotable Webpage is loaded and ready to get &amp;quot;hacked&amp;quot;. Since everything run at your local machine you can not harm anyone. The data such as &amp;quot;User Data&amp;quot; are stored in a Database which you set up when you install the Application (see Installation for more Information).&lt;br /&gt;
&lt;br /&gt;
[[File:Muti-Dropdown.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Practical example ==&lt;br /&gt;
&lt;br /&gt;
[[SQL_Injection]]-&amp;gt; SQLi Extract Data&lt;br /&gt;
&lt;br /&gt;
Now here is a short example how one vulnerability exploit could look like. In this case there is a query where user can request their userinformation by providing their credentials.&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-login.png]]&lt;br /&gt;
&lt;br /&gt;
Normally the query should only retrun only on record when correct credentials are entered.&lt;br /&gt;
&lt;br /&gt;
But this website is totally unsecure so we can easily rewrite the SQL query to give us a list of every user in the database. But how can we do this?&lt;br /&gt;
&lt;br /&gt;
===Step 1:=== &lt;br /&gt;
get an Exception by typing in invalid characters such as (&#039;, #, --)&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Exception.png]]&lt;br /&gt;
&lt;br /&gt;
===Step 2:=== &lt;br /&gt;
&lt;br /&gt;
Since we got an error message with the syntax how the sql statement is written we can alter the statement by simply put another statement in the form.&lt;br /&gt;
&lt;br /&gt;
In this case i wrote ’OR 1# in the username fields to alter the query which should be now&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM acccounts where username= ’ ’OR 1# AND password = ’’&lt;br /&gt;
&lt;br /&gt;
1 means true in SQL language and # is a comment so it ignores the password query. So our SQL String says now that it should gives as all datasets for which the condition is true which lead to following output:&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Extract-Data.png]]&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* over 40 vulnerabilities (OWASP Top Ten 2007, 2010, 2013 and 2017[https://owasp.org/www-project-top-ten/])&lt;br /&gt;
* Actually Vulnerable&lt;br /&gt;
* Simple Intallation and Maintaining&lt;br /&gt;
* User can switch between 3 security levels (no security, Client-side Security, Server-side Security)&lt;br /&gt;
* Used in web security courses&lt;br /&gt;
* Tutorials and Guides included in Application&lt;br /&gt;
* Updated frequently&lt;br /&gt;
&lt;br /&gt;
== Interface ==&lt;br /&gt;
[[File:Mutillidae-Interface.png]]&lt;br /&gt;
&lt;br /&gt;
By clicking on any Item on the right dropdown menu, you can select any of the OWASP Top Ten Challanges from the last 15 years.&lt;br /&gt;
&lt;br /&gt;
* Hints and Videos - leads you directly to a structured guide how the exercise could be completed.&lt;br /&gt;
* Toggle Security - you can choose between 3 Security levels for each exercise&lt;br /&gt;
* Reset DB - Clear all user Data &lt;br /&gt;
* Labs - Study Questions associated with the Exercises&lt;br /&gt;
&lt;br /&gt;
== Examples of Vulnerabilities ==&lt;br /&gt;
&lt;br /&gt;
* SQL Injections (SQLi)[https://wiki.elvis.science/index.php?title=SQL_Injection]&lt;br /&gt;
* Cross-Site-Scripting [https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)]&lt;br /&gt;
* Sensitive Data Exposure&lt;br /&gt;
* other Injection (CSS, HTML, JavaScript)&lt;br /&gt;
* and many more...&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Apache Webserver&lt;br /&gt;
* Database (MySQL/MariaDb)&lt;br /&gt;
* Packages: Sourcecode from git (https://github.com/webpwnized/mutillidae)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install Apache Webserver on your local Machine&lt;br /&gt;
* Install PHP on your local Machine&lt;br /&gt;
* Install a supported Database (e.g. MySQL, MariaDB)&lt;br /&gt;
* Install metasploit, it includes everything you need to run mutillidae&lt;br /&gt;
&lt;br /&gt;
If you have a XAMPP/LAMPP stack set up aleady, you might skip directly to installing Mutillidae.&lt;br /&gt;
There are Videos from the creator which gives a [https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae ===&lt;br /&gt;
&lt;br /&gt;
Head to the Folder where Websites are stored in Apache Webserver this could be the &amp;quot;htdocs&amp;quot; folder under XAMPP or if manually installed under a linux distribution this might be the folder &amp;quot;/var/www/html/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download the Repository from github (see [[#Requirements]]) and copy the contents of the Repository into the Webservers folder. After these steps go on your localhost webpage and make sure you can access Mutillidae Webinterface&lt;br /&gt;
&lt;br /&gt;
To see if the database is correctly installed press the &amp;quot;Reset DB&amp;quot; Button on the Webinterface. If you see the Message that no PHP or SQL errors were detected when resseting the database, the intallation of mutillidae succeded.&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae with Metasploit ===&lt;br /&gt;
A different method for installing Mutillidae is to install metasploit. Metasploit is a penetration testing software which inlcudes everything you need to set up and run Mutillidae.&lt;br /&gt;
This means that you don&#039;t have to install all the other components you need for example a database, because Metasploit is doing this for.&lt;br /&gt;
After installing you can use the credentials msfadmin for the username and password in order to get access.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Mutllidae-no-errors.png]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://owasp.org/www-project-top-ten/&lt;br /&gt;
* https://github.com/webpwnized/mutillidae&lt;br /&gt;
* https://www.youtube.com/c/webpwnized/featured&lt;br /&gt;
* https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial&lt;br /&gt;
&lt;br /&gt;
Internal Links&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection_Examples_on_Known_Vulnerable_Web_Applications&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10812</id>
		<title>OWASP Mutillidae (2021)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10812"/>
		<updated>2023-01-07T16:53:57Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: /* Installing Mutillidae with metasploit */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
OWASP Mutillidae is a free open source tool created for Pentesting of Web Applications. It is a &amp;quot;Vulnerable Web Application&amp;quot; that offers a Platform where the provided Exploits and Security flaws can be executed within a local environment. With over 40 different vulnerabilities and related training challenges, it provides a platform that shows the most common flaws of the last 15 years of web development. The vulnerabilities shown in the program are actual vulnerabilities within the application, so the application should only be run in a protected environment - such as a virtual machine. The current Version Mutillidae II was created by Jeremy Druin [https://www.youtube.com/c/webpwnized/featured] (pseudonym: webpwnized), who also created the Tutorials for the Challanges and Installation Guides. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How it Operates ==&lt;br /&gt;
&lt;br /&gt;
Every Vulnerability contained in the application is build in within a Webpage. By selecting the Exploit from a List (e.g. Authentication Bypass) a site with the corresponding explotable Webpage is loaded and ready to get &amp;quot;hacked&amp;quot;. Since everything run at your local machine you can not harm anyone. The data such as &amp;quot;User Data&amp;quot; are stored in a Database which you set up when you install the Application (see Installation for more Information).&lt;br /&gt;
&lt;br /&gt;
[[File:Muti-Dropdown.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Practical example ==&lt;br /&gt;
&lt;br /&gt;
[[SQL_Injection]]-&amp;gt; SQLi Extract Data&lt;br /&gt;
&lt;br /&gt;
Now here is a short example how one vulnerability exploit could look like. In this case there is a query where user can request their userinformation by providing their credentials.&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-login.png]]&lt;br /&gt;
&lt;br /&gt;
Normally the query should only retrun only on record when correct credentials are entered.&lt;br /&gt;
&lt;br /&gt;
But this website is totally unsecure so we can easily rewrite the SQL query to give us a list of every user in the database. But how can we do this?&lt;br /&gt;
&lt;br /&gt;
===Step 1:=== &lt;br /&gt;
get an Exception by typing in invalid characters such as (&#039;, #, --)&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Exception.png]]&lt;br /&gt;
&lt;br /&gt;
===Step 2:=== &lt;br /&gt;
&lt;br /&gt;
Since we got an error message with the syntax how the sql statement is written we can alter the statement by simply put another statement in the form.&lt;br /&gt;
&lt;br /&gt;
In this case i wrote ’OR 1# in the username fields to alter the query which should be now&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM acccounts where username= ’ ’OR 1# AND password = ’’&lt;br /&gt;
&lt;br /&gt;
1 means true in SQL language and # is a comment so it ignores the password query. So our SQL String says now that it should gives as all datasets for which the condition is true which lead to following output:&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Extract-Data.png]]&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* over 40 vulnerabilities (OWASP Top Ten 2007, 2010, 2013 and 2017[https://owasp.org/www-project-top-ten/])&lt;br /&gt;
* Actually Vulnerable&lt;br /&gt;
* Simple Intallation and Maintaining&lt;br /&gt;
* User can switch between 3 security levels (no security, Client-side Security, Server-side Security)&lt;br /&gt;
* Used in web security courses&lt;br /&gt;
* Tutorials and Guides included in Application&lt;br /&gt;
* Updated frequently&lt;br /&gt;
&lt;br /&gt;
== Interface ==&lt;br /&gt;
[[File:Mutillidae-Interface.png]]&lt;br /&gt;
&lt;br /&gt;
By clicking on any Item on the right dropdown menu, you can select any of the OWASP Top Ten Challanges from the last 15 years.&lt;br /&gt;
&lt;br /&gt;
* Hints and Videos - leads you directly to a structured guide how the exercise could be completed.&lt;br /&gt;
* Toggle Security - you can choose between 3 Security levels for each exercise&lt;br /&gt;
* Reset DB - Clear all user Data &lt;br /&gt;
* Labs - Study Questions associated with the Exercises&lt;br /&gt;
&lt;br /&gt;
== Examples of Vulnerabilities ==&lt;br /&gt;
&lt;br /&gt;
* SQL Injections (SQLi)[https://wiki.elvis.science/index.php?title=SQL_Injection]&lt;br /&gt;
* Cross-Site-Scripting [https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)]&lt;br /&gt;
* Sensitive Data Exposure&lt;br /&gt;
* other Injection (CSS, HTML, JavaScript)&lt;br /&gt;
* and many more...&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Apache Webserver&lt;br /&gt;
* Database (MySQL/MariaDb)&lt;br /&gt;
* Packages: Sourcecode from git (https://github.com/webpwnized/mutillidae)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install Apache Webserver on your local Machine&lt;br /&gt;
* Install PHP on your local Machine&lt;br /&gt;
* Install a supported Database (e.g. MySQL, MariaDB)&lt;br /&gt;
* Install metasploit, it includes everything you need to run mutillidae&lt;br /&gt;
&lt;br /&gt;
If you have a XAMPP/LAMPP stack set up aleady, you might skip directly to installing Mutillidae.&lt;br /&gt;
There are Videos from the creator which gives a [https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae ===&lt;br /&gt;
&lt;br /&gt;
Head to the Folder where Websites are stored in Apache Webserver this could be the &amp;quot;htdocs&amp;quot; folder under XAMPP or if manually installed under a linux distribution this might be the folder &amp;quot;/var/www/html/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download the Repository from github (see [[#Requirements]]) and copy the contents of the Repository into the Webservers folder. After these steps go on your localhost webpage and make sure you can access Mutillidae Webinterface&lt;br /&gt;
&lt;br /&gt;
To see if the database is correctly installed press the &amp;quot;Reset DB&amp;quot; Button on the Webinterface. If you see the Message that no PHP or SQL errors were detected when resseting the database, the intallation of mutillidae succeded.&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae with Metasploit ===&lt;br /&gt;
A different method for installing Mutillidae is to install metasploit. Metasploit is a penetration testing software which inlcudes everything you need to set up and run mutillidae.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Mutllidae-no-errors.png]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://owasp.org/www-project-top-ten/&lt;br /&gt;
* https://github.com/webpwnized/mutillidae&lt;br /&gt;
* https://www.youtube.com/c/webpwnized/featured&lt;br /&gt;
* https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial&lt;br /&gt;
&lt;br /&gt;
Internal Links&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection_Examples_on_Known_Vulnerable_Web_Applications&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10811</id>
		<title>OWASP Mutillidae (2021)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10811"/>
		<updated>2023-01-07T16:53:08Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: /* Installing Mutillidae with metasploit */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
OWASP Mutillidae is a free open source tool created for Pentesting of Web Applications. It is a &amp;quot;Vulnerable Web Application&amp;quot; that offers a Platform where the provided Exploits and Security flaws can be executed within a local environment. With over 40 different vulnerabilities and related training challenges, it provides a platform that shows the most common flaws of the last 15 years of web development. The vulnerabilities shown in the program are actual vulnerabilities within the application, so the application should only be run in a protected environment - such as a virtual machine. The current Version Mutillidae II was created by Jeremy Druin [https://www.youtube.com/c/webpwnized/featured] (pseudonym: webpwnized), who also created the Tutorials for the Challanges and Installation Guides. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How it Operates ==&lt;br /&gt;
&lt;br /&gt;
Every Vulnerability contained in the application is build in within a Webpage. By selecting the Exploit from a List (e.g. Authentication Bypass) a site with the corresponding explotable Webpage is loaded and ready to get &amp;quot;hacked&amp;quot;. Since everything run at your local machine you can not harm anyone. The data such as &amp;quot;User Data&amp;quot; are stored in a Database which you set up when you install the Application (see Installation for more Information).&lt;br /&gt;
&lt;br /&gt;
[[File:Muti-Dropdown.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Practical example ==&lt;br /&gt;
&lt;br /&gt;
[[SQL_Injection]]-&amp;gt; SQLi Extract Data&lt;br /&gt;
&lt;br /&gt;
Now here is a short example how one vulnerability exploit could look like. In this case there is a query where user can request their userinformation by providing their credentials.&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-login.png]]&lt;br /&gt;
&lt;br /&gt;
Normally the query should only retrun only on record when correct credentials are entered.&lt;br /&gt;
&lt;br /&gt;
But this website is totally unsecure so we can easily rewrite the SQL query to give us a list of every user in the database. But how can we do this?&lt;br /&gt;
&lt;br /&gt;
===Step 1:=== &lt;br /&gt;
get an Exception by typing in invalid characters such as (&#039;, #, --)&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Exception.png]]&lt;br /&gt;
&lt;br /&gt;
===Step 2:=== &lt;br /&gt;
&lt;br /&gt;
Since we got an error message with the syntax how the sql statement is written we can alter the statement by simply put another statement in the form.&lt;br /&gt;
&lt;br /&gt;
In this case i wrote ’OR 1# in the username fields to alter the query which should be now&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM acccounts where username= ’ ’OR 1# AND password = ’’&lt;br /&gt;
&lt;br /&gt;
1 means true in SQL language and # is a comment so it ignores the password query. So our SQL String says now that it should gives as all datasets for which the condition is true which lead to following output:&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Extract-Data.png]]&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* over 40 vulnerabilities (OWASP Top Ten 2007, 2010, 2013 and 2017[https://owasp.org/www-project-top-ten/])&lt;br /&gt;
* Actually Vulnerable&lt;br /&gt;
* Simple Intallation and Maintaining&lt;br /&gt;
* User can switch between 3 security levels (no security, Client-side Security, Server-side Security)&lt;br /&gt;
* Used in web security courses&lt;br /&gt;
* Tutorials and Guides included in Application&lt;br /&gt;
* Updated frequently&lt;br /&gt;
&lt;br /&gt;
== Interface ==&lt;br /&gt;
[[File:Mutillidae-Interface.png]]&lt;br /&gt;
&lt;br /&gt;
By clicking on any Item on the right dropdown menu, you can select any of the OWASP Top Ten Challanges from the last 15 years.&lt;br /&gt;
&lt;br /&gt;
* Hints and Videos - leads you directly to a structured guide how the exercise could be completed.&lt;br /&gt;
* Toggle Security - you can choose between 3 Security levels for each exercise&lt;br /&gt;
* Reset DB - Clear all user Data &lt;br /&gt;
* Labs - Study Questions associated with the Exercises&lt;br /&gt;
&lt;br /&gt;
== Examples of Vulnerabilities ==&lt;br /&gt;
&lt;br /&gt;
* SQL Injections (SQLi)[https://wiki.elvis.science/index.php?title=SQL_Injection]&lt;br /&gt;
* Cross-Site-Scripting [https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)]&lt;br /&gt;
* Sensitive Data Exposure&lt;br /&gt;
* other Injection (CSS, HTML, JavaScript)&lt;br /&gt;
* and many more...&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Apache Webserver&lt;br /&gt;
* Database (MySQL/MariaDb)&lt;br /&gt;
* Packages: Sourcecode from git (https://github.com/webpwnized/mutillidae)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install Apache Webserver on your local Machine&lt;br /&gt;
* Install PHP on your local Machine&lt;br /&gt;
* Install a supported Database (e.g. MySQL, MariaDB)&lt;br /&gt;
* Install metasploit, it includes everything you need to run mutillidae&lt;br /&gt;
&lt;br /&gt;
If you have a XAMPP/LAMPP stack set up aleady, you might skip directly to installing Mutillidae.&lt;br /&gt;
There are Videos from the creator which gives a [https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae ===&lt;br /&gt;
&lt;br /&gt;
Head to the Folder where Websites are stored in Apache Webserver this could be the &amp;quot;htdocs&amp;quot; folder under XAMPP or if manually installed under a linux distribution this might be the folder &amp;quot;/var/www/html/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download the Repository from github (see [[#Requirements]]) and copy the contents of the Repository into the Webservers folder. After these steps go on your localhost webpage and make sure you can access Mutillidae Webinterface&lt;br /&gt;
&lt;br /&gt;
To see if the database is correctly installed press the &amp;quot;Reset DB&amp;quot; Button on the Webinterface. If you see the Message that no PHP or SQL errors were detected when resseting the database, the intallation of mutillidae succeded.&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae with metasploit ===&lt;br /&gt;
A different method for installing Mutillidae is to install metasploit. Metasploit is a penetration testing software which inlcudes everything you need to set up and run mutillidae.&lt;br /&gt;
&lt;br /&gt;
[[File:Mutllidae-no-errors.png]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://owasp.org/www-project-top-ten/&lt;br /&gt;
* https://github.com/webpwnized/mutillidae&lt;br /&gt;
* https://www.youtube.com/c/webpwnized/featured&lt;br /&gt;
* https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial&lt;br /&gt;
&lt;br /&gt;
Internal Links&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection_Examples_on_Known_Vulnerable_Web_Applications&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10810</id>
		<title>OWASP Mutillidae (2021)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10810"/>
		<updated>2023-01-07T16:49:04Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: /* Installing Mutillidae with metasploit */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
OWASP Mutillidae is a free open source tool created for Pentesting of Web Applications. It is a &amp;quot;Vulnerable Web Application&amp;quot; that offers a Platform where the provided Exploits and Security flaws can be executed within a local environment. With over 40 different vulnerabilities and related training challenges, it provides a platform that shows the most common flaws of the last 15 years of web development. The vulnerabilities shown in the program are actual vulnerabilities within the application, so the application should only be run in a protected environment - such as a virtual machine. The current Version Mutillidae II was created by Jeremy Druin [https://www.youtube.com/c/webpwnized/featured] (pseudonym: webpwnized), who also created the Tutorials for the Challanges and Installation Guides. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How it Operates ==&lt;br /&gt;
&lt;br /&gt;
Every Vulnerability contained in the application is build in within a Webpage. By selecting the Exploit from a List (e.g. Authentication Bypass) a site with the corresponding explotable Webpage is loaded and ready to get &amp;quot;hacked&amp;quot;. Since everything run at your local machine you can not harm anyone. The data such as &amp;quot;User Data&amp;quot; are stored in a Database which you set up when you install the Application (see Installation for more Information).&lt;br /&gt;
&lt;br /&gt;
[[File:Muti-Dropdown.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Practical example ==&lt;br /&gt;
&lt;br /&gt;
[[SQL_Injection]]-&amp;gt; SQLi Extract Data&lt;br /&gt;
&lt;br /&gt;
Now here is a short example how one vulnerability exploit could look like. In this case there is a query where user can request their userinformation by providing their credentials.&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-login.png]]&lt;br /&gt;
&lt;br /&gt;
Normally the query should only retrun only on record when correct credentials are entered.&lt;br /&gt;
&lt;br /&gt;
But this website is totally unsecure so we can easily rewrite the SQL query to give us a list of every user in the database. But how can we do this?&lt;br /&gt;
&lt;br /&gt;
===Step 1:=== &lt;br /&gt;
get an Exception by typing in invalid characters such as (&#039;, #, --)&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Exception.png]]&lt;br /&gt;
&lt;br /&gt;
===Step 2:=== &lt;br /&gt;
&lt;br /&gt;
Since we got an error message with the syntax how the sql statement is written we can alter the statement by simply put another statement in the form.&lt;br /&gt;
&lt;br /&gt;
In this case i wrote ’OR 1# in the username fields to alter the query which should be now&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM acccounts where username= ’ ’OR 1# AND password = ’’&lt;br /&gt;
&lt;br /&gt;
1 means true in SQL language and # is a comment so it ignores the password query. So our SQL String says now that it should gives as all datasets for which the condition is true which lead to following output:&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Extract-Data.png]]&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* over 40 vulnerabilities (OWASP Top Ten 2007, 2010, 2013 and 2017[https://owasp.org/www-project-top-ten/])&lt;br /&gt;
* Actually Vulnerable&lt;br /&gt;
* Simple Intallation and Maintaining&lt;br /&gt;
* User can switch between 3 security levels (no security, Client-side Security, Server-side Security)&lt;br /&gt;
* Used in web security courses&lt;br /&gt;
* Tutorials and Guides included in Application&lt;br /&gt;
* Updated frequently&lt;br /&gt;
&lt;br /&gt;
== Interface ==&lt;br /&gt;
[[File:Mutillidae-Interface.png]]&lt;br /&gt;
&lt;br /&gt;
By clicking on any Item on the right dropdown menu, you can select any of the OWASP Top Ten Challanges from the last 15 years.&lt;br /&gt;
&lt;br /&gt;
* Hints and Videos - leads you directly to a structured guide how the exercise could be completed.&lt;br /&gt;
* Toggle Security - you can choose between 3 Security levels for each exercise&lt;br /&gt;
* Reset DB - Clear all user Data &lt;br /&gt;
* Labs - Study Questions associated with the Exercises&lt;br /&gt;
&lt;br /&gt;
== Examples of Vulnerabilities ==&lt;br /&gt;
&lt;br /&gt;
* SQL Injections (SQLi)[https://wiki.elvis.science/index.php?title=SQL_Injection]&lt;br /&gt;
* Cross-Site-Scripting [https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)]&lt;br /&gt;
* Sensitive Data Exposure&lt;br /&gt;
* other Injection (CSS, HTML, JavaScript)&lt;br /&gt;
* and many more...&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Apache Webserver&lt;br /&gt;
* Database (MySQL/MariaDb)&lt;br /&gt;
* Packages: Sourcecode from git (https://github.com/webpwnized/mutillidae)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install Apache Webserver on your local Machine&lt;br /&gt;
* Install PHP on your local Machine&lt;br /&gt;
* Install a supported Database (e.g. MySQL, MariaDB)&lt;br /&gt;
* Install metasploit, it includes everything you need to run mutillidae&lt;br /&gt;
&lt;br /&gt;
If you have a XAMPP/LAMPP stack set up aleady, you might skip directly to installing Mutillidae.&lt;br /&gt;
There are Videos from the creator which gives a [https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae ===&lt;br /&gt;
&lt;br /&gt;
Head to the Folder where Websites are stored in Apache Webserver this could be the &amp;quot;htdocs&amp;quot; folder under XAMPP or if manually installed under a linux distribution this might be the folder &amp;quot;/var/www/html/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download the Repository from github (see [[#Requirements]]) and copy the contents of the Repository into the Webservers folder. After these steps go on your localhost webpage and make sure you can access Mutillidae Webinterface&lt;br /&gt;
&lt;br /&gt;
To see if the database is correctly installed press the &amp;quot;Reset DB&amp;quot; Button on the Webinterface. If you see the Message that no PHP or SQL errors were detected when resseting the database, the intallation of mutillidae succeded.&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae with metasploit ===&lt;br /&gt;
&lt;br /&gt;
[[File:Mutllidae-no-errors.png]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://owasp.org/www-project-top-ten/&lt;br /&gt;
* https://github.com/webpwnized/mutillidae&lt;br /&gt;
* https://www.youtube.com/c/webpwnized/featured&lt;br /&gt;
* https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial&lt;br /&gt;
&lt;br /&gt;
Internal Links&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection_Examples_on_Known_Vulnerable_Web_Applications&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10809</id>
		<title>OWASP Mutillidae (2021)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10809"/>
		<updated>2023-01-07T16:48:38Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: /* Installing Mutillidae */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
OWASP Mutillidae is a free open source tool created for Pentesting of Web Applications. It is a &amp;quot;Vulnerable Web Application&amp;quot; that offers a Platform where the provided Exploits and Security flaws can be executed within a local environment. With over 40 different vulnerabilities and related training challenges, it provides a platform that shows the most common flaws of the last 15 years of web development. The vulnerabilities shown in the program are actual vulnerabilities within the application, so the application should only be run in a protected environment - such as a virtual machine. The current Version Mutillidae II was created by Jeremy Druin [https://www.youtube.com/c/webpwnized/featured] (pseudonym: webpwnized), who also created the Tutorials for the Challanges and Installation Guides. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How it Operates ==&lt;br /&gt;
&lt;br /&gt;
Every Vulnerability contained in the application is build in within a Webpage. By selecting the Exploit from a List (e.g. Authentication Bypass) a site with the corresponding explotable Webpage is loaded and ready to get &amp;quot;hacked&amp;quot;. Since everything run at your local machine you can not harm anyone. The data such as &amp;quot;User Data&amp;quot; are stored in a Database which you set up when you install the Application (see Installation for more Information).&lt;br /&gt;
&lt;br /&gt;
[[File:Muti-Dropdown.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Practical example ==&lt;br /&gt;
&lt;br /&gt;
[[SQL_Injection]]-&amp;gt; SQLi Extract Data&lt;br /&gt;
&lt;br /&gt;
Now here is a short example how one vulnerability exploit could look like. In this case there is a query where user can request their userinformation by providing their credentials.&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-login.png]]&lt;br /&gt;
&lt;br /&gt;
Normally the query should only retrun only on record when correct credentials are entered.&lt;br /&gt;
&lt;br /&gt;
But this website is totally unsecure so we can easily rewrite the SQL query to give us a list of every user in the database. But how can we do this?&lt;br /&gt;
&lt;br /&gt;
===Step 1:=== &lt;br /&gt;
get an Exception by typing in invalid characters such as (&#039;, #, --)&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Exception.png]]&lt;br /&gt;
&lt;br /&gt;
===Step 2:=== &lt;br /&gt;
&lt;br /&gt;
Since we got an error message with the syntax how the sql statement is written we can alter the statement by simply put another statement in the form.&lt;br /&gt;
&lt;br /&gt;
In this case i wrote ’OR 1# in the username fields to alter the query which should be now&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM acccounts where username= ’ ’OR 1# AND password = ’’&lt;br /&gt;
&lt;br /&gt;
1 means true in SQL language and # is a comment so it ignores the password query. So our SQL String says now that it should gives as all datasets for which the condition is true which lead to following output:&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Extract-Data.png]]&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* over 40 vulnerabilities (OWASP Top Ten 2007, 2010, 2013 and 2017[https://owasp.org/www-project-top-ten/])&lt;br /&gt;
* Actually Vulnerable&lt;br /&gt;
* Simple Intallation and Maintaining&lt;br /&gt;
* User can switch between 3 security levels (no security, Client-side Security, Server-side Security)&lt;br /&gt;
* Used in web security courses&lt;br /&gt;
* Tutorials and Guides included in Application&lt;br /&gt;
* Updated frequently&lt;br /&gt;
&lt;br /&gt;
== Interface ==&lt;br /&gt;
[[File:Mutillidae-Interface.png]]&lt;br /&gt;
&lt;br /&gt;
By clicking on any Item on the right dropdown menu, you can select any of the OWASP Top Ten Challanges from the last 15 years.&lt;br /&gt;
&lt;br /&gt;
* Hints and Videos - leads you directly to a structured guide how the exercise could be completed.&lt;br /&gt;
* Toggle Security - you can choose between 3 Security levels for each exercise&lt;br /&gt;
* Reset DB - Clear all user Data &lt;br /&gt;
* Labs - Study Questions associated with the Exercises&lt;br /&gt;
&lt;br /&gt;
== Examples of Vulnerabilities ==&lt;br /&gt;
&lt;br /&gt;
* SQL Injections (SQLi)[https://wiki.elvis.science/index.php?title=SQL_Injection]&lt;br /&gt;
* Cross-Site-Scripting [https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)]&lt;br /&gt;
* Sensitive Data Exposure&lt;br /&gt;
* other Injection (CSS, HTML, JavaScript)&lt;br /&gt;
* and many more...&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Apache Webserver&lt;br /&gt;
* Database (MySQL/MariaDb)&lt;br /&gt;
* Packages: Sourcecode from git (https://github.com/webpwnized/mutillidae)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install Apache Webserver on your local Machine&lt;br /&gt;
* Install PHP on your local Machine&lt;br /&gt;
* Install a supported Database (e.g. MySQL, MariaDB)&lt;br /&gt;
* Install metasploit, it includes everything you need to run mutillidae&lt;br /&gt;
&lt;br /&gt;
If you have a XAMPP/LAMPP stack set up aleady, you might skip directly to installing Mutillidae.&lt;br /&gt;
There are Videos from the creator which gives a [https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae ===&lt;br /&gt;
&lt;br /&gt;
Head to the Folder where Websites are stored in Apache Webserver this could be the &amp;quot;htdocs&amp;quot; folder under XAMPP or if manually installed under a linux distribution this might be the folder &amp;quot;/var/www/html/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download the Repository from github (see [[#Requirements]]) and copy the contents of the Repository into the Webservers folder. After these steps go on your localhost webpage and make sure you can access Mutillidae Webinterface&lt;br /&gt;
&lt;br /&gt;
To see if the database is correctly installed press the &amp;quot;Reset DB&amp;quot; Button on the Webinterface. If you see the Message that no PHP or SQL errors were detected when resseting the database, the intallation of mutillidae succeded.&lt;br /&gt;
&lt;br /&gt;
== Installing Mutillidae with metasploit ==&lt;br /&gt;
&lt;br /&gt;
[[File:Mutllidae-no-errors.png]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://owasp.org/www-project-top-ten/&lt;br /&gt;
* https://github.com/webpwnized/mutillidae&lt;br /&gt;
* https://www.youtube.com/c/webpwnized/featured&lt;br /&gt;
* https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial&lt;br /&gt;
&lt;br /&gt;
Internal Links&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection_Examples_on_Known_Vulnerable_Web_Applications&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10807</id>
		<title>OWASP Mutillidae (2021)</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=OWASP_Mutillidae_(2021)&amp;diff=10807"/>
		<updated>2023-01-07T16:42:12Z</updated>

		<summary type="html">&lt;p&gt;FMayerhofer: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary == &lt;br /&gt;
&lt;br /&gt;
OWASP Mutillidae is a free open source tool created for Pentesting of Web Applications. It is a &amp;quot;Vulnerable Web Application&amp;quot; that offers a Platform where the provided Exploits and Security flaws can be executed within a local environment. With over 40 different vulnerabilities and related training challenges, it provides a platform that shows the most common flaws of the last 15 years of web development. The vulnerabilities shown in the program are actual vulnerabilities within the application, so the application should only be run in a protected environment - such as a virtual machine. The current Version Mutillidae II was created by Jeremy Druin [https://www.youtube.com/c/webpwnized/featured] (pseudonym: webpwnized), who also created the Tutorials for the Challanges and Installation Guides. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How it Operates ==&lt;br /&gt;
&lt;br /&gt;
Every Vulnerability contained in the application is build in within a Webpage. By selecting the Exploit from a List (e.g. Authentication Bypass) a site with the corresponding explotable Webpage is loaded and ready to get &amp;quot;hacked&amp;quot;. Since everything run at your local machine you can not harm anyone. The data such as &amp;quot;User Data&amp;quot; are stored in a Database which you set up when you install the Application (see Installation for more Information).&lt;br /&gt;
&lt;br /&gt;
[[File:Muti-Dropdown.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Practical example ==&lt;br /&gt;
&lt;br /&gt;
[[SQL_Injection]]-&amp;gt; SQLi Extract Data&lt;br /&gt;
&lt;br /&gt;
Now here is a short example how one vulnerability exploit could look like. In this case there is a query where user can request their userinformation by providing their credentials.&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-login.png]]&lt;br /&gt;
&lt;br /&gt;
Normally the query should only retrun only on record when correct credentials are entered.&lt;br /&gt;
&lt;br /&gt;
But this website is totally unsecure so we can easily rewrite the SQL query to give us a list of every user in the database. But how can we do this?&lt;br /&gt;
&lt;br /&gt;
===Step 1:=== &lt;br /&gt;
get an Exception by typing in invalid characters such as (&#039;, #, --)&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Exception.png]]&lt;br /&gt;
&lt;br /&gt;
===Step 2:=== &lt;br /&gt;
&lt;br /&gt;
Since we got an error message with the syntax how the sql statement is written we can alter the statement by simply put another statement in the form.&lt;br /&gt;
&lt;br /&gt;
In this case i wrote ’OR 1# in the username fields to alter the query which should be now&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM acccounts where username= ’ ’OR 1# AND password = ’’&lt;br /&gt;
&lt;br /&gt;
1 means true in SQL language and # is a comment so it ignores the password query. So our SQL String says now that it should gives as all datasets for which the condition is true which lead to following output:&lt;br /&gt;
&lt;br /&gt;
[[File:Mutillidae-Extract-Data.png]]&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* over 40 vulnerabilities (OWASP Top Ten 2007, 2010, 2013 and 2017[https://owasp.org/www-project-top-ten/])&lt;br /&gt;
* Actually Vulnerable&lt;br /&gt;
* Simple Intallation and Maintaining&lt;br /&gt;
* User can switch between 3 security levels (no security, Client-side Security, Server-side Security)&lt;br /&gt;
* Used in web security courses&lt;br /&gt;
* Tutorials and Guides included in Application&lt;br /&gt;
* Updated frequently&lt;br /&gt;
&lt;br /&gt;
== Interface ==&lt;br /&gt;
[[File:Mutillidae-Interface.png]]&lt;br /&gt;
&lt;br /&gt;
By clicking on any Item on the right dropdown menu, you can select any of the OWASP Top Ten Challanges from the last 15 years.&lt;br /&gt;
&lt;br /&gt;
* Hints and Videos - leads you directly to a structured guide how the exercise could be completed.&lt;br /&gt;
* Toggle Security - you can choose between 3 Security levels for each exercise&lt;br /&gt;
* Reset DB - Clear all user Data &lt;br /&gt;
* Labs - Study Questions associated with the Exercises&lt;br /&gt;
&lt;br /&gt;
== Examples of Vulnerabilities ==&lt;br /&gt;
&lt;br /&gt;
* SQL Injections (SQLi)[https://wiki.elvis.science/index.php?title=SQL_Injection]&lt;br /&gt;
* Cross-Site-Scripting [https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)]&lt;br /&gt;
* Sensitive Data Exposure&lt;br /&gt;
* other Injection (CSS, HTML, JavaScript)&lt;br /&gt;
* and many more...&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Apache Webserver&lt;br /&gt;
* Database (MySQL/MariaDb)&lt;br /&gt;
* Packages: Sourcecode from git (https://github.com/webpwnized/mutillidae)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install Apache Webserver on your local Machine&lt;br /&gt;
* Install PHP on your local Machine&lt;br /&gt;
* Install a supported Database (e.g. MySQL, MariaDB)&lt;br /&gt;
* Install metasploit, it includes everything you need to run mutillidae&lt;br /&gt;
&lt;br /&gt;
If you have a XAMPP/LAMPP stack set up aleady, you might skip directly to installing Mutillidae.&lt;br /&gt;
There are Videos from the creator which gives a [https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial]&lt;br /&gt;
&lt;br /&gt;
=== Installing Mutillidae ===&lt;br /&gt;
&lt;br /&gt;
Head to the Folder where Websites are stored in Apache Webserver this could be the &amp;quot;htdocs&amp;quot; folder under XAMPP or if manually installed under a linux distribution this might be the folder &amp;quot;/var/www/html/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Download the Repository from github (see [[#Requirements]]) and copy the contents of the Repository into the Webservers folder. After these steps go on your localhost webpage and make sure you can access Mutillidae Webinterface&lt;br /&gt;
&lt;br /&gt;
To see if the database is correctly installed press the &amp;quot;Reset DB&amp;quot; Button on the Webinterface. If you see the Message that no PHP or SQL errors were detected when resseting the database, the intallation of mutillidae succeded.&lt;br /&gt;
&lt;br /&gt;
[[File:Mutllidae-no-errors.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://owasp.org/www-project-top-ten/&lt;br /&gt;
* https://github.com/webpwnized/mutillidae&lt;br /&gt;
* https://www.youtube.com/c/webpwnized/featured&lt;br /&gt;
* https://github.com/webpwnized/mutillidae/blob/master/README-INSTALLATION.md Step-by-Step video tutorial&lt;br /&gt;
&lt;br /&gt;
Internal Links&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=Cross-Site-Scripting_(XSS)&lt;br /&gt;
* https://wiki.elvis.science/index.php?title=SQL_Injection_Examples_on_Known_Vulnerable_Web_Applications&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>FMayerhofer</name></author>
	</entry>
</feed>