{"exploit":{"id":"EDB-19946","name":"OpenLDAP 1.2.7/1.2.8/1.2.9/1.2.10 - '/usr/tmp/' Symlink","description":"OpenLDAP 1.2.7/1.2.8/1.2.9/1.2.10 - '/usr/tmp/' Symlink","cves":["CVE-2000-0336"],"author":"anonymous","published":"2000-04-21","platform":"linux","type":"local","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/19946","path":"exploits/linux/local/19946.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-19946.txt","vulnerabilities":[{"id":"CVE-2000-0336","state":"PUBLISHED","title":null,"titleSource":null,"description":"Linux OpenLDAP server allows local users to modify arbitrary files via a symlink attack.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2000-0336","cvss":{"version":"2.0","baseScore":2.1,"severity":"low","vectorString":"AV:L/AC:L/Au:N/C:N/I:P/A:N","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2000-0336"},"updatedAt":"2024-08-08T05:14:21.407Z","retrievedAt":"2026-11-26T17:09:23.325Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-19946.png?v=2","url":"https://exploitbin.com/exploits/EDB-19946","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-19946/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-19946/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"source: https://web.archive.org/web/2000/https://www.securityfocus.com/bid/1232/info\n\nA vulnerability exists in OpenLDAP as shipped with some versions of Linux, including RedHat 6.1 and 6.2, and TurboLinux 6.0.2 and earlier. OpenLDAP will create files in /usr/tmp, which is actually a symbolic link to the world writable /tmp directory. As OpenLDAP does not check for a files existence prior to opening the files in /usr/tmp, it is possible for an attacker to point an appropriately named symbolic link at any file on the filesystem, and cause it to be destroyed.\n\nThis vulnerability will also affect any Unix system with OpenLDAP assuming the following criteria is true:\n1) slapd.conf configures the \"directory\" variable to be /usr/tmp\n2) /usr/tmp is a world writable directory.\n3) slurpd was built with the DEFAULT_SLURPD_REPLICA_DIR set to /usr/tmp\n\n----------------------------------------\n\nln -sf /etc/passwd /usr/tmp/NEXTID","sha256":"92476a09c11d80c2b9e4eb1531bd8c7ab26e1b3952a9442e4f6f634757b09e7e","bytes":929,"fetchedAt":"2026-11-26T17:09:16.173Z","encoding":"utf-8 (display only; download retains original bytes)"}