Results 1 to 28 of 28

Thread: Dynamic Image Tags

  1. #1

    Thread Starter
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614

    Dynamic Image Tags

    It is standard for Jupitermedia forums that the forum settings be defaulted to not allowing dynamic image tags. VBForums has had this setting turned on. Until recently, this has not been abused and so I've left the setting alone. The setting has now been turned off because it has been abused.

    Sorry - it is a security issue, so it is now turned off. Feel free to yell and scream at me if you have issue with this -- unless you are one of those that abused it.

    Brad!
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

  2. #2
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985
    Using PHP, people can still make dynamic images so unless you disable the image tags, it can still be done.

    BTW, how did someone abuse it?

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170




    Edit: Hey... whoa
    That sucks. !

  4. #4
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171
    I don't get it... How do you mean abused?


    Has someone helped you? Then you can Rate their helpful post.

  5. #5

    Thread Starter
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614
    Originally posted by mendhak
    Isn't there an option which allows you to enable dynamic images for signatures only?
    Correct. That option was turned off.

    Brad!
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

  6. #6
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    I don't get it.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  7. #7
    Ex-Super Mod'rater Electroman's Avatar
    Join Date
    Sep 2000
    Location
    Newcastle, England
    Posts
    4,349
    , My signiture makes no sense now .
    When your thread has been resolved please edit the original post in the thread ()
    and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.

    When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.

  8. #8
    Ex-Super Mod'rater Electroman's Avatar
    Join Date
    Sep 2000
    Location
    Newcastle, England
    Posts
    4,349
    It isn't possible to limit the file types that the Image Tag works on? or that it only allows vbforums Attachments (obviously would still need to disable php. .
    When your thread has been resolved please edit the original post in the thread ()
    and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.

    When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.

  9. #9

    Thread Starter
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614
    The change should only have hurt you if you are using PHP for the image. The issue is in allowing the img tag to run PHP code.

    You should still be able to link to image files (jpg, gif, etc) with no issue.

    Brad
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

  10. #10
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985
    Originally posted by Spetnik
    What malicious activity can be done by a php? PHP is a server-side script which can do no more to a browser than a jpg or a gif (when used in an image tag).
    They are not conserned about the browser, they are worried about their server.

  11. #11

  12. #12
    Ex-Super Mod'rater Electroman's Avatar
    Join Date
    Sep 2000
    Location
    Newcastle, England
    Posts
    4,349
    Originally posted by kasracer
    They are not conserned about the browser, they are worried about their server.
    The PHP wouldn't be run on their server, apart from their own scripts (e.g. Attachment.php), would it?

    So does this mean I can put me graphics on my own Site then link em over?
    When your thread has been resolved please edit the original post in the thread ()
    and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.

    When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.

  13. #13

  14. #14
    Ex-Super Mod'rater Electroman's Avatar
    Join Date
    Sep 2000
    Location
    Newcastle, England
    Posts
    4,349
    Originally posted by NotLKH

    Its Good to be The King!





    He's just done the same thing I have done. Hosted it myself as a .gif or .jpg file.
    When your thread has been resolved please edit the original post in the thread ()
    and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.

    When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.

  15. #15

    Thread Starter
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614
    I've talked to the system admin and we've agreed to change the setting back.

    We will simply ban individuals that do anything inappropriate. If you are not sure if something is inappropriate, then I suggest asking before doing.

    I'd like to thank those of you that raised the issue in a constructive manner. (Both that caused the setting to be turned off and now to be turned back on.)


    Brad!
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

  16. #16
    Ex-Super Mod'rater Electroman's Avatar
    Join Date
    Sep 2000
    Location
    Newcastle, England
    Posts
    4,349
    woohoo
    When your thread has been resolved please edit the original post in the thread ()
    and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.

    When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.

  17. #17
    Frenzied Member TomGibbons's Avatar
    Join Date
    Feb 2002
    Location
    San Diego, CA Previous Location: UK
    Posts
    1,345
    Originally posted by NotLKH

    Its Good to be The King!





    I just noticed, I've got that book :P Quite good actually

  18. #18
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171
    I still don't get how it was abused and what is inappropriate...


    Has someone helped you? Then you can Rate their helpful post.

  19. #19

    Thread Starter
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614
    I won't post how it was abused because that will just tempt a number of people to try a few things out. No point in tempting anyone .

    Things that are inappropriate can be determined by reading the Acceptable Usage Policy. That details most things.

    Brad!
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

  20. #20
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171
    Could you PM me and tell me? You've really made me curious. And speaking of PMs, is there a limit to how many we can have?


    Has someone helped you? Then you can Rate their helpful post.

  21. #21

    Thread Starter
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614
    There is a limit to the number of PMs. I'm not sure what the setting is. You can always delete old ones to make more room.

    Brad
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

  22. #22
    Big D Danial's Avatar
    Join Date
    Jul 2000
    Location
    ASP.Net Forum
    Posts
    2,877
    Originally posted by brad jones
    There is a limit to the number of PMs. I'm not sure what the setting is. You can always delete old ones to make more room.

    Brad
    I think its around 150/160.
    [VBF RSS Feed]

    There is a great war coming. Are you sure you are on the right side? Atleast I have chosen a side.

    If I have been helpful, Please Rate my Post. Thanks.

    This post was powered by :

  23. #23

  24. #24
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171
    OK, thanks


    Has someone helped you? Then you can Rate their helpful post.

  25. #25
    PowerPoster Pc_Madness's Avatar
    Join Date
    Dec 2001
    Location
    Melbourne, Australia
    Posts
    2,765
    After thinking about it... the only real security issue is that you could track people with it. Anyone seen those images where they tell you what browser and OS your using? The other possibility is that it could perhaps replace the image with something else down the track?

    I don't think it would allow code execution, since all its doing is taking the text from the [IMG] tags, and not actually opening the file itself. Not on the VBF server atleast, and since PHP is server side, you'd have to use include/require, meaning that you should have trouble with PHP code...

    On the page is another matter, as in theory I guess you could put anything you wanted in there, like a frame? Since the file requested would be turned into HTML on the server of the image and then displayed somehow... ?:dunno:


    Anyone want to slap me silly/agree with me? Be it in this thread or otherwise.

    Sorry, I'm making my own PHP forum software, so its an interesting thing to think about.
    Don't Rate my posts.

  26. #26
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    I'll slap you later.

    By doing that, you could execute whatever PHP code you wanted, but the only thing you could return is an image. Returning anything else will give you one of those cool little boxes with a red X in it (well, in IE, anyways).
    My evil laugh has a squeak in it.

    kristopherwilson.com

  27. #27
    PowerPoster Pc_Madness's Avatar
    Join Date
    Dec 2001
    Location
    Melbourne, Australia
    Posts
    2,765
    Originally posted by The Hobo
    I'll slap you later.

    By doing that, you could execute whatever PHP code you wanted, but the only thing you could return is an image. Returning anything else will give you one of those cool little boxes with a red X in it (well, in IE, anyways).
    So what are we worrying about then?

    Me = PHP noob.
    Don't Rate my posts.

  28. #28
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Originally posted by Pc_Madness
    So what are we worrying about then?
    I don't know...Nazis? Did we defeat them yet? Commies?

    Ah, terrorists. That's what it is today.

    Terrorists are hijacking our images.
    My evil laugh has a squeak in it.

    kristopherwilson.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width