[Forgot Password]
Login  Register Subscribe

30479

 
 

423868

 
 

250038

 
 

909

 
 

195843

 
 

282

Paid content will be excluded from the download.


Download | Alert*
CWE
view XML

Use of Less Trusted Source

ID: 348Date: (C)2012-05-14   (M)2022-10-10
Type: weaknessStatus: DRAFT
Abstraction Type: Base





Description

The software has two different sources of the same data or information, but it uses the source that has less support for verification, is less trusted, or is less resistant to attack.

Applicable Platforms
Language Class: All

Time Of Introduction

  • Architecture and Design
  • Implementation

Related Attack Patterns

Common Consequences

ScopeTechnical ImpactNotes
Access_Control
 
Bypass protection mechanism
Gain privileges / assume identity
 
An attacker could utilize the untrusted data source to bypass protection mechanisms and gain access to sensitive data.
 

Detection Methods
None

Potential Mitigations
None

Relationships

Related CWETypeViewChain
CWE-348 ChildOf CWE-907 Category CWE-888  

Demonstrative Examples   (Details)

  1. This code attempts to limit the access of a page to certain IP Addresses. It checks the 'HTTP_X_FORWARDED_FOR' header in case an authorized user is sending the request through a proxy.

Observed Examples

  1. CVE-2001-0860 : Product uses IP address provided by a client, instead of obtaining it from the packet headers, allowing easier spoofing.
  2. CVE-2004-1950 : Web product uses the IP address in the X-Forwarded-For HTTP header instead of a server variable that uses the connecting IP address, allowing filter bypass.
  3. BID:15326 : Similar to CVE-2004-1950
  4. CVE-2001-0908 : Product logs IP address specified by the client instead of obtaining it from the packet headers, allowing information hiding.
  5. CVE-2006-1126 : PHP application uses IP address from X-Forwarded-For HTTP header, instead of REMOTE_ADDR.

For more examples, refer to CVE relations in the bottom box.

White Box Definitions
None

Black Box Definitions
None

Taxynomy Mappings

TaxynomyIdNameFit
PLOVER  Use of Less Trusted Source
 
 

References:
None

© SecPod Technologies