Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

一个漏洞: 需要屏蔽一些高权限的邮箱 #10

Closed
xiaohuilam opened this issue Dec 28, 2020 · 1 comment
Closed

一个漏洞: 需要屏蔽一些高权限的邮箱 #10

xiaohuilam opened this issue Dec 28, 2020 · 1 comment
Assignees

Comments

@xiaohuilam
Copy link

xiaohuilam commented Dec 28, 2020

socket.on('set shortid', function(id) {
onlines.delete(socket.shortid);
socket.shortid = id;
onlines.set(socket.shortid, socket);
socket.emit('shortid', socket.shortid);
})

一个漏洞: 需要屏蔽一些高权限的邮箱, 如下:

  • admin@
  • administrator@
  • webmaster@
  • postmaster@
  • hostmaster@

根据 webtrust 标准, 屏蔽上述邮箱即可.

否则提供临时邮箱的域名, 会存在被冒签 SSL 的高危漏洞.

POC:
image

image

证书地址: https://crt.sh/?id=3842188133

此 SSL 未经过站长授权

@denghongcai
Copy link
Owner

老仓库本意是提供给大家玩用的……
master 分支已添加了默认的限制

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants