{"exploit":{"id":"EDB-20105","name":"Conectiva 4.x/5.x/Red Hat 6.x - pam_console Remote User","description":"Conectiva 4.x/5.x/Red Hat 6.x - pam_console Remote User","cves":["CVE-2000-0668"],"author":"bkw1a","published":"2000-07-27","platform":"linux","type":"remote","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/20105","path":"exploits/linux/remote/20105.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-20105.txt","vulnerabilities":[{"id":"CVE-2000-0668","state":"PUBLISHED","title":null,"titleSource":null,"description":"pam_console PAM module in Linux systems allows a user to access the system console and reboot the system when a display manager such as gdm or kdm has XDMCP enabled.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2000-0668","cvss":{"version":"2.0","baseScore":5,"severity":"medium","vectorString":"AV:N/AC:L/Au:N/C:N/I:N/A:P","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2000-0668"},"updatedAt":"2024-08-08T05:28:40.674Z","retrievedAt":"2026-11-26T12:06:26.838Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-20105.png?v=2","url":"https://exploitbin.com/exploits/EDB-20105","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-20105/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-20105/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"source: https://web.archive.org/web/2000/https://www.securityfocus.com/bid/1513/info\n\nThere is a vulnerability in the Linux pam_console module that could allow an attacker to remotely reboot the workstation or perform other actions limited to local users.\nIf a workstation is configured to use a display manager (xdm, gdm, kdm, etc.) AND has XDMCP enabled, it is possible for a user who logs in remotely to use Xnest -query to log in on display :1, which is recognized as the system console. This vulnerability is only present if the workstation is running a graphical login manager such as gdm or kdm.\n\n----------------------------------------\n\n\nThis description of how to replicate the problem was posted to RedHat's Bugzilla bug-tracking system by bkw1a@virginia.edu:\n1. ssh into the server, allowing ssh to establish a secure forwarded X connection. If no one else is using display number 0, you'll end up with a DISPLAY value of \"host:0.0\".\n2. Invoke \"Xnest -query localhost\" on the remote machine.\n3. Log in, starting a Gnome session.\n4. From the Gnome panel, select \"logout\". You'll be presented with the option of shutting down or rebooting the server.\n\nAnother description, this one from Andreas Hasenack <andreas@conectiva.com.br>:\n1. login remotely (X -broadcast) (have gdm, kdm, whatever running with XDMCP enabled somewhere)\n2. after login, start Xnest with -broadcast again, for example\n3. login again, now you will be using display :1\n4. this is treated as a console user, and commands only available to console users can be run, such as reboot.","sha256":"f8cafd612bcccdfd951f6ead8079aace5d940d268f4d126669e6c94c6d3160c4","bytes":1560,"fetchedAt":"2026-11-26T12:06:26.656Z","encoding":"utf-8 (display only; download retains original bytes)"}