## # This module requires Metasploit: https://metasploit.com/download # Current source: https://github.com/rapid7/metasploit-framework ## class MetasploitModule < Msf::Exploit::Remote Rank = ExcellentRanking include Msf::Exploit::Remote::HttpClient include Msf::Exploit::Remote::HttpServer include Msf::Exploit::Retry prepend Msf::Exploit::Remote::AutoCheck require 'elftools' class ProcSelfMapsError < StandardError; end PAD = 20 HEAP_SIZE = 2 * 1024 * 1024 BUG = '劄' def initialize(info = {})...
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Articles by Charles Fol
TYPO3 News Module SQL Injection
## # This module requires Metasploit: https://metasploit.com/download # Current source: https://github.com/rapid7/metasploit-framework ## class MetasploitModule < Msf::Auxiliary include Msf::Exploit::Remote::HttpClient include Msf::Auxiliary::Report def initialize(info = {}) super( update_info( info, 'Name' => 'TYPO3 News Module SQL Injection', 'Description' => %q{ This module exploits a SQL Injection vulnerability In TYPO3 NewsController.php in the news module 5.3.2 and earlier.
vBulletin /ajax/api/content_infraction/getIndexableContent nodeid Parameter SQL Injection
## # This module requires Metasploit: https://metasploit.com/download # Current source: https://github.com/rapid7/metasploit-framework ## class MetasploitModule < Msf::Auxiliary include Msf::Auxiliary::Report include Msf::Exploit::Remote::HttpClient HttpFingerprint = { method: 'GET', uri: '/', pattern: [/vBulletin.version = '5.+'/] }.freeze def initialize(info = {}) super( update_info( info, 'Name' => 'vBulletin /ajax/api/content_infraction/getIndexableContent nodeid Parameter SQL Injection',...
Iconv, set the charset to RCE: Exploiting the glibc to hack the PHP engine (part 1)
A cookie is a piece of information deposited on a web user’s hard drive by the server of the website they are browsing. It contains several data points: the name of the server which deposited it, a unique ID number, possibly an expiry date. This information is sometimes hosted on the computer in a simple text file the server then accesses to read and write information.
oss-sec: Re: The GNU C Library security advisories update for 2024-04-17: GLIBC-SA-2024-0004/CVE-2024-2961: ISO-2022-CN-EXT: fix out-of-bound writes when writing escape sequence
oss-sec mailing list archives From: Charles Fol <c.fol () lexfo fr> Date: Mon, 27 May 2024 15:11:23 +0200 Here's what I sent the glibc's security team a few weeks back; I fixed some typos: # PHP's heap in 2 sentences PHP's heap is page-based; each page contains chunks of some specific size, such as 8, 0x10, 0x18, etc. Chunks do not have any header or footer, they are raw data. Therefore, an overflow from some chunk on the heap directly lands on the next chunk.
oss-sec: Re: The GNU C Library security advisories update for 2024-04-17: GLIBC-SA-2024-0004/CVE-2024-2961: ISO-2022-CN-EXT: fix out-of-bound writes when writing escape sequence
oss-sec mailing list archives From: Charles Fol <c.fol () lexfo fr> Date: Mon, 27 May 2024 11:16:53 +0200 Hello all, Although very late, here is a follow up explaining the impact of the vulnerability. Provided that you can force an application to convert a partially controlled buffer to ISO-2022-CN-EXT, you get an overflow of 1 to 3 bytes whose value you don't control.
oss-sec: Re: The GNU C Library security advisories update for 2024-04-17: GLIBC-SA-2024-0004/CVE-2024-2961: ISO-2022-CN-EXT: fix out-of-bound writes when writing escape sequence
oss-sec mailing list archives From: Solar Designer <solar () openwall com> Date: Thu, 18 Apr 2024 18:42:42 +0200 On Wed, Apr 17, 2024 at 02:36:02PM -0300, Adhemerval Zanella Netto wrote: GLIBC-SA-2024-0004: =================== ISO-2022-CN-EXT: fix out-of-bound writes when writing escape sequence The iconv() function in the GNU C Library versions 2.39 and older may overflow the output buffer passed to it by up to 4 bytes when converting strings to the ISO-2022-CN-EXT character set, which may...
WatchGuard XTM Firebox Unauthenticated Remote Command Execution
## # This module requires Metasploit: https://metasploit.com/download # Current source: https://github.com/rapid7/metasploit-framework ## require 'zlib' class MetasploitModule < Msf::Exploit::Remote Rank = GoodRanking include Msf::Exploit::Remote::HttpClient prepend Msf::Exploit::Remote::AutoCheck def initialize(info = {}) super( update_info( info, 'Name' => 'WatchGuard XTM Firebox Unauthenticated Remote Command Execution', 'Description' => %q{ This module exploits a buffer overflow at the...
Owncloud: details about CVE-2023-49103 and CVE-2023-49105
A cookie is a piece of information deposited on a web user’s hard drive by the server of the website they are browsing. It contains several data points: the name of the server which deposited it, a unique ID number, possibly an expiry date. This information is sometimes hosted on the computer in a simple text file the server then accesses to read and write information.
Unserializable, but unreachable: Remote code execution on vBulletin
In late August of 2022, we reported a pre-authentication remote code execution vulnerability to vBulletin. The bug was due to an improper handling of non-scalar data in the ORM, which led to an arbitrary deserialisation. However, the exploitation was not as straight-forward as expected. The bug was patched in 5.6.9 PL1, 5.6.8 PL1, and 5.6.7 PL1. No CVE was issued. This blogpost describes the same bug as the one presented at Beerump in September 2022.
PHP-FPM local root vulnerability (CVE-2021-21703)
Introduction Overview of the bug Overview of PHP-FPM Main process and workers Scoreboards IPC through SHM An example Exploitation Tailoring the primitive Good enough ? All your bases Persistent worker control Closed FD Error-free PHP Unreachable heap overflow Heap overflow Arbitrary write Demo Vulnerable versions Conclusion Two years ago we published CARPE DIEM, an Apache HTTPd local root vulnerability. Today we are releasing the details of a similar vulnerability that affects PHP-FPM.
Laravel <= v8.4.2 debug mode: Remote code execution
In late November of 2020, during a security audit for one of our clients, we came accross a website based on Laravel. While the site's security state was pretty good, we remarked that it was running in debug mode, thus displaying verbose error messages including stack traces: Upon further inspection, we discovered that these stack traces were generated by Ignition, which were the default Laravel error page generator starting at version 6.
Breaking PHP's mt_rand() with 2 values and no bruteforce
While performing a pentest on an old website, we encountered a piece of code that we had not seen in a long time: function resetPassword($email) { [...] $superSecretToken = md5($email . ':' . mt_rand()); [...] $this->sendEmailWithResetToken($email, $superSecretToken); } A token, deemed secret and unguessable, was generated using an output from the PHP implementation of the Mersenne Twister.
Magento 2.2.0 <= 2.3.0 Unauthenticated SQLi
After attacking PrestaShop several months ago, my next target of choice was another eCommerce platform, Magento. This platform is one of the most used around the world, after WooCommerce, and it supported over $101 billion in digital commerce for customers last year. Due to this fact, Magento gives a lot of importance to security, rewarding bug hunters for good amounts of money, and making sure vulnerabilities are fixed, even in the back office.
Exploiting Drupal8's REST RCE
22 February, 2019 Posted By Charles Fol drupal rce exploit vulnerability details Once again, an RCE vulnerability emerges on Drupal's core. This time it is targeting Drupal 8's REST module, which is present, although disabled, by default. By making use of the patch provided by Drupal, we were able to build a working exploit; furthermore, we discovered that the immediate remediation proposed for the vulnerability was incomplete, which could lead to a false sense of security.
Show More
loading
Actions
Is this you?
As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.Get in touch with Charles
Contact Charles, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack