Last updated at Fri, 13 Sep 2024 19:28:45 GMT
Honey, I shrunk the PHP payloads
This release contains more PHP payload improvements from Julien Voisin. Last week we landed a PR from Julien that added a datastore option to the php/base64 encoder that when enabled, will use zlib to compress the payload which significantly reduced the size, bringing a payload of 4040 bytes down to a mere 1617 bytes. This week's release includes a php/minify encoder which removes all unnecessary characters from the payload including comments, empty lines, leading spaces, trailing spaces, spaces after keywords and spaces before block openings. Using the php/minify encoder can take a payload of size 4052 bytes down to 2839 bytes. We'd like to thank Julien for their continued commitment to improving PHP payloads!
New module content (1)
PHP Minify Encoder
Author: Julien Voisin
Type: Encoder
Pull request: #19435 contributed by jvoisin
Path: php/minify
Description: This encoder minifies PHP payloads by removing spaces after keywords and before block openings. It removes comments, empty lines, new lines and leading and trailing spaces.
Enhancements and features (2)
- #19368 from h00die-gr3y - This adjusts the
exploit/multi/http/geoserver_unauth_rce_cve_2024_36401
to dynamically pull and test thefeature_type
list to establish an RCE. This will make the module more robust towards installations with differentfeature_type
configurations. - #19401 from jvoisin - Add a mixin to get SPIP version and make use of it.
Bugs fixed (2)
- #19381 from Takahiro-Yoko - This fixes the gitlab_login scanner so that it uses the proper datastore options Username and Password which are the standard for login scanners. Before this fix the scanner was using HttpUsername and HttpPassword and ignoring the datastore options Username and Password.
- #19438 from cgranleese-r7 - Fixes a
nil
error if login is successful withldap_login
module.
Documentation
You can find the latest Metasploit documentation on our docsite at docs.metasploit.com.
Get it
As always, you can update to the latest Metasploit Framework with msfupdate
and you can get more details on the changes since the last blog post from
GitHub:
If you are a git
user, you can clone the Metasploit Framework repo (master branch) for the latest.
To install fresh without using git, you can use the open-source-only Nightly Installers or the
commercial edition Metasploit Pro
NEVER MISS AN EMERGING THREAT
Be the first to learn about the latest vulnerabilities and cybersecurity news.
Subscribe Now