Improper Privilege ManagementAffected versions of this package are vulnerable to Improper Privilege Management in its user rename handling, which reserves the __internal_auditor username as a privileged internal account but does not prevent an ordinary user from renaming their own account to that name. A user with an authenticated account can obtain full tree-path access by renaming themselves to __internal_auditor. This requires an authenticated account able to rename its own user on an affected 2.0.8 or 2.0.9 deployment.
How to fix Improper Privilege Management? Upgrade org.apache.iotdb:node-commons to version 2.0.10 or higher.
| |
Directory TraversalAffected versions of this package are vulnerable to Directory Traversal in the updateWritingFileIfNeeded() method of IoTDBFileReceiver, which builds the write target as new File(receiverFileDirWithIdSuffix.get(), fileName) from the incoming pipe transfer fileName without confining it to the receiver directory. An attacker can write arbitrary files anywhere the IoTDB process has write permission by sending a pipe file transfer whose fileName contains .. sequences that escape the intended receiver directory. Exploitation requires the ability to send to the pipe file receiver, and the writes are bounded by the file system permissions of the IoTDB process.
How to fix Directory Traversal? Upgrade org.apache.iotdb:node-commons to version 2.0.10 or higher.
| |