Skip to content
0
  • Categories
  • 讨论
  • Recent
  • Tags
  • Popular
  • Top
  • Users
  • Categories
  • 讨论
  • Recent
  • Tags
  • Popular
  • Top
  • Users
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
JIKE社区
  1. 首页
  2. 讨论区
  3. 技术专区
  4. 建站经验
  5. 如有乐享博客第三方登录模块漏洞

如有乐享博客第三方登录模块漏洞

Scheduled Pinned Locked Moved 建站经验
2 Posts 2 Posters 812 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • 我是小马甲~M Online
    我是小马甲~M Online
    我是小马甲~
    🤫
    wrote on last edited by
    #1

    2020年2月14日更新:马甲一直以为是由于app key泄露导致的没恶意注册,换了新的APP KEY后 还是不行。看来确实是代码上处理有问题!

    ——————————————————

    最近如有乐享,用户注册模块被恶意注册了5000多用户。
    初步判断是利用微博三方登陆 渠道注册进来的。
    目前还不知道是 微博三方登陆有问题?还是多梦主题三方登陆有漏洞。

    马甲后台查了一下,从7月份开始就有人陆续利用BUG注册
    ,最近貌似注册的最疯狂~ 可能漏洞被公开了

    临时解决方案:

    1)关闭微博三方登陆
    2)在Nginx修改一下配置,将微博登陆回调返回403

    location ~/?connect=weibo* {
        return 403;
      }
    

    3)清理现有垃圾数据。
    查看从微博注册进来用户的ID

    select DISTINCT user_id  from wp_usermeta where meta_key ='dmeng_avatar' and meta_value='weibo'
    
    #新建临时表a  只有一个字段ID
    insert into a select DISTINCT user_id  from wp_usermeta where meta_key ='dmeng_avatar' and meta_value='weibo' and user_id >26900
    

    user_id >26900 如有博客ID大于 26900 的都可能存在异常,自己根据数据去判断

    #查询所有注册过平台但是没有登录过的账号

    select ID from wp_users where id not in (select distinct user_id from wp_usermeta where meta_key='dmeng_latest_login')
    

    删除数据!(提前备份,免的出错!!!)
    delete from wp_users where id in (SELECT id from a)
    delete from wp_usermeta where user_id in (SELECT id from a)

    唐宋元明清,连排小工兵!

    1 Reply Last reply
    0
    • X Offline
      X Offline
      xhm18649
      🍌
      wrote on last edited by
      #2

      老哥,漏洞披露一下,分析下具体漏洞。

      1 Reply Last reply
      0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      Popular Topics - 热门主题
      • Win 10 RTM Enterprise Volume:MAK
        M
        mtp100
        2
        2
        54

      • Windows 11 专业版在线激活密钥
        M
        mtp100
        2
        2
        97

      • 湖南移动任意套餐开永久15元200G2000分钟
        2
        1
        867

      • 高性价比人生指南
        2
        1
        227

      • 中国联通:米粉卡送40G流量包
        W
        wg198300
        1
        3
        146

      • 求推荐一张大流量卡,资费划算一点,年抛那种
        ‍H
        ‍
        1
        3
        331


      • Login

      • Don't have an account? Register

      • Login or register to search.
      夸克网盘
      5,253 topics
      百度网盘
      4,874 topics
      连续剧
      1,667 topics
      国产剧
      1,087 topics
      美剧
      805 topics
      动作片
      788 topics
      恐怖片
      591 topics
      动画片
      427 topics

      199

      Online

      44.8k

      Users

      51.5k

      Topics

      127.7k

      Posts
      • First post
        Last post