Web Hack List

Collected research

RCE via LDAP truncation on hg.mozilla.org

Mozilla's hg.mozilla.org SSH shell passed a user-supplied e-mail address into an LDAP filter after stripping quotes and parentheses. An encoded null byte truncated the LDAP query so the filter still matched, while the rest of the input survived into a shell find command run through a pipe, giving authenticated remote command execution on the Mercurial server.

Record

Researcher
joernchen
Published by
0day.click
Date
Topic
Server

In the archive

Tags

This page is the archive's own catalogue record. The research is the work of joernchen, first published at the original source. Preserved copies are kept so the citation survives its host; this one was last captured on .