adminutil is a library of common functions used by multiple CGI scripts shipped with Red Hat / Fedora Directory Server. It was discovered that adminutil HTTP unescaping functions did not properly handle %-encoded inputs, resulting in a miscalculation of memory requirement needed to hold processed string with special characters replaced with HTML entities. This resulted in a heap-based overflow. An attacker with access to certain Directory Server's CGI scripts could use this flaw to crash or possibly execute arbitrary code with the privileges of the Directory Server Administration Server (unprivileged user, nobody by default, in affected Directory Server versions). Problem was introduced by a bug fix included in adminutil 1.1.6, affected packages were only shipped in Fedora. Red Hat Directory Server 7.1 and 8 did not contain vulnerable code.
Lifting embargo.
adminutil-1.1.7-1.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.
adminutil-1.1.7-1.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.
Patch, that introduced this problem, was a fix for XSS issues tracked via bug #454621. The patch was now corrected.
This issue was addressed in: Fedora: https://admin.fedoraproject.org/updates/F8/FEDORA-2008-7642 https://admin.fedoraproject.org/updates/F9/FEDORA-2008-7339