sub2api
sub2api copied to clipboard
我搭建的平台没有对外开放却莫名被注册了一个账号,请检查一下是否是系统出现了漏洞
没有对外开放指的是应该是两种意思吧:IP暴露;没有开放注册功能。 如果是后者,那才有问题,前者只是IP被扫到了罢了,太正常了
没有对外开放指的是应该是两种意思吧:IP暴露;没有开放注册功能。 如果是后者,那才有问题,前者只是IP被扫到了罢了,太正常了
@lzy2225846500 当前状态是开放了注册功能,但是我只是把v1通过nginx代理出去了,平台是局域网内部访问的,但是查看记录时注册ip是127.0.0.1,我在想是不是v1接口有漏洞也能直接注册
@Wei-Shaw NEED HELP
确认一下你的nginx配置是不是把应用完整反代出去了,提供下日志和/admin/audit-logs记录看看
确认一下你的nginx配置是不是把应用完整反代出去了,提供下日志和/admin/audit-logs记录看看 @Wei-Shaw
nginx代理(api six)
当时版本及相关异常用户
/admin/audit-logs
-[ RECORD 1 ]-----
id | 1574
created_at | 2026-07-27 06:44:32.708085+08
actor_user_id |
actor_email |
actor_role |
auth_method |
credential_masked |
action | auth.register
method | POST
path | /api/v1/auth/register
request_id | 47976880-d951-4ca3-9580-1d3a244c6cfa
client_ip | 127.0.0.1
user_agent | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36
status_code | 400
latency_ms | 6
request_body | {"email":"[email protected]","password":"***"}
extra | {}
-[ RECORD 2 ]-----
id | 1575
created_at | 2026-07-27 06:44:37.521990+08
actor_user_id |
actor_email |
actor_role |
auth_method |
credential_masked |
action | auth.send_verify_code.create
method | POST
path | /api/v1/auth/send-verify-code
request_id | 926495a0-bd48-46ce-b16a-4f9739042775
client_ip | 127.0.0.1
user_agent | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36
status_code | 200
latency_ms | 10
request_body | {"email":"[email protected]"}
extra | {}
-[ RECORD 3 ]-----
id | 1576
created_at | 2026-07-27 06:44:48.541994+08
actor_user_id |
actor_email |
actor_role |
auth_method |
credential_masked |
action | auth.register
method | POST
path | /api/v1/auth/register
request_id | c4b9279f-f66e-4d74-b92e-a638d434f9d9
client_ip | 127.0.0.1
user_agent | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36
status_code | 200
latency_ms | 331
request_body | {"email":"[email protected]","password":"***","verify_code":"460537"}
extra | {}
-[ RECORD 4 ]-----
id | 1577
created_at | 2026-07-27 06:44:50.526289+08
actor_user_id | 5
actor_email | [email protected]
actor_role | user
auth_method | jwt
credential_masked | Bearer eyJhbG****bOgA
action | keys.create
method | POST
path | /api/v1/keys
request_id | e98ae9c1-f17c-454f-9121-6eb5a4d6e91d
client_ip | 127.0.0.1
user_agent | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36
status_code | 200
latency_ms | 17
request_body | {"group_id":6,"name":"1"}
extra | {}