CVE-2023-23598: Arbitrary file read from GTK drag and drop on Linux

Published Jan 17, 2023
·
Updated

Due to the Firefox GTK wrapper code's use of text/plain for drag data and GTK treating all text/plain MIMEs containing file URLs as being dragged a website could arbitrarily read a file via a call to DataTransfer.setData.

External Reference: https://www.mozilla.org/en-US/security/advisories/mfsa2023-02/#CVE-2023-23598

Other sources

Due to the Firefox GTK wrapper code's use of text/plain for drag data and GTK treating all text/plain MIMEs containing file URLs as being dragged a website could arbitrarily read a file via a call to DataTransfer.setData. This vulnerability affects Firefox < 109, Firefox ESR < 102.7, and Thunderbird < 102.7.

— MITRE

Due to the Firefox GTK wrapper code's use of text/plain for drag data and GTK treating all text/plain MIMEs containing file URLs as being dragged a website could arbitrarily read a file via a call to <code>DataTransfer.setData</code>. This vulnerability affects Firefox < 109, Thunderbird < 102.7, and Firefox ESR < 102.7.

Due to the Firefox GTK wrapper code's use of text/plain for drag data and GTK treating all text/plain MIMEs containing file URLs as being dragged a website could arbitrarily read a file via a call to DataTransfer.setData.

Due to the Thunderbird GTK wrapper code's use of text/plain for drag data and GTK treating all text/plain MIMEs containing file URLs as being dragged a website could arbitrarily read a file via a call to DataTransfer.setData.

— Mozilla

Affected Software

17 affected componentsFixes available
Mozilla Firefox<109.0
Mozilla Firefox ESR<102.7
Mozilla Thunderbird<102.7
Mozilla Firefox ESR<102.7
102.7
Mozilla Firefox<109
109
Mozilla Thunderbird<102.7
102.7
alpine/firefox-esr<102.7.0-r0
102.7.0-r0
alpine/firefox-esr<102.7.0-r0
102.7.0-r0
alpine/firefox-esr<102.7.0-r0
102.7.0-r0
alpine/firefox-esr<102.7.0-r0
102.7.0-r0
alpine/firefox-esr<102.7.0-r0
102.7.0-r0
alpine/firefox-esr<102.7.0-r0
102.7.0-r0
debian/firefox
159.0.1-1
debian/firefox-esr
140.12.0esr-1~deb12u1153.6.0esr-1~deb12u2140.15.0esr-1~deb13u1153.6.0esr-1~deb13u1153.5.1esr-1153.6.0esr-1
debian/thunderbird
1:140.12.0esr-1~deb12u11:153.6.0esr-1~deb12u21:140.12.0esr-1~deb13u11:153.6.0esr-1~deb13u11:153.5.0esr-11:153.6.0esr-1
redhat/firefox<102.7
102.7
redhat/thunderbird<102.7
102.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Firefox ESR to a version that resolves this vulnerability.

    Fixed in 102.7
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 109
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 102.7
  4. Upgrade

    Upgrade alpine/firefox-esr to a version that resolves this vulnerability.

    Fixed in 102.7.0-r0
  5. Upgrade

    Upgrade debian/firefox to a version that resolves this vulnerability.

    Fixed in 159.0.1-1
  6. Upgrade

    Upgrade debian/firefox-esr to a version that resolves this vulnerability.

    Fixed in 140.12.0esr-1~deb12u1Fixed in 153.6.0esr-1~deb12u2Fixed in 140.15.0esr-1~deb13u1Fixed in 153.6.0esr-1~deb13u1Fixed in 153.5.1esr-1Fixed in 153.6.0esr-1
  7. Upgrade

    Upgrade debian/thunderbird to a version that resolves this vulnerability.

    Fixed in 1:140.12.0esr-1~deb12u1Fixed in 1:153.6.0esr-1~deb12u2Fixed in 1:140.12.0esr-1~deb13u1Fixed in 1:153.6.0esr-1~deb13u1Fixed in 1:153.5.0esr-1Fixed in 1:153.6.0esr-1
  8. Upgrade

    Upgrade redhat/firefox to a version that resolves this vulnerability.

    Fixed in 102.7
  9. Upgrade

    Upgrade redhat/thunderbird to a version that resolves this vulnerability.

    Fixed in 102.7

Event History

Jan 17, 2023
CVE Published
12:00 AM
Data Sourced
via Mozilla·12:00 AM
DescriptionSeverityAffected Software
Jan 19, 2023
Data Sourced
via Red Hat·11:35 AM
DescriptionSeverityAffected Software
Jun 2, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
05:15 PM
Description
Data Sourced
via NVD·05:15 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is vulnerability CVE-2023-23598?

Vulnerability CVE-2023-23598 is a security flaw in the Firefox GTK wrapper code that allows a website to read arbitrary files.

2

Which software versions are affected by CVE-2023-23598?

This vulnerability affects Firefox versions earlier than 109 and Thunderbird versions earlier than 102.7.

3

How can a website exploit CVE-2023-23598?

A website can exploit CVE-2023-23598 by using a call to DataTransfer.setData to read files.

4

How severe is vulnerability CVE-2023-23598?

Vulnerability CVE-2023-23598 is considered high severity with a CVSS score of 6.5.

5

Are there any references for more information about CVE-2023-23598?

Yes, you can find more information about CVE-2023-23598 at the following references: [Link 1](https://www.mozilla.org/security/advisories/mfsa2023-01/), [Link 2](https://www.mozilla.org/security/advisories/mfsa2023-03/), [Link 3](https://www.mozilla.org/security/advisories/mfsa2023-02/).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203