or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing
xxxxxxxxxx
CVE-2017-9993
FFmpeg + AVI + HLS
交大 BambooFox
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →FB: 交大網路安全策進會
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →CA Lee
calee@cs.nctu.edu.tw
交大資工 大三
交大 BambooFox 新手村成員
Outline
SSRF
Server Side Request Forgery
常見漏洞
歷史
CVE-2016-1897 、 CVE-2016-1898
结合 SSRF ,我們可以把 file:// 讀到的內容發送出来
Concept
一般視訊上傳
source
Attack
source
PoC
(這裡我們是生成 output.mp4 檔案)
/etc/passwd
以影片的方式,呈現出來漏洞觸發流程
繞過工具
AVI
FFmpeg
HLS
HLS sample
參考: TechBridge 技術共筆部落格
細節內容
sxcurity.avi
m3u8
XBin
所以我們希望 m3u8 playlist 可以長這樣
希望形成的格式
但是 FFmpeg 對 body 作檢查了,不允許 data 宣告
#EXT-X-KEY
0000000000000000
然後用 FFmpeg 做轉檔
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →Patch
另一種攻擊
https://hackerone.com/reports/243470
So
新的生成檔會長這樣:

- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →Conclusion
Reference
演講
ppt
NCTU CSC
BambooFox
成立宗旨
簡介
CTF
社群效應
學習資源
BambooFox 讀書會