Lucene search
K

Byword 2.x File Overwrite

🗓️ 29 Sep 2013 00:00:00Reported by Guillaume RossType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 34 Views

Byword 2.x File Overwrite - Lack of user confirmation and validation leads to data destruction. Affected version 2.x prior to 2.1

Related
Code
ReporterTitlePublishedViews
Family
0day.today
Byword 2.x File Overwrite Vulnerability
2 Oct 201300:00
zdt
CVE
CVE-2013-5725
1 Oct 201300:00
cve
Cvelist
CVE-2013-5725
1 Oct 201300:00
cvelist
EUVD
EUVD-2013-5562
7 Oct 202500:30
euvd
NVD
CVE-2013-5725
1 Oct 201300:55
nvd
Prion
Session fixation
1 Oct 201300:55
prion
RedhatCVE
CVE-2013-5725
22 May 202511:25
redhatcve
securityvulns
[CVE-2013-5725] - Byword for iOS Data Destruction Vulnerability
1 Oct 201300:00
securityvulns
securityvulns
iOS applications multiple seucrity vulnereabilities
30 Dec 201300:00
securityvulns
`- Affected Vendor: http://metaclassy.com/  
- Affected Software: Byword for iOS  
- Affected Version: 2.x prior to 2.1  
- Issue Type: Lack of validation/user confirmation leading to destruction of data  
- Release Date: 29 Sept 2013  
- Discovered by: Guillaume Ross   
- CVE Identifier: CVE-2013-5725  
- Issue Status: Vendor has published version 2.1 which adds a confirmation prompt to prevent the issue.  
  
**Summary**  
  
Byword is a text editor for iOS and OS X that can use iCloud or Dropbox to sync documents.   
  
Byword supports actions through X-URLs on iOS.  
One of the supported action replaces a file with the value passed through the URL.  
  
**Description**  
  
The Replace file action in the affected version does not warn the user and replaces the content of the target file with text specified in the X-URL.  
  
The attacker must know the path to the file, but considering iCloud does not have subfolders, it makes it easier to guess filenames such as "todo.txt" file or an "important.txt" file, or the attacker could have received a file created by the victim using Byword and can guess the filename from the title.   
  
**Impact**  
  
The file can be overwritten and the data could be lost permanently.  
  
**Proof of Concept**  
  
byword://replace?location=icloud&path=&name=Important.txt&text=haha  
  
This URL would replace the content of the file "Important.txt" in the user's iCloud container for Byword with "haha". By using iframes, the attacker can embed this attack in a web page. Safari on iOS will automatically launch Byword and overwrite the file.  
  
<iframe src="byword://replace?location=icloud&path=&name=Important.txt&text=haha"></iframe>  
  
**Response Timeline**  
  
- August 26 2013 - Vendor notified  
- August 26 2013 - Vendor acknowledges vulnerability  
- September 18 2013 - Update released that adds a warning/confirmation screen  
- September 29 2013 - Advisory released  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation