Osirys has discovered a vulnerability and a security issue in Simple Text-File Login Script, which can be exploited by malicious people to disclose sensitive information and compromise a vulnerable system.
1) Input passed to the "slogin_path" parameter in slogin_lib.inc.php is not properly verified before being used to include files. This can be exploited to include arbitrary files from local and external resources.
2) The "slog_users.txt" file is stored with insecure permissions inside the web root. This can be exploited to gain knowledge of sensitive information (e.g. user names and passwords) by requesting the file directly.
These vulnerabilities are confirmed in version 1.0.6. Other versions may also be affected.
Solution: Edit the source code to ensure that input is properly verified.
Do you have additional information related to this advisory?
Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this
information to firstname.lastname@example.org