Skip to content

Commit e377eeb

Browse files
committed
C++: More 'adversary' -> 'malicious user' and related doc changes.
1 parent 11074b6 commit e377eeb

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

cpp/ql/src/Security/CWE/CWE-497/ExposedSystemData.qhelp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"qhelp.dtd">
44
<qhelp>
55
<overview>
6-
<p>Exposing system data or debugging information may help a malicious user learn about the system and form an attack plan. An attacker can use error messages that reveal technologies, operating systems, and product versions to tune their attack against known vulnerabilities in these technologies.</p>
6+
<p>Exposing system data or debugging information may help a malicious user learn about the system and form an attack plan. An attacker can use error messages that reveal technologies, operating systems, and product versions to tune their attack against known vulnerabilities in the software.</p>
77

88
<p>This query finds locations where system configuration information might be revealed to a remote user.</p>
99
</overview>
@@ -13,7 +13,7 @@
1313
</recommendation>
1414

1515
<example>
16-
<p>In this example the value of the <code>PATH</code> environment variable is revealed in full to the user when a particular error occurs. This might reveal information such as the software installed on your system to an adversary who does not have legitimate access to that information.</p>
16+
<p>In this example the value of the <code>PATH</code> environment variable is revealed in full to the user when a particular error occurs. This might reveal information such as the software installed on your system to a malicious user who does not have legitimate access to that information.</p>
1717

1818
<sample src="ExposedSystemDataIncorrect.cpp" />
1919

cpp/ql/src/Security/CWE/CWE-497/ExposedSystemData.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @name Exposure of system data to an unauthorized control sphere
33
* @description Exposing system data or debugging information helps
4-
* an adversary learn about the system and form an
4+
* a malicious user learn about the system and form an
55
* attack plan.
66
* @kind path-problem
77
* @problem.severity warning

cpp/ql/src/Security/CWE/CWE-497/PotentiallyExposedSystemData.qhelp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
"qhelp.dtd">
44
<qhelp>
55
<overview>
6-
<p>Exposing system data or debugging information may help an adversary to learn about the system and form an attack plan. An attacker can use error messages that reveal technologies, operating systems, and product versions to tune their attack against known vulnerabilities in these technologies.</p>
6+
<p>Exposing system data or debugging information may help a malicious user learn about the system and form an attack plan. An attacker can use error messages that reveal technologies, operating systems, and product versions to tune their attack against known vulnerabilities in the software.</p>
77

88
<p>This query finds locations where system configuration information that is particularly sensitive might be revealed to a user.</p>
99
</overview>
1010

1111
<recommendation>
12-
<p>Do not expose system configuration information to users. Be wary of the difference between information that could be helpful to users, and unnecessary details that could be useful to an adversary.</p>
12+
<p>Do not expose system configuration information to users. Be wary of the difference between information that could be helpful to users, and unnecessary details that could be useful to a malicious user.</p>
1313
</recommendation>
1414

1515
<example>
16-
<p>In this example the value of the <code>PATH</code> environment variable is revealed in full to the user when a particular error occurs. This might reveal information such as the software installed on your system to an adversary who does not have legitimate access to that information.</p>
16+
<p>In this example the value of the <code>PATH</code> environment variable is revealed in full to the user when a particular error occurs. This might reveal information such as the software installed on your system to a malicious user who does not have legitimate access to that information.</p>
1717

1818
<sample src="PotentiallyExposedSystemDataIncorrect.cpp" />
1919

cpp/ql/src/Security/CWE/CWE-497/SystemData.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import semmle.code.cpp.commons.Environment
77
import semmle.code.cpp.ir.dataflow.TaintTracking
88

99
/**
10-
* An element that should not be exposed to an adversary.
10+
* An element that should not be exposed to a malicious user.
1111
*/
1212
abstract class SystemData extends Element {
1313
/**

0 commit comments

Comments
 (0)