RSSAmplifier

Blog

0day.click

Recent content on 0day.click

0day.clickRSS feed ↗13 posts

Latest posts

Claude Code RCE: Exploiting Deeplink Handlers via Settings Injection

Of course I took a peek at the Claude Code source 🙈. 
 What I found was a very entertaining vulnerability which is now
fixed since Claude Code version 2.1.118. 
 Just wading through the massive codebase manually wasn’t really a
feasible approach. So took an army of AI Agents to…. no wait
actually I did not do that, the following was all manual work. :P 
 I…

RCE via LDAP truncation on hg.mozilla.org

Given my interest in SCM and CI systems I was a little keen to see how this is done at Mozilla as part of their bug bounty program .
Thanks to freddy I was granted Level 1 access to Mozilla’s SCM at hg.mozilla.org in late 2022. As Mozilla is a pretty transparent company I found the version-control-tools repository which contains the code and configuration behind hg.mozilla.org . 
 I…

Discourse SNS webhook RCE

I was staring at this part of the code for way too long already: &#xA; module Jobs&#xA; &#xA; class ConfirmSnsSubscription < :: Jobs :: Base &#xA; sidekiq_options retry : false &#xA; &#xA; def execute (args)&#xA; return unless raw = args [ :raw ]. presence&#xA; return unless json = args [ :json ]. presence&#xA; return unless subscribe_url = json [ 'SubscribeURL' ]. presence&#xA; &#xA; require…

Discourse themes OS Command Injection

Discourse offers the possibility to install themes from remote Git repositories. Before this commit it was possible to inject OS commands via a maliciously crafted theme which is pulled via Git. &#xA; The root cause for the issue lay in the parsing of the .discourse-compatibility file &#xA;which is a yaml file containing a mapping of the target discourse version and a git&#xA;version to be checked…

Mosaic &#34;0day&#34;

While attendig WarCon in 2016&#xA; greg and I sat together in .mario&rsquo;s talk My&#xA;Sweet Innocence Exposed - Eleven Reasons why we will all miss you, &ldquo;e&rdquo; , his&#xA;rants about MSIE reminded us of the fact that we both had the task of finding a&#xA;Mosaic 0day still on our agenda. So the evening after the talk we sat down&#xA;together and started approaching that goal. &#xA; The…

CVE-2018-17456

I&rsquo;ve gotten a couple of questions about exploitation for the&#xA; recent RCE in Git. So here we&#xA;go with some technical details. &#xA; TL;DR &#xA; Here is a PoC repository. &#xA; Exploitation &#xA; The .gitmodules file looks as follows: &#xA; [submodule 'x:x'] &#xA; &#x9; path = x:x&#xA; &#x9;url = -u./payload &#xA; The actual command being injected is set by the url, -u./payload…

Paintbleed

Summary &#xA; mspaint.exe does not properly verify Dib data from the clipboard. Therefore&#xA;we can craft some Dib data in the clipboard which e.g. suggests a size of&#xA;0x100 by 0x100 pixels and contains not more than the Dib header itself. So&#xA;the actual image data rendered by mspaint.exe is its own heap data =) &#xA; PoC &#xA; Run the following code in PowerShell: &#xA; $bytes = 40 , 0 , 0…

WebConsole IP Whitelist bypass

With the release of Ruby on Rails 4.2 the so called Web Console was introduced. &#xA; As the Web Console documentation states:&#xA; Web Console is built explicitly for Rails 4. &#xA; By default the Web Console is available in the Rails Development Environment and allows only the IPs 127.0.0.1 and ::1 to access the console in order to evaluate arbitrary Ruby statements for the purpose of debugging.…

CVE-2012-0809 Exploit

Original gist &#xA; #!/bin/bash&#xA; # CVE-2012-0809 exploit &#xA; # joernchen of Phenoelit's version &#xA; # Payload to be executed goes to /tmp/a (might be a shell script) &#xA; &#xA; cd /tmp&#xA; /bin/echo '-> Clearing ENV' &#xA; for i in ` env |cut -f1 -d '=' ` ; do unset $i; done &#xA; /bin/echo '-> Creating symlink' &#xA; /bin/ln -s /usr/bin/sudo ./%134520134x%900 \$ n&#xA; /bin/echo '->…

GitHub RCE Writeup

Original gist &#xA; GitHub RCE by Environment variable injection Bug Bounty writeup&#xA; &#xA; Disclaimer: I'll keep this really short but I hope you'll get the key points.&#xA; &#xA; GitHub blogged a while ago about some internal tool called gerve:&#xA; https://github.com/blog/530-how-we-made-github-fast&#xA; &#xA; Upon git+sshing to github.com gerve basically looks up your permission&#xA; on the…

XXE to RCE

Original gist &#xA; This turns https://www.sec-consult.com/files/20120626-0_zend_framework_xxe_injection.txt&#xA; into a Remote Command Execution:&#xA; &#xA; NOTE: It relies on the PHP expect module being loaded&#xA; (see http://de.php.net/manual/en/book.expect.php)&#xA; &#xA; joern@vbox-1:/tmp$ cat /var/www/server.php&#xA; <?&#xA;…

About

This site contains misc stuff I came across in the last decade or so.

References

Talks and Presentations &#xA; &#xA; Nullcon Berlin 2025 - Keynote LLMs Everywhere: The future is now and the past keeps repeating itself - Slides &#xA; OffensiveCon 2025 - Parser Differentials - Video & Slides &#xA; Invited Talk for Team Bi0s - Argument Injection - Video & Slides &#xA; HITB GSEC 2018 - Surprise Rant 2.0 Video &#xA; OffensiveCon 2018 - Surprise Rant Video &#xA; Ekoparty 2016 - Let…