Skip to content
Info disclosure Write-up Advanced

Huawei TrustZone TCIS Vulnerability

The AuthAckSlave function in Huawei's TrustZone TCIS component logs a heap pointer when GetAuthSession fails, exposing the address in logcat output. An attacker with access to the device logs could learn a heap address, which may aid further exploitation.

blog.impalabs.com

Published on blog.impalabs.com

Alexandre Adamski](https://blog.impalabs.com/authors/alexandre-adamski.html) [{{media:2}}

The author, on blog.impalabs.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a debug log statement that prints a heap pointer on an error path, without stripping or masking the address.

Impact

The leak is rated Low severity; it only discloses a heap address in logs and does not by itself give code execution or data access.

What the attacker needed

Access to device logs (logcat); affected Huawei device

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

TrustZone is a separate, protected part of a phone's processor that runs small security programs called trustlets. This trustlet wrote the memory address of an internal buffer into a log that can be read with a standard Android debugging tool, so someone reading the log learns where things sit in memory. That alone does not break anything, but such addresses can help an attacker plan a deeper attack.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.