Advisories

BookLore through 2.4.0 Path Traversal via Metadata Values in File Move

Go back
Severity
low
Date
Affecting
  • BookLore <= 2.4.0

CWE
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CVSS
2.3
CVSS V4 Vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Credit
Zachariah Mithani (AploSec)
Description
BookLore through 2.4.0 contains a path traversal vulnerability that allows users with metadata edit permission to relocate book files outside the library root by setting metadata values to '..'. Because PathPatternResolver.sanitize() keeps '..' and FileMoveHelper.generateNewFilePath() never normalizes the joined path or checks it against the library root, the next pattern-based move writes book files and audiobook directories to server-writable locations above the library folder.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.