Home / Vulnerability Database / 1C : Execute stored procedure
1C

1C : Execute stored procedure

Classification

OWASP Top 10 2013
OWASP Top 10 2017
OWASP Top 10 2021
PCI DSS 4.0
CWE/SANS Top 25 2011
CWE/SANS Top 25 2021

Overview

The application uses a stored SQL procedure sp_executesql, using arguments that may have originated from an untrusted source. An adversary can alter the parameters of the job.

Executing commands obtained from data from an untrusted source is insecure.

Command injection vulnerabilities are divided into two categories:

  1. An attacker modifies the command itself;
  2. An attacker replaces the value of the environment variables, which implicitly changes the semantics of the command being executed.

In the given case, the application is prone to the vulnerability of the first type.

A possible attack scenario:

  1. The application receives input data from an untrusted source, for example, user input;
  2. The data obtained is used as a part of the string that defines the command;
  3. Execution of the command gives an attacker the privileges which he did not previously possess.
MEDIUM

DerScanner Severity Score

Do you want to fix 1C : Execute stored procedure in your application?

See also

1C

1C : Null encryption key

1C

1C : Memory leak

1C

1C : Empty encryption key