CWE-673 范围定义的外部影响

admin 2021年11月6日14:51:08评论77 views字数 1368阅读4分33秒阅读模式

CWE-673 范围定义的外部影响

External Influence of Sphere Definition

结构: Simple

Abstraction: Class

状态: Draft

被利用可能性: unkown

基本描述

The product does not prevent the definition of control spheres from external actors.

扩展描述

Typically, a product defines its control sphere within the code itself, or through configuration by the product's administrator. In some cases, an external party can change the definition of the control sphere. This is typically a resultant weakness.

相关缺陷

  • cwe_Nature: ChildOf cwe_CWE_ID: 664 cwe_View_ID: 1000 cwe_Ordinal: Primary

常见的影响

范围 影响 注释
Other Other

示例代码

Consider a blog publishing tool, which might have three explicit control spheres: the creation of articles, only accessible to a "publisher;" commenting on articles, only accessible to a "commenter" who is a registered user; and reading articles, only accessible to an anonymous reader. Suppose that the application is deployed on a web server that is shared with untrusted parties. If a local user can modify the data files that define who a publisher is, then this user has modified the control sphere. In this case, the issue would be resultant from another weakness such as insufficient permissions.

In Untrusted Search Path (CWE-426), a user might be able to define the PATH environment variable to cause the product to search in the wrong directory for a library to load. The product's intended sphere of control would include "resources that are only modifiable by the person who installed the product." The PATH effectively changes the definition of this sphere so that it overlaps the attacker's sphere of control.

Notes

文章来源于互联网:scap中文网

  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin
admin
  • 本文由 发表于 2021年11月6日14:51:08
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                   CWE-673 范围定义的外部影响http://cn-sec.com/archives/613641.html

发表评论

匿名网友 填写信息