what you don't know can hurt you

Intuit QuickBooks Desktop 2017 Credential Disclosure

Intuit QuickBooks Desktop 2017 Credential Disclosure
Posted Jan 6, 2017
Authored by Maxim Tomashevich

Intuit QuickBooks Desktop 2017 suffers from an administrative credential disclosure vulnerability.

tags | exploit, info disclosure
MD5 | d12ccff0c3297997beb6a40c7fe38f81

Intuit QuickBooks Desktop 2017 Credential Disclosure

Change Mirror Download
+ Credits: Maxim Tomashevich
+ Website: https://www.thegrideon.com/quickbooks-forensics.html
+ Details: https://www.thegrideon.com/qb-internals-2017.html


QuickBooks Desktop
versions: 2017

Vulnerability Type:
Admin Credentials Disclosure

Vulnerability Details:
Unattended access is the major security risk in QuickBooks Integrated Applications infrastructure: it is necessary to store user credentials in order to grant any application unattended access to the database content.

In QuickBooks version 2017 .SDU files are used to store Apps, access rights and login details for QBW files. These .SDU files are stored in one location: "C:\Users\<username>\Intuit\QuickBooks\<hash based subfolder name>\<qbw file name>.sdu".
In contrast to prior versions of QuickBooks 2017 .sdu files are easy to locate and App named "ScheduledReports" is added to .QBW/.SDU records with full Admin data access rights on every .QBW startup! This heavily worsens the situation overall. As far as 2017 R4 update there is no way to permanently remove or disable it.

.SDU file format is very simple:
DWORD dDataSize;
BYTE bEncryptedData[dDataSize];

Data is decrypted with Windows API CryptUnprotectData and 22 bytes constant BYTE OptionalEntropy[22] = {0xA2, 0x48, 0x2E, 0x45, 0x12, 0x9B, 0xC7, 0xAB, 0xE2, 0xAB, 0xC6, 0x63, 0xCA, 0x76, 0xDD, 0xE0, 0x70, 0xB4, 0x84, 0x11, 0x6, 0};

Decrypted data contain two blocks:
180 bytes BASE64 encoded data digital signature.
and BASE64 encoded set of Apps records such as:


, where XX..XX is 21 bytes Admin Password Hash used as SQL Anywhere engine password, base for sensitive data decryption, etc.

Thus in QuickBooks 2017 US or CA (upto R4 so far) database "Admin" level credentials are available by default to anybody with current Windows login details for all QBW files created.
Due to fixed location used to store .sdu files they can also be used to collect login credentials for remote access to QB database with a simplest malicious script/code.

Severity Level:

Permission is hereby granted for the redistribution of this text, provided that it is not altered except by reformatting, and that due credit is given. Permission is explicitly given for insertion in vulnerability databases and similar, provided that due credit is given to the author. The author is not responsible for any misuse of the information contained herein and prohibits any malicious use of all security related information or exploits by the author or elsewhere.


RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

August 2019

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

Top Authors In Last 30 Days

File Tags


packet storm

© 2019 Packet Storm. All rights reserved.

Security Services
Hosting By