Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Vulnerabilities / Threats

End of Bibblio RCM includes -->
10/27/2021
03:15 PM
Connect Directly
Twitter
LinkedIn
RSS
E-Mail

Read Between the Lines: Finding Flaws in EPUB Reading Systems

Security researchers who analyzed 97 free EPUB reading applications found half are not compliant with security recommendations.

How secure is your e-reader? A team of security researchers curious to explore e-book security analyzed free EPUB reading applications and physical e-readers and found that many apps don't comply with security recommendations, and some popular applications are vulnerable to exploitation.

Gertjan Franken and Tom Van Goethem are doctoral students with imec-DistriNet at KU Leuven in Belgium. Their project began when Franken was thinking about his own e-reader and how e-books are rendered. Some initial reading revealed the subject area shared commonalities with other topics they were exploring as part of their Ph.D. program, so they decided to dig into it.

"I discussed with Tom, and we quickly discovered that a lot of these applications aren't actually as secure as they should be," Franken says in an interview with Dark Reading.

Their investigation consisted of a large-scale study in which they analyzed 97 free EPUB reading applications across seven platforms, as well as five physical e-readers.

"Before, there was not really that much existing research on the security of e-book reading systems," Van Goethem says. "We had to explore the way we wanted to evaluate these reading systems from scratch."

The team analyzed the EPUB applications using a semi-automated framework they built. They found half of the applications weren't compliant with security recommendations of the EPUB specification. For example, a malicious e-book can leak local file system information in 16 of the applications they evaluated.

While semi-automation helped speed things up, Franken notes it also let some vulnerabilities slip through the cracks. When an attacker chooses a target, he says, they analyze an application themselves. For this reason, the team decided to add manual evaluation to their research.

"I also think this is the more interesting part … we found some interesting vulnerabilities there," Franken adds.

To demonstrate the severity of their results, Franken and Van Goethem performed three case studies in which they manually exploited the most popular application on three platforms: Amazon Kindle, Apple Books, and the browser extension EPUBReader for Chrome and Firefox.

One of the flaws with the largest impact was in the browser extension, Van Goethem notes. A bug he says is tricky to exploit could let an attacker access information on other sites the target is logged onto, if the victim uploads a malicious EPUB application to the extension. He says they contacted the author of the application, though it's unclear if a patch will be released.

Lessons Learned
One of the key takeaways from this study was the importance of getting automation right, says Franken. They wanted to make the evaluation as seamless as possible, but this was difficult for the EPUB applications because their interfaces are quite different, he explains. Ironing out the issues with automation was the most challenging aspect of the project so far, he says.

The sheer size of the study was another challenge, adds Van Goethem. Because they are in academic research, their main goal often is to fully understand an entire ecosystem. This means when they conduct a study, it's typically at a large scale to include as much of the ecosystem as possible.

"That's why we didn't just analyze the e-reading systems themselves, but we also tried to collect a very large set of EPUBs from the wild," he says. The team downloaded different torrents, and obtained EPUBs in ways other users might try to obtain them, and analyzed those to see if there was any malicious activity.

Fortunately, he says, they didn't find any ongoing attacks but given their findings, it seems this might be an area for attackers to possibly move into in the future.

Franken and Van Goethem will present their research at Black Hat Europe in an upcoming talk entitled "How Your E-book Might Be Reading You: Exploiting EPUB Reading Systems."

Kelly Sheridan is the Staff Editor at Dark Reading, where she focuses on cybersecurity news and analysis. She is a business technology journalist who previously reported for InformationWeek, where she covered Microsoft, and Insurance & Technology, where she covered financial ... View Full Bio

Comment  | 
Print  | 
More Insights
//Comments
Newest First  |  Oldest First  |  Threaded View
Edge-DRsplash-10-edge-articles
I Smell a RAT! New Cybersecurity Threats for the Crypto Industry
David Trepp, Partner, IT Assurance with accounting and advisory firm BPM LLP,  7/9/2021
News
Attacks on Kaseya Servers Led to Ransomware in Less Than 2 Hours
Robert Lemos, Contributing Writer,  7/7/2021
Commentary
It's in the Game (but It Shouldn't Be)
Tal Memran, Cybersecurity Expert, CYE,  7/9/2021
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Current Issue
Black Hat USA 2022 Attendee Report
Black Hat attendees are not sleeping well. Between concerns about attacks against cloud services, ransomware, and the growing risks to the global supply chain, these security pros have a lot to be worried about. Read our 2022 report to hear what they're concerned about now.
Flash Poll
How Enterprises are Developing Secure Applications
How Enterprises are Developing Secure Applications
Recent breaches of third-party apps are driving many organizations to think harder about the security of their off-the-shelf software as they continue to move left in secure software development practices.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2022-35942
PUBLISHED: 2022-08-12
Improper input validation on the `contains` LoopBack filter may allow for arbitrary SQL injection. When the extended filter property `contains` is permitted to be interpreted by the Postgres connector, it is possible to inject arbitrary SQL which may affect the confidentiality and integrity of data ...
CVE-2022-35949
PUBLISHED: 2022-08-12
undici is an HTTP/1.1 client, written from scratch for Node.js.`undici` is vulnerable to SSRF (Server-side Request Forgery) when an application takes in **user input** into the `path/pathname` option of `undici.request`. If a user specifies a URL such as `http://127.0.0.1` or `//127.0.0.1` ```js con...
CVE-2022-35953
PUBLISHED: 2022-08-12
BookWyrm is a social network for tracking your reading, talking about books, writing reviews, and discovering what to read next. Some links in BookWyrm may be vulnerable to tabnabbing, a form of phishing that gives attackers an opportunity to redirect a user to a malicious site. The issue was patche...
CVE-2022-35956
PUBLISHED: 2022-08-12
This Rails gem adds two methods to the ActiveRecord::Base class that allow you to update many records on a single database hit, using a case sql statement for it. Before version 0.1.3 `update_by_case` gem used custom sql strings, and it was not sanitized, making it vulnerable to sql injection. Upgra...
CVE-2022-35943
PUBLISHED: 2022-08-12
Shield is an authentication and authorization framework for CodeIgniter 4. This vulnerability may allow [SameSite Attackers](https://canitakeyoursubdomain.name/) to bypass the [CodeIgniter4 CSRF protection](https://codeigniter4.github.io/userguide/libraries/security.html) mechanism with CodeIgniter ...