Skip to main content

Incomplete funcional code

Description

There are binary files in the repositories without their corresponding source code, which could be malicious in nature, have vulnerabilities or store sensitive information. Decompiling one of the binaries was found to have unencrypted sensitive information.

Impact

  • Suffer an attack on binary vulnerabilities.
  • Lose code maintainability.

Recommendation

Include the source code of the binaries in the security analysis to determine the existence of vulnerabilities.

Threat

Insider attacker with access to source code.

Expected Remediation Time

⌚ 30 minutes.

Score

Default score using CVSS 3.1. It may change depending on the context of the vulnerability.

Base

  • Attack vector: A
  • Attack complexity: H
  • Privileges required: L
  • User interaction: N
  • Scope: U
  • Confidentiality: L
  • Integrity: L
  • Availability: N

Temporal

  • Exploit code madurity: P
  • Remediation level: W
  • Report confidence: X

Result

  • Vector string: CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N/E:P/RL:W/RC:X
  • Score:
    • Base: 3.7
    • Temporal: 3.4
  • Severity:
    • Base: Low
    • Temporal: Low

Code Examples

Compliant code

All binary files have corresponding source code and there is no sensitive information stored as plain text

Non compliant code

After decompiling an unreferenced binary file in the source code, sensitive information was found

Public const MYPASSWORD ="sensitivePassword";
result = shell("myroute.exe" & MYPASSWORD , vbHide);

Requirements