Secunia Research has discovered a security issue in Bournal, which can be exploited by malicious, local users to perform certain actions with escalated privileges. The script uses temporary files in an insecure manner, which can be exploited to e.g. overwrite arbitrary files via symlink attacks when running the update check via the "--hack_the_gibson" parameter. Version 1.4 is affected.
a3704c22bb29dbe74497c72e16245dccd303f51f27b7e0ceadaa0047b32b368b
======================================================================
Secunia Research 22/02/2010
- Bournal Insecure Temporary Files Security Issue -
======================================================================
Table of Contents
Affected Software....................................................1
Severity.............................................................2
Vendor's Description of Software.....................................3
Description of Vulnerability.........................................4
Solution.............................................................5
Time Table...........................................................6
Credits..............................................................7
References...........................................................8
About Secunia........................................................9
Verification........................................................10
======================================================================
1) Affected Software
* Bournal 1.4
NOTE: Other versions may also be affected.
======================================================================
2) Severity
Rating: Not critical
Impact: Privilege escalation
Where: Local system
======================================================================
3) Vendor's Description of Software
"Bournal is a bash script that allows you to keep a personal,
minimalistic, password-protected journal, log, or diary. It includes
encryption, regexp searches, and a date-sorted list for editing old
entries. Since Bournal is pure bash, it should be easily editable
for the CLI-savvy.".
Product Link:
https://becauseinter.net/bournal/
======================================================================
4) Description of Security Issue
Secunia Research has discovered a security issue in Bournal, which
can be exploited by malicious, local users to perform certain actions
with escalated privileges.
The script uses temporary files in an insecure manner, which can
be exploited to e.g. overwrite arbitrary files via symlink attacks
when running the update check via the "--hack_the_gibson" parameter.
======================================================================
5) Solution
Update to version 1.4.1, which removes the vulnerable functionality.
======================================================================
6) Time Table
12/02/2010 - Vendor notified.
12/02/2010 - Vendor response.
22/02/2010 - Public disclosure.
======================================================================
7) Credits
Discovered by Secunia Research.
======================================================================
8) References
The Common Vulnerabilities and Exposures (CVE) project has assigned
CVE-2010-0118 for the security issue.
======================================================================
9) About Secunia
Secunia offers vulnerability management solutions to corporate
customers with verified and reliable vulnerability intelligence
relevant to their specific system configuration:
https://secunia.com/advisories/business_solutions/
Secunia also provides a publicly accessible and comprehensive advisory
database as a service to the security community and private
individuals, who are interested in or concerned about IT-security.
https://secunia.com/advisories/
Secunia believes that it is important to support the community and to
do active vulnerability research in order to aid improving the
security and reliability of software in general:
https://secunia.com/secunia_research/
Secunia regularly hires new skilled team members. Check the URL below
to see currently vacant positions:
https://secunia.com/corporate/jobs/
Secunia offers a FREE mailing list called Secunia Security Advisories:
https://secunia.com/advisories/mailing_lists/
======================================================================
10) Verification
Please verify this advisory by visiting the Secunia website:
https://secunia.com/secunia_research/2010-6/
Complete list of vulnerability reports published by Secunia Research:
https://secunia.com/secunia_research/
======================================================================