Giter VIP home page Giter VIP logo

Comments (10)

lantis1008 avatar lantis1008 commented on August 19, 2024 1

Further, haserl filters these variables into the environment. So if there's a vulnerability it likely exists at that level. I recently tested this after an issue was raised against the diagnostics plug-in

from gargoyle.

lantis1008 avatar lantis1008 commented on August 19, 2024

Gargoyle is a single user system. You must have already broken the root password to be able to run any page that does this.
If you've got root, you've got an easier attack route than this.

I get it, but I think the attack vector is kind of moot here.
Do you agree? I'm happy to hear you out.

from gargoyle.

weakbytes avatar weakbytes commented on August 19, 2024
  1. Thanks You for fast reply.
  2. Sometimes run_commands and/or get_password_cookie are running before login succeeds.
  3. it seems safe as long as gargoyle_session_validator does not "print" the user-input, otherwise it gets executed, 'echo' do prints.
  4. haserl even can translate from url encoded values giving more "obfuscation" to user-payload.

from gargoyle.

weakbytes avatar weakbytes commented on August 19, 2024

Further, haserl filters these variables into the environment. So if there's a vulnerability it likely exists at that level. I recently tested this after an issue was raised against the diagnostics plug-in

did You tried to inject both url encoded (full encoding and not full) data?

from gargoyle.

lantis1008 avatar lantis1008 commented on August 19, 2024

I'll run some further validations.
If you have a proof of concept vulnerability that you believe works, feel free to send it to me privately via the forum or you can email me. That way any potential vulnerability is disclosed privately and can be fixed before details are released.

from gargoyle.

weakbytes avatar weakbytes commented on August 19, 2024

I'll run some further validations. If you have a proof of concept vulnerability that you believe works, feel free to send it to me privately via the forum or you can email me. That way any potential vulnerability is disclosed privately and can be fixed before details are released.

Thank You,

from gargoyle.

weakbytes avatar weakbytes commented on August 19, 2024

Gargoyle router is no longer in my possession. But this part of code catch my eyes

from gargoyle.

lantis1008 avatar lantis1008 commented on August 19, 2024

I was not able to produce any RCE type issues with this code.
IF a line existed like eval $(echo "$HTTP_USER_AGENT") then yes it is very easy to trigger lots of unwanted behaviour.
However passing it into the gargoyle_session_validator appears to do no harm, and I was not able to come up with any syntax that would escape out of this subshell and execute anything meaningful.

From my point of view, this issue should now be closed, and if in the future yourself (or anyone else) is able to produce some kind of vulnerability of this nature, please do let me know! Thanks for raising the issue!

from gargoyle.

lantis1008 avatar lantis1008 commented on August 19, 2024

@weakbytes please close this issue

from gargoyle.

weakbytes avatar weakbytes commented on August 19, 2024

Closed

from gargoyle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.