{"id":17970,"date":"2020-07-31T17:07:25","date_gmt":"2020-07-31T15:07:25","guid":{"rendered":"http:\/\/cornay.co.za\/wp\/?p=17970"},"modified":"2020-07-31T17:07:25","modified_gmt":"2020-07-31T15:07:25","slug":"this-week-in-security-twilio-pogotv-and-boothole","status":"publish","type":"post","link":"http:\/\/cornay.co.za\/wp\/2020\/07\/31\/this-week-in-security-twilio-pogotv-and-boothole\/","title":{"rendered":"This Week in Security: Twilio, PogoTV, and BootHole"},"content":{"rendered":"<p>Twilio, the cloud provider for all things telecom, had <a href=\"https:\/\/www.theregister.com\/2020\/07\/21\/twilio_javascript_sdk_code_injection\/\" target=\"_blank\" rel=\"noopener noreferrer\">an embarrassing security fail<\/a> a couple weeks ago. The problem was the Amazon S3 bucket that Twilio was using to host part of their public facing content. The bucket was configured for public read-write access. Anyone could use the Amazon S3 API to make changes to the files stored there.<\/p>\n<p>The files in question were protected behind Cloudflare&#8217;s CDN, but there&#8217;s a catch to Cloudflare&#8217;s service. If you know the details of the service behind Cloudflare, it can often be interacted with directly. In many cases, knowing the IP address of the server being protected is enough to totally bypass Cloudflare altogether. In this case, the service behind the CDN is Amazon&#8217;s S3. Any changes made to the files there are picked up by the CDN.<\/p>\n<p>Someone discovered the insecure bucket, and modified a Javascript file that is distributed as part of the Twilio JS SDK. That modification was initially described as &#8220;non-malicious&#8221;, but in <a href=\"https:\/\/www.twilio.com\/blog\/incident-report-taskrouter-js-sdk-july-2020\" target=\"_blank\" rel=\"noopener noreferrer\">the official incident report<\/a>, Twilio states that the injected code is part of an ongoing magecart campaign carried out against misconfigured S3 buckets.<br \/>\n<span id=\"more-424481\"><\/span><\/p>\n<h3>IPTV<\/h3>\n<p>We received a story on the Hackaday tip line this week about a Swedish IPTV service, Pongo IPTV. This report is unsubstantiated, but there seems to be something going on. At the very least, pongotv.com is currently returning a Cloudflare error, &#8220;This website is using a security service to protect itself from online attacks.&#8221;<\/p>\n<p><img decoding=\"async\" data-attachment-id=\"424710\" data-permalink=\"https:\/\/hackaday.com\/2020\/07\/31\/this-week-in-security-twilio-pogotv-and-boothole\/screenshot_20200729_222941\/\" data-orig-file=\"http:\/\/cornay.co.za\/wp\/wp-content\/uploads\/2020\/07\/1_Screenshot_20200729_222941-e1596082329749.png\" data-orig-size=\"1330,613\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"pogotv_error\" data-image-description=\"\" data-medium-file=\"http:\/\/cornay.co.za\/wp\/wp-content\/uploads\/2020\/07\/Screenshot_20200729_222941-e1596082329749.png\" data-large-file=\"http:\/\/cornay.co.za\/wp\/wp-content\/uploads\/2020\/07\/1_Screenshot_20200729_222941-e1596082329749.png?w=800\" class=\"size-medium wp-image-424710 alignright lazyload\" data-src=\"http:\/\/cornay.co.za\/wp\/wp-content\/uploads\/2020\/07\/Screenshot_20200729_222941-e1596082329749.png\" alt=\"\" width=\"400\" height=\"184\" data-srcset=\"http:\/\/cornay.co.za\/wp\/wp-content\/uploads\/2020\/07\/1_Screenshot_20200729_222941-e1596082329749.png 1330w, http:\/\/cornay.co.za\/wp\/wp-content\/uploads\/2020\/07\/1_Screenshot_20200729_222941-e1596082329749.png?resize=250,115 250w, http:\/\/cornay.co.za\/wp\/wp-content\/uploads\/2020\/07\/1_Screenshot_20200729_222941-e1596082329749.png?resize=400,184 400w, http:\/\/cornay.co.za\/wp\/wp-content\/uploads\/2020\/07\/1_Screenshot_20200729_222941-e1596082329749.png?resize=800,369 800w\" data-sizes=\"(max-width: 400px) 100vw, 400px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 400px; --smush-placeholder-aspect-ratio: 400\/184;\" \/><\/p>\n<p>A pair of <a href=\"https:\/\/www.youtube.com\/watch?v=z_dDftxwP5A\" target=\"_blank\" rel=\"noopener noreferrer\">Youtube<\/a> <a href=\"https:\/\/www.youtube.com\/watch?v=Kuep5wssBjY\" target=\"_blank\" rel=\"noopener noreferrer\">videos<\/a> seem to show access to the Pongotv backend, with exposed customer records and all. At this point, I have to stress that this is unconfirmed report. Based on the details provided, it sounds like the tipster is actually pretty closely involved with this story, maybe even part of the group that is behind the attack.<\/p>\n<h3>Espressif<\/h3>\n<p>[Lukas Bachschwell] <a href=\"https:\/\/lbsfilm.at\/blog\/wpa2-authenticationmode-downgrade-in-espressif-microprocessors\" target=\"_blank\" rel=\"noopener noreferrer\">discovered a flaw in the Espressif SDK<\/a>, tracked as CVE-2020-12638. The vulnerability affects devices running firmware built using the vulnerable SDK. In short, it allows a WiFi authentication downgrade attack. An attacker can inject WiFi traffic, and cause the device to connect to a network under the attacker&#8217;s control. For devices used for home automation and other similar applications, this could have serious consequences. Patches are available for most of the devices the SDK covers, and the rest are in progress.<\/p>\n<h3>D-Link Patches EOL Device<\/h3>\n<p>In response to a series of flaws discovered by researchers at Loginsoft, <a href=\"https:\/\/supportannouncement.us.dlink.com\/announcement\/publication.aspx?name=SAP10169\" target=\"_blank\" rel=\"noopener noreferrer\">D-Link has released firmware for an End Of Life device<\/a>, and strongly recommends taking other affected devices out of use. The devices in question are the DAP-1520, DAP-1522, and DIR-816L.<\/p>\n<p>These aren&#8217;t sophisticated vulnerabilities, either. The first one, <a href=\"https:\/\/research.loginsoft.com\/vulnerability\/classic-stack-based-buffer-overflow-in-dlink-firmware-dap-1520\/\" target=\"_blank\" rel=\"noopener noreferrer\">CVE-2020-15892<\/a>, can be triggered as simply as sending 256 characters as the password when trying to log in. The login page limits this value to 15 characters, but that limit is imposed on the client side, so an attacker can easily manipulate the raw response to bypass that restriction. The longer than expected password overflows the buffer and crashes the device. A proper exploit would take it over instead.<\/p>\n<p>Another rather trivial vulnerability, <a href=\"https:\/\/research.loginsoft.com\/vulnerability\/multiple-vulnerabilities-discovered-in-the-d-link-firmware-dir-816l\/\" target=\"_blank\" rel=\"noopener noreferrer\">CVE-2020-15893<\/a>, affects the DIR-816L. A shell command can be injected in a UPnP request, as simply as including a semicolon in the packet data. When the UPnP request is parsed, part of it is used as a command line option. Including a semicolon breaks out of that command, and allows executing arbitrary commands.<\/p>\n<h3>Sharepoint<\/h3>\n<p>CVE-2020-1147 is a vulnerability in Microsoft Sharepoint, found by multiple researchers independently. [Steven] at Source Insight <a href=\"https:\/\/srcincite.io\/blog\/2020\/07\/20\/sharepoint-and-pwn-remote-code-execution-against-sharepoint-server-abusing-dataset.html\" target=\"_blank\" rel=\"noopener noreferrer\">wrote up an explainer on the bug<\/a>, and concludes that at its heart it&#8217;s a deserialization issue. In this case, it seems that functions of a DataSet object, like <code>parse()<\/code> and <code>Deserialize()<\/code> can be overwritten by the data being deserialized.<\/p>\n<p>The write-up includes a full PoC, so consider this vulnerability to fully weaponized already. Patches are available, so be sure to go take care of your Sharepoint servers. [Steven] also suggests that we&#8217;ll see this same bug show up in other .net applications, as the DataSet object has been considered safe for outside data.<\/p>\n<h3>Apple Research Device<\/h3>\n<p><a href=\"https:\/\/twitter.com\/benhawkes\/status\/1286021329246801921\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" data-attachment-id=\"424931\" data-permalink=\"https:\/\/hackaday.com\/2020\/07\/31\/this-week-in-security-twilio-pogotv-and-boothole\/apple_security-2\/\" data-orig-file=\"http:\/\/cornay.co.za\/wp\/wp-content\/uploads\/2020\/07\/1_apple_security-1.png\" data-orig-size=\"550,274\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"apple_security\" data-image-description=\"\" data-medium-file=\"http:\/\/cornay.co.za\/wp\/wp-content\/uploads\/2020\/07\/apple_security-1.png\" data-large-file=\"http:\/\/cornay.co.za\/wp\/wp-content\/uploads\/2020\/07\/1_apple_security-1.png?w=550\" class=\"alignright wp-image-424931 size-medium lazyload\" data-src=\"http:\/\/cornay.co.za\/wp\/wp-content\/uploads\/2020\/07\/apple_security-1.png\" alt=\"\" width=\"400\" height=\"199\" data-srcset=\"http:\/\/cornay.co.za\/wp\/wp-content\/uploads\/2020\/07\/1_apple_security-1.png 550w, http:\/\/cornay.co.za\/wp\/wp-content\/uploads\/2020\/07\/1_apple_security-1.png?resize=250,125 250w, http:\/\/cornay.co.za\/wp\/wp-content\/uploads\/2020\/07\/1_apple_security-1.png?resize=400,199 400w\" data-sizes=\"(max-width: 400px) 100vw, 400px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 400px; --smush-placeholder-aspect-ratio: 400\/199;\" \/><\/a>Apple has announced <a href=\"https:\/\/developer.apple.com\/programs\/security-research-device\/\" target=\"_blank\" rel=\"noopener noreferrer\">the Security Research Device<\/a>, a modified iPhone that is essentially rooted from the factory. The program is run in typical Apple fashion, as the device is only loaned out 12 months at a time, and comes with a list of do&#8217;s and don&#8217;ts. I have to wonder if this is a response to <a href=\"https:\/\/googleprojectzero.blogspot.com\/2019\/10\/ktrw-journey-to-build-debuggable-iphone.html\" target=\"_blank\" rel=\"noopener noreferrer\">Google Project Zero&#8217;s debuggable iPhone work<\/a> from last year. Either way, Project Zero&#8217;s [Ben Hawkes] has already issued a statement that the program is likely a non-starter for them, as their strict 90 day disclosure policy is incompatible with the sign-up agreement.<\/p>\n<h3>BootHole<\/h3>\n<p>And finally, <a href=\"https:\/\/eclypsium.com\/2020\/07\/29\/theres-a-hole-in-the-boot\/\" target=\"_blank\" rel=\"noopener noreferrer\">a vulnerability in Grub2 was released this week, BootHole<\/a>. This vulnerability is a rather simple buffer overflow bug that can be triggered by a malicious <code>grub.cfg<\/code> file. You might point out that if an attacker can modify <code>grub.cfg<\/code>, isn&#8217;t the system hopelessly compromised anyway? This is a fair question, and the answer is yes, usually. What makes BootHole novel is that taking control of Grub in this way can allow a Secure Boot bypass. This will obviously be more important in specific use cases where Secure Boot is a key part of security.<\/p>\n<p>This vulnerability was found by [eclypsium], who privately disclosed the bug to the Grub developers and other upstream projects. Patches are available, so make sure to get those updates installed. If your curious about the in-depth details, the writeup and <a href=\"https:\/\/eclypsium.com\/wp-content\/uploads\/2020\/07\/Theres-a-Hole-in-the-Boot.pdf\" target=\"_blank\" rel=\"noopener noreferrer\">PDF<\/a> on BootHole are quite detailed, go check them out.<\/p>\n<p>source <a href=\"https:\/\/hackaday.com\/2020\/07\/31\/this-week-in-security-twilio-pogotv-and-boothole\/\">https:\/\/hackaday.com\/2020\/07\/31\/this-week-in-security-twilio-pogotv-and-boothole\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Twilio, the cloud provider for all things telecom, had an embarrassing security fail a couple weeks ago. The problem was the Amazon S3 bucket that Twilio was using to host part of their public facing content. The bucket was configured<span class=\"ellipsis\">&hellip;<\/span><\/p>\n<div class=\"read-more\"><a href=\"http:\/\/cornay.co.za\/wp\/2020\/07\/31\/this-week-in-security-twilio-pogotv-and-boothole\/\">Read more <span class=\"screen-reader-text\">This Week in Security: Twilio, PogoTV, and BootHole<\/span><span class=\"meta-nav\"> &#8250;<\/span><\/a><\/div>\n<p><!-- end of .read-more --><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[66],"tags":[],"class_list":["post-17970","post","type-post","status-publish","format-standard","hentry","category-news-2"],"_links":{"self":[{"href":"http:\/\/cornay.co.za\/wp\/wp-json\/wp\/v2\/posts\/17970","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/cornay.co.za\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/cornay.co.za\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/cornay.co.za\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/cornay.co.za\/wp\/wp-json\/wp\/v2\/comments?post=17970"}],"version-history":[{"count":1,"href":"http:\/\/cornay.co.za\/wp\/wp-json\/wp\/v2\/posts\/17970\/revisions"}],"predecessor-version":[{"id":17980,"href":"http:\/\/cornay.co.za\/wp\/wp-json\/wp\/v2\/posts\/17970\/revisions\/17980"}],"wp:attachment":[{"href":"http:\/\/cornay.co.za\/wp\/wp-json\/wp\/v2\/media?parent=17970"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/cornay.co.za\/wp\/wp-json\/wp\/v2\/categories?post=17970"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/cornay.co.za\/wp\/wp-json\/wp\/v2\/tags?post=17970"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}