Skip to main content

Insecure service configuration - Wireless Certificates

Description

Certificates provide a more secure form of network authentication. These could be stealed for a malware for use communications fraud and data exfiltration, furthermore, non-existent or faulty validation of the access point certificate, allows attackers to obtain the challenge response values used in authentication. Attackers could use this data to bruteforce the password hash for the legitimate network.

Impact

  • Falsify business services, corrupting the trust provided by a valid certificate, so that sensitive communications can be decrypted.
  • Exploit for entry due to unsecured or lightly protected wireless access.

Recommendation

Install correct certificates on servers, revoke vulnerable ones and validate new keys and certificates are installed and working.

Threat

Authenticated attacker from the Internet.

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: N
  • Attack complexity: L
  • Privileges required: L
  • User interaction: N
  • Scope: U
  • Confidentiality: L
  • Integrity: L
  • Availability: N

Temporal

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

Result

  • Vector string: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N/E:X/RL:X/RC:X
  • Score:
    • Base: 5.4
    • Temporal: 5.4
  • Severity:
    • Base: Medium
    • Temporal: Medium

Code Examples

Compliant code

All services use secure configurations and protocols

Defaults:
policyProject: 'DefaultPolicies'
Policies:
MQEndpoint: 'MQEndpoint'
remoteDefaultQueueManager: '{MQClientPolicy}:MQEndpoint'
RestAdminListener:
requireClientCert: true
BrokerRegistry:
mqKeyRepository: /startup/ssl/keystore
ResourceManagers: JVM: jvmSystemProperty: '-Dcom.ibm.fxr.passfileenc=n'
Log:
consoleLog: true
outputFormat: 'ibmjson'
AdminLog:
enabled: true
consoleLog: true
Protocol:
tls: enabled
version: 1.2

Non compliant code

A service is configured with poor security protocols, such as ssl

Defaults:
policyProject: 'DefaultPolicies'
Policies:
MQEndpoint: 'MQEndpoint'
remoteDefaultQueueManager: '{MQClientPolicy}:MQEndpoint'
RestAdminListener:
requireClientCert: false
BrokerRegistry:
mqKeyRepository: /startup/ssl/keystore
ResourceManagers: JVM: jvmSystemProperty: '-Dcom.ibm.fxr.passfileenc=n'
Log:
consoleLog: true
outputFormat: 'ibmjson'
AdminLog:
enabled: true
consoleLog: true
Protocol:
ssl: enabled

Requirements

free trial

Search for vulnerabilities in your apps for free with our automated security testing! Start your 21-day free trial and discover the benefits of our Continuous Hacking Machine Plan. If you prefer a full service that includes the expertise of our ethical hackers, don't hesitate to contact us for our Continuous Hacking Squad Plan.