mephisto-xss.txt
🗓️ 27 Mar 2007 00:00:00Reported by Sergey TikhonovType
packetstorm🔗 packetstormsecurity.com👁 25 Views
`Hello everyone!
Current bleeding-edge version of Mephisto blog is vulnerable to XSS.
Comment's author name accept javascript code. If admin approves/
rejects comments manually, he have to load all unapproved comments,
so it's possible to fetch his session id.
Example
Add new comment with the following author name: <script>alert
(document.cookie)</script>
Then from admin's overview section check this comment - you'll see
message with cookie.
If you manually approve your comments, check list of pending comments.
How to fix it
patch for <approot>/app/helpers/application_helper.rb :
5c5
< return comment.author if comment.author_url.blank?
---
> return h(comment.author) if comment.author_url.blank?
Best wishes!
Sergey Tikhonov
`
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
27 Mar 2007 00:00Current
7.4High risk
Vulners AI Score7.4