A3bz

Results 7 issues of A3bz

# Exploit **Step 1: visit the following page `http://ip:8081/crawl/crawlSource_test.html`** **Step 2: type the information in the picture** ![A@U8GL~U6BX1`)9}JFI$@NB](https://user-images.githubusercontent.com/59257677/152008546-cb7e475e-ea80-4e67-b485-0a49cee93a49.png) # Code Analysis https://github.com/201206030/novel-plus/blob/906e7762c9ae9341e73aa6589fecff9244217d37/novel-crawl/src/main/java/com/java2nb/novel/controller/CrawlController.java#L83 https://github.com/201206030/novel-plus/blob/906e7762c9ae9341e73aa6589fecff9244217d37/novel-common/src/main/java/com/java2nb/novel/core/utils/HttpUtil.java#L35 That means attacker can request intranet resource...

# 审计过程 在`novel-admin`包中的`com.java2nb.common.controller#fileDownload`存在一个未授权的文件下载漏洞 ![P@N`Y@5(@8}$07F2LC)QDWY](https://user-images.githubusercontent.com/59257677/151785698-cc3e6c77-bc6b-4eb3-b9b9-e594bbe1e736.png) 因为代码中直接将`filePath`与固定路径拼接,所以当攻击者可以构造特定路径就行目录穿越。同时,代码中并没有对该接口进行权限验证,所以任意后台用户都可以利用该接口进行下载任意文件。 # 效果演示 1. 先创建一个没有任何权限的用户; 2. 利用该用户账号登录后台; 3. 之后调用该接口传参`filePath=../../etc/passwd&fileName=passwd`(这里文件目录按照系统默认位置`/var/pic`所以需要向上跳跃两层目录) test用户权限: ![WG}_7)6TB~6%A K3`IYME44](https://user-images.githubusercontent.com/59257677/151787702-377336bf-db43-48a3-a4c7-ef2cdcea4a42.png) ![E(1@{J AU3MREB EGKF)`02](https://user-images.githubusercontent.com/59257677/151787703-85ca319f-8461-493f-9628-49ff725d830b.png) ![T )`I6P~JHMYIZ@P @C0{RB](https://user-images.githubusercontent.com/59257677/151787713-d9bfd706-adb0-42ee-b3b4-d1901e2ec053.png) 最终结果: ![5AB~ 1W~VON(BFWPMS~K%MA](https://user-images.githubusercontent.com/59257677/151787796-b05abdf9-78ba-4a08-b77a-06db1719a540.png)

I have tried the following two guides, but it's still not working for me https://kind.sigs.k8s.io/docs/user/loadbalancer/ https://www.thehumblelab.com/kind-and-metallb-on-mac/ So is it any ways to use LoadBalancer on mac m1/m2 ?

kind/support

https://github.com/apache/skywalking/issues/11494

enhancement

**What type of PR is this?** * feat: add e2e test **What this PR does / why we need it**: **Which issue(s) this PR fixes**: Fixes #2423

stale