Giter Club home page Giter Club logo

cve-2019-6440's Introduction

CVE-2019-6440:

Tested products: Zemana antimalware v.2.74.2.150 & Zemana antilogger v.2.74.204.150.
Fixed since v.2.74.2.664
About vulnerability:
This vulnerability allowed attackers to get SYSTEM privileges on target machines without user interaction.
Requirements:
1. Attacker must be able to intercept and change content of the POST request to the URL "POST /api/client/settings/"
2. No physical access to the target pc is required.
Details:
Tested products use plain HTTP to receive updates, so attacker can easily change version and appropriate URL to the arbitrary values.
Let’s change update URL to the our simple shell (Pic.0 & appx.1).
Update params
Pic.0
Antivirus says that digital signature of the update can’t be verified. But it allows user to run it ANYWAY(pic.1). If user has user rights then it can get SYSTEM rights(Pic.2).

Warning
Pic.1. Do you want to run some unknown file with SYSTEM rights?

System rights
Pic.2. System rights.

But this alert can be bypassed.
To do it we need copy of the ZAM.exe digital signature. Let’s clone it(Security directory).
Now we have our shell with clone of the Zemana digital signature and it can’t be checked by the OS. (Pic 3).

Incorrect signature
Pic.3. Incorrect signature.

Now let’s see on the function "ZmnAppUpdater".
We see that result of the SignatureChecker is IGNORED. (Pic.4)

Lost check
Pic.4. Lost check.

EAX = 0x80096010 (TRUST_E_BAD_DIGEST).
Demo-gif
Pic.5. Demo-gif.

Links:

CVE-2019-6440

cve-2019-6440's People

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.