what you don't know can hurt you

Amazon FireOS 5.3.6.3 Man-In-The-Middle

Amazon FireOS 5.3.6.3 Man-In-The-Middle
Posted Feb 8, 2019
Authored by Yakov Shafranovich | Site wwws.nightwatchcybersecurity.com

Amazon FireOS version 5.3.6.3 suffers from a content injection vulnerability via man-in-the-middle attacks.

tags | exploit
advisories | CVE-2019-7399
MD5 | 1a284043fc3a753271daae7de2a0f5f6

Amazon FireOS 5.3.6.3 Man-In-The-Middle

Change Mirror Download
[Original blog post here:
https://wwws.nightwatchcybersecurity.com/2019/02/07/content-injection-in-amazon-kindles-fireos-cve-2019-7399/]

SUMMARY

The FireOS operating system provided by Amazon for Fire tablet devices
can be injected with malicious content by an MITM attacker. An
attacker can also capture the serial number of the device. The root
cause is lack of HTTPS for legal content (terms of use and privacy
policy) within the settings section.

The issue was discovered in FireOS v5.3.6.3 and fixed by the vendor in
v5.3.6.4 that was released in November 2018. Devices will
automatically update to the latest version. CVE-2019-7399 has been
assigned by MITRE to track this issue.

VULNERABILITY DETAILS

FireOS is an operating system provided by Amazon for the Fire tablet
devices. It is a customized fork of Android. While monitoring network
traffic on a test device, we observed that several calls from the
settings section (terms of use and privacy policy) are done without
HTTPS and can be injected with malicious content by an MITM attacker.
It is also possible for the attacker to observe this traffic and
capture the serial number (DSN) of the device.

Steps To Replicate (on Ubuntu 18.04)
1. Install the application on the Android device but do not start it.
2. Install dnsmasq and NGINX on the Linux host:
sudo apt-get install dnsmasq nginx

3. Modify the /etc/hosts file to add the following entry to map the
domain name to the Linux host:
192.168.1.x www.kindle.com
192.168.1.x kindle.com

4. Configure /etc/dnsmasq.conf file to listen on the IP and restart DNSMASQ
listen-address=192.168.1.x
sudo /etc/init.d/dnsmasq restart

5. Add a file with malicious content (you may need to use sudo):
cd /var/www/html
mkdir support
echo powned >support/privacy
echo powned >support/terms

6. Modify the settings on the Kindle device to static, set DNS to
point to a192.168.1.xa. AT THIS POINT a the Kindle device will resolve
DNS against the Linux computer and serve the large servers file

7. Tap aSettingsa, aLegal and Compliancea, and tap either aTerms of
Usea or aPrivacya. Observe injected content.

VENDOR RESPONSE AND MITIGATION

The issue was discovered in FireOS v5.3.6.3 and fixed by the vendor in
v5.3.6.4 that was released in November 2018. Devices will
automatically update to the latest version. MITRE assigned
CVE-2019-7399 to track this issue.

REFERENCES

Amazon tracking # PO135449968
CVE-ID: CVE-2019-7399

CREDITS

Text of the advisory written by Yakov Shafranovich.

TIMELINE

2018-09-03: Initial report to the vendor
2018-09-04: Report triaged and being reviewed by the vendor
2018-09-17: Communication from the vendor, issue still being reviewed
2019-01-10: Fix confirmed, communication regarding disclosure
2019-01-30: Vendor pinged about CVE assignment
2019-02-03: Draft advisory sent for review
2019-02-04: CVE issued by MITRE
2019-02-07: Public disclosure; minor syntax updates


Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

April 2019

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    21 Files
  • 2
    Apr 2nd
    35 Files
  • 3
    Apr 3rd
    21 Files
  • 4
    Apr 4th
    16 Files
  • 5
    Apr 5th
    15 Files
  • 6
    Apr 6th
    1 Files
  • 7
    Apr 7th
    2 Files
  • 8
    Apr 8th
    23 Files
  • 9
    Apr 9th
    19 Files
  • 10
    Apr 10th
    15 Files
  • 11
    Apr 11th
    14 Files
  • 12
    Apr 12th
    11 Files
  • 13
    Apr 13th
    2 Files
  • 14
    Apr 14th
    5 Files
  • 15
    Apr 15th
    14 Files
  • 16
    Apr 16th
    19 Files
  • 17
    Apr 17th
    19 Files
  • 18
    Apr 18th
    8 Files
  • 19
    Apr 19th
    4 Files
  • 20
    Apr 20th
    5 Files
  • 21
    Apr 21st
    1 Files
  • 22
    Apr 22nd
    4 Files
  • 23
    Apr 23rd
    0 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2019 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close